CVE-2025-21856

HIGH

Linux Kernel 6.3-6.6.79, 6.7-6.12.16, 6.13-6.13.4 - Use-After-Free in s390/ism Device Release

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0021
EPSS Percentile 10.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (15)
linux/Kernel 6.13.0 - 6.13.5linux
linux/Kernel 6.3.0 - 6.6.80linux
linux/Kernel 6.7.0 - 6.12.17linux
Linux/Linux < 6.3
Linux/Linux 6.12.17 - 6.12.*
Linux/Linux 6.13.5 - 6.13.*
Linux/Linux 6.14
Linux/Linux 6.3
Linux/Linux 6.6.80 - 6.6.*
Linux/Linux 8c81ba20349daf9f7e58bb05a0c12f4b71813a30 - 0505ff2936f166405d81d0d454a81d9c14124344
... and 5 more
Published Mar 12, 2025
Tracked Since Feb 18, 2026