CVE-2025-38418

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38418
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38418.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38418
Downstream
Related
Published
2025-07-25T14:15:33Z
Modified
2025-08-12T21:47:48.730259Z
Summary
[none]
Details

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

remoteproc: core: Release rproc->cleantable after rprocattach() fails

When rproc->state = RPROCDETACHED is attached to remote processor through rprocattach(), if rprochandleresources() 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>] slabpostallochook+0x98/0x3fc [<000000003b8a272b>] _kmemcacheallocnode+0x13c/0x230 [<000000007a507c51>] _kmallocnodetrackcaller+0x5c/0x260 [<0000000037818dae>] kmemdup+0x34/0x60 [<00000000610f7f57>] rprocboot+0x35c/0x56c [<0000000065f8871a>] rprocadd+0x124/0x17c [<00000000497416ee>] imxrprocprobe+0x4ec/0x5d4 [<000000003bcaa37d>] platformprobe+0x68/0xd8 [<00000000771577f9>] reallyprobe+0x110/0x27c [<00000000531fea59>] _driverprobedevice+0x78/0x12c [<0000000080036a04>] driverprobedevice+0x3c/0x118 [<000000007e0bddcb>] _deviceattachdriver+0xb8/0xf8 [<000000000cf1fa33>] busforeachdrv+0x84/0xe4 [<000000001a53b53e>] _deviceattach+0xfc/0x18c [<00000000d1a2a32c>] deviceinitialprobe+0x14/0x20 [<00000000d8f8b7ae>] busprobedevice+0xb0/0xb4 unreferenced object 0xffff0000864c9690 (size 16):

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.147-1

Affected versions

6.*

6.1.27-1
6.1.37-1
6.1.38-1
6.1.38-2~bpo11+1
6.1.38-2
6.1.38-3
6.1.38-4~bpo11+1
6.1.38-4
6.1.52-1
6.1.55-1~bpo11+1
6.1.55-1
6.1.64-1
6.1.66-1
6.1.67-1
6.1.69-1~bpo11+1
6.1.69-1
6.1.76-1~bpo11+1
6.1.76-1
6.1.82-1
6.1.85-1
6.1.90-1~bpo11+1
6.1.90-1
6.1.94-1~bpo11+1
6.1.94-1
6.1.98-1
6.1.99-1
6.1.106-1
6.1.106-2
6.1.106-3
6.1.112-1
6.1.115-1
6.1.119-1
6.1.123-1
6.1.124-1
6.1.128-1
6.1.129-1
6.1.133-1
6.1.135-1
6.1.137-1
6.1.139-1
6.1.140-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.35-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.35-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}