CVE-2025-21856

s390/ism: add release function for struct device

HIGH
7.8
CVSS Score
Published: March 12, 2025 at 09:42 AM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.13.56.3 ≤ v < 6.12.176.3 ≤ v < 6.13.56.3 ≤ v < 6.146.3 ≤ v < 6.6.806.7 ≤ v < 6.12.176.14 rc16.14 rc26.14 rc38c81ba20349daf9f7e58bb05a0c12f4b71813a30
Vendor states this is fixed in 0505ff2936f166405d81d0d454a81d9c14124344 (fixed)
Vendor states this is fixed in 915e34d5ad35a6a9e56113f852ade4a730fb88f0 (fixed)
Vendor states this is fixed in 940d15254d2216b585558bcf36312da50074e711 (fixed)
Vendor states this is fixed in e26e8ac27351f457091459a0a355bacd06d5bb2b (fixed)
Vendor states this is fixed in 6.12.17 (unaffected)
Vendor states this is fixed in 6.13.5 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.80 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0505ff2936f166405d81d0d454a81d9c14124344
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/915e34d5ad35a6a9e56113f852ade4a730fb88f0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/940d15254d2216b585558bcf36312da50074e711
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e26e8ac27351f457091459a0a355bacd06d5bb2b

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card