CVE-2025-21856Use After Free in Linux

CWE-416Use After Free25 documents8 sources
Severity
7.8HIGHNVD
OSV5.5
EPSS
0.0%
top 88.90%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 12
Latest updateSep 18

Description

In the Linux kernel, the following vulnerability has been resolved: s390/ism: add release function for struct device According to device_release() in /drivers/base/core.c, a device without a release function is a broken device and must be fixed. The current code directly frees the device after calling device_add() without waiting for other kernel parts to release their references. Thus, a reference could still be held to a struct device, e.g., by sysfs, leading to potential use-after-free iss

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages6 packages

NVDlinux/linux_kernel6.36.6.80+3
Debianlinux/linux_kernel< 6.12.17-1+1
Ubuntulinux/linux_kernel< 6.8.0-78.78
CVEListV5linux/linux8c81ba20349daf9f7e58bb05a0c12f4b71813a30940d15254d2216b585558bcf36312da50074e711+4

Patches

🔴Vulnerability Details

11
OSV
linux-azure, linux-azure-6.8, linux-azure-nvidia vulnerabilities2025-09-03
OSV
linux-gke, linux-hwe-6.8, linux-nvidia, linux-nvidia-6.8, linux-nvidia-lowlatency, linux-raspi vulnerabilities2025-08-28
OSV
linux-raspi-realtime vulnerabilities2025-08-26
OSV
linux-oracle, linux-oracle-6.8 vulnerabilities2025-08-21
OSV
linux-aws-6.8, linux-gcp, linux-gcp-6.8, linux-gkeop, linux-ibm, linux-ibm-6.8 vulnerabilities2025-08-20

📋Vendor Advisories

12
Ubuntu
Linux kernel (Azure) vulnerabilities2025-09-03
Ubuntu
Linux kernel vulnerabilities2025-08-28
Ubuntu
Linux kernel (Raspberry Pi Real-time) vulnerabilities2025-08-26
Ubuntu
Linux kernel (Oracle) vulnerabilities2025-08-21
Ubuntu
Linux kernel vulnerabilities2025-08-20

💬Community

1
Bugzilla
CVE-2025-47906 os/exec: Unexpected paths returned from LookPath in os/exec2025-09-18
CVE-2025-21856 — Use After Free in Linux | cvebase