CVE-2025-21856

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
12/03/2025
Last modified:
01/10/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.3 (including) 6.6.80 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.17 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*