Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-38300 — debian-linux

🟡 CVSS 5.5 — Medium ✅ No Known Exploit CWE-401 NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

crypto: sun8i-ce-cipher - fix error handling in sun8i_ce_cipher_prepare()

In the Linux kernel, the following vulnerability has been resolved:

crypto: sun8i-ce-cipher - fix error handling in sun8i_ce_cipher_prepare()

Fix two DMA cleanup issues on the error path in sun8i_ce_cipher_prepare():

1] If dma_map_sg() fails for areq->dst, the device driver would try to free

DMA memory it has not allocated in the first place. To fix this, on the

"theend_sgs" error path, call dma unmap only if the corresponding dma

map was successful.

2] If the dma_map_single() call for the IV fails, the device driver would

try to free an invalid DMA memory address on the "theend_iv" path:

------------[ cut here ]------------

DMA-API: sun8i-ce 1904000.crypto: device driver tries to free an invalid DMA memory address

WARNING: CPU: 2 PID: 69 at kernel/dma/debug.c:968 check_unmap+0x123c/0x1b90

Modules linked in: skcipher_example(O+)

CPU: 2 UID: 0 PID: 69 Comm: 1904000.crypto- Tainted: G O 6.15.0-rc3+ #24 PREEMPT

Tainted: [O]=OOT_MODULE

Hardware name: OrangePi Zero2 (DT)

pc : check_unmap+0x123c/0x1b90

lr : check_unmap+0x123c/0x1b90

...

Call trace:

check_unmap+0x123c/0x1b90 (P)

debug_dma_unmap_page+0xac/0xc0

dma_unmap_page_attrs+0x1f4/0x5fc

sun8i_ce_cipher_do_one+0x1bd4/0x1f40

crypto_pump_work+0x334/0x6e0

kthread_worker_fn+0x21c/0x438

kthread+0x374/0x664

ret_from_fork+0x10/0x20

---[ end trace 0000000000000000 ]---

To fix this, check for !dma_mapping_error() before calling

dma_unmap_single() on the "theend_iv" path.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2025-38300 is classified as CWE-401: Memory Leak. Allocated memory is never released, so long-running or repeated operations gradually exhaust it.

Affected software

CVE-2025-38300 is recorded against 3 packages.

  • debian-linux
  • kernel (from 6.13.0 up to 6.15.3)
  • linux-kernel (from 6.13 up to 6.15.3)

Timeline and source

Published on 10 July 2025 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
lists.debian.org

CVE-2025-38300 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE CWE-401
Public Exploit ✅ No
Source NVD
Published 2025-07-10
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
debian-linux
kernel 6.13.0 6.15.3
linux-kernel 6.13 6.15.3

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in debian-linux

CVE-2025-38300 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.