CVEFinder.io

CVE-2026-64447

⚠️ high
🔍 Scan for this CVE
Summary

In the Linux kernel, the following vulnerability has been resolved: staging: media: ipu7: fix double-free and use-after-free in error paths In both ipu7_isys_init() and ipu7_psys_init(), pdata is allocated and then passed to ipu7_bus_initialize_device(), which stores it in adev->pdata. The ipu7_bus_release() function frees adev->pdata when the device's reference count drops to zero. Two error paths incorrectly call kfree(pdata) after the device teardown has already freed it: 1. When ipu7_mmu

Description

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

staging: media: ipu7: fix double-free and use-after-free in error paths

In both ipu7_isys_init() and ipu7_psys_init(), pdata is allocated and
then passed to ipu7_bus_initialize_device(), which stores it in
adev->pdata. The ipu7_bus_release() function frees adev->pdata when the
device's reference count drops to zero.

Two error paths incorrectly call kfree(pdata) after the device teardown
has already freed it:

1. When ipu7_mmu_init() fails: put_device() is called, which drops the
reference count to zero and triggers ipu7_bus_release() ->
kfree(pdata). The subsequent kfree(pdata) is a double-free.

2. When ipu7_bus_add_device() fails: it calls auxiliary_device_uninit()
internally, which calls put_device() -> ipu7_bus_release() ->
kfree(pdata). The subsequent kfree(pdata) is again a double-free.

Note that the kfree(pdata) when ipu7_bus_initialize_device() itself
fails is correct, because in that case auxiliary_device_init() failed
and the release function was never set up, so pdata must be freed
manually.

Additionally, the error code was not saved before calling put_device(),
causing ERR_CAST() to dereference the already-freed adev pointer when
constructing the return value. Fix this by saving the error from
dev_err_probe() before put_device() and returning ERR_PTR() instead.

Remove the redundant kfree(pdata) calls and fix the use-after-free in
the return values of the two affected error paths.

CVSS Score
7.8
High
EPSS Score
0.1
Exploit Probability
Published Date
2026-07-25
First Seen: 2026-07-31
📊 Relative Risk Intelligence

This CVE is Moderate Risk - more severe than 68.5% of all 360,548 vulnerabilities in our database.

#113,554
Above average severity
Severity Percentile
Last Modified 2026-09-03
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE IDs (Weakness Types)

📦 Affected Products 2

🔗 References 3

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-64453 ⚠️ high 7.8 0.1 In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: fix disconnect UAF in client tear... 2026-07-25
CVE-2026-64452 ⚠️ high 7.1 0.2 In the Linux kernel, the following vulnerability has been resolved: 6lowpan: fix NHC entry use-after-free on error path... 2026-07-25
CVE-2026-64451 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: tracing: Fix NULL pointer dereference in func_set_f... 2026-07-25
CVE-2026-64450 ⛔ critical 9.1 0.5 In the Linux kernel, the following vulnerability has been resolved: tipc: fix out-of-bounds read in broadcast Gap ACK b... 2026-07-25
CVE-2026-64449 ⚠️ high 7.8 0.1 In the Linux kernel, the following vulnerability has been resolved: staging: vme_user: bound slave read/write to the ke... 2026-07-25
CVE-2026-64448 ⚠️ high 8.2 0.5 In the Linux kernel, the following vulnerability has been resolved: smb: client: restrict implied bcc[0] exemption to r... 2026-07-25
These CVEs affect the same products