CVE-2025-21856 Details
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 issues if a proper release function is not set.
A vulnerability in the Linux kernel's s390/ism component has been addressed by adding a proper release function for device structures. Previously, the code would immediately free the device after adding it, without allowing other parts of the kernel to release their references first. This could lead to use-after-free issues, especially if a reference was still held by sysfs, creating potential stability problems.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0505ff2936f166405d81d0d454a81d9c14124344 | kernel.org | Patch |
| https://git.kernel.org/stable/c/915e34d5ad35a6a9e56113f852ade4a730fb88f0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/940d15254d2216b585558bcf36312da50074e711 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e26e8ac27351f457091459a0a355bacd06d5bb2b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.3, < 6.6.80 >= 6.7, < 6.12.17 >= 6.13, < 6.13.5 6.14 rc1 6.14 rc2 6.14 rc3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 13, 2025 | Initial Analysis | [email protected] |
| Mar 12, 2025 | New CVE Received | kernel.org |