CVE-2025-21856

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21856
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21856.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-21856
Downstream
Related
Published
2025-03-12T10:15:18Z
Modified
2025-03-13T21:18:08Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

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.17-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}