# CVE-2025-38418: remoteproc: core: Release rproc-\>clean\_table after rproc\_attach() fails

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-07-25T14:05:42.836Z
- **Modified:** 2026-06-17T09:16:49.210Z

## Who should check

- Anyone running Linux \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< bf876fd9dc2d0c9fff96aef63d4346719f206fc1; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 3ee979709e16a83b257bc9a544a7ff71fd445ea9; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< f4ef928ca504c996f9222eb2c59ac6d6eefd9c75; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 6fe9486d709e4a60990843832501ef6556440ca7; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< bcd241230fdbc6005230f80a4f8646ff5a84f15b
- Anyone running Linux 5.13

## Description

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

remoteproc: core: Release rproc-\>clean\_table after rproc\_attach() fails

When rproc-\>state = RPROC\_DETACHED is attached to remote processor
through rproc\_attach(), if rproc\_handle\_resources() returns failure,
then the clean table should be released, otherwise the following
memory leak will occur.

unreferenced object 0xffff000086a99800 (size 1024):
comm "kworker/u12:3", pid 59, jiffies 4294893670 (age 121.140s)
hex dump (first 32 bytes):
00 00 00 00 00 80 00 00 00 00 00 00 00 00 10 00 ............
00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 ............
backtrace:
 \[\<000000008bbe4ca8\>\] slab\_post\_alloc\_hook+0x98/0x3fc
 \[\<000000003b8a272b\>\] \_\_kmem\_cache\_alloc\_node+0x13c/0x230
 \[\<000000007a507c51\>\] \_\_kmalloc\_node\_track\_caller+0x5c/0x260
 \[\<0000000037818dae\>\] kmemdup+0x34/0x60
 \[\<00000000610f7f57\>\] rproc\_boot+0x35c/0x56c
 \[\<0000000065f8871a\>\] rproc\_add+0x124/0x17c
 \[\<00000000497416ee\>\] imx\_rproc\_probe+0x4ec/0x5d4
 \[\<000000003bcaa37d\>\] platform\_probe+0x68/0xd8
 \[\<00000000771577f9\>\] really\_probe+0x110/0x27c
 \[\<00000000531fea59\>\] \_\_driver\_probe\_device+0x78/0x12c
 \[\<0000000080036a04\>\] driver\_probe\_device+0x3c/0x118
 \[\<000000007e0bddcb\>\] \_\_device\_attach\_driver+0xb8/0xf8
 \[\<000000000cf1fa33\>\] bus\_for\_each\_drv+0x84/0xe4
 \[\<000000001a53b53e\>\] \_\_device\_attach+0xfc/0x18c
 \[\<00000000d1a2a32c\>\] device\_initial\_probe+0x14/0x20
 \[\<00000000d8f8b7ae\>\] bus\_probe\_device+0xb0/0xb4
 unreferenced object 0xffff0000864c9690 (size 16):

## Affected and fixed versions

- Linux: \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< bf876fd9dc2d0c9fff96aef63d4346719f206fc1; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 3ee979709e16a83b257bc9a544a7ff71fd445ea9; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< f4ef928ca504c996f9222eb2c59ac6d6eefd9c75; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 6fe9486d709e4a60990843832501ef6556440ca7; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< bcd241230fdbc6005230f80a4f8646ff5a84f15b (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38418. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38418.md
Affected: Linux >= 9dc9507f1880fb6225e3e058cb5219b152cbf198, < 3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c; >= 9dc9507f1880fb6225e3e058cb5219b152cbf198, < bf876fd9dc2d0c9fff96aef63d4346719f206fc1; >= 9dc9507f1880fb6225e3e058cb5219b152cbf198, < 3ee979709e16a83b257bc9a544a7ff71fd445ea9; >= 9dc9507f1880fb6225e3e05…
Fixed in: Linux 3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c, Linux 3ee979709e16a83b257bc9a544a7ff71fd445ea9, Linux 6fe9486d709e4a60990843832501ef6556440ca7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38418 being exploited?

There is no confirmed exploitation: CVE-2025-38418 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38418?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38418?

Linux \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< bf876fd9dc2d0c9fff96aef63d4346719f206fc1; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 3ee979709e16a83b257bc9a544a7ff71fd445ea9; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< f4ef928ca504c996f9222eb2c59ac6d6eefd9c75; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< 6fe9486d709e4a60990843832501ef6556440ca7; \>= 9dc9507f1880fb6225e3e058cb5219b152cbf198, \< bcd241230fdbc6005230f80a4f8646ff5a84f15b; Linux 5.13.

### Is there a fix for CVE-2025-38418?

Yes. Fixed in Linux 3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c, Linux 3ee979709e16a83b257bc9a544a7ff71fd445ea9, Linux 6fe9486d709e4a60990843832501ef6556440ca7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38418?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3562c09feeb8d8e9d102ce6840e8c7d57a7feb5c>
- patch: <https://git.kernel.org/stable/c/bf876fd9dc2d0c9fff96aef63d4346719f206fc1>
- patch: <https://git.kernel.org/stable/c/3ee979709e16a83b257bc9a544a7ff71fd445ea9>
- patch: <https://git.kernel.org/stable/c/f4ef928ca504c996f9222eb2c59ac6d6eefd9c75>
- patch: <https://git.kernel.org/stable/c/6fe9486d709e4a60990843832501ef6556440ca7>
- patch: <https://git.kernel.org/stable/c/bcd241230fdbc6005230f80a4f8646ff5a84f15b>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38418>

HTML: <https://flawdb.com/CVE-2025-38418> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38418>
