PT-2024-11071 · Linux+3 · Linux Kernel+3

William A. Kennington Iii

·

Published

2021-04-08

·

Updated

2025-05-13

·

CVE-2021-46959

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A use-after-free vulnerability has been resolved in the Linux kernel. The issue occurs when the devres list is torn down during spi unregister controller(), causing devices registered with devm spi alloc {master,slave}() to be mistakenly identified as legacy, non-devm managed devices. This leads to their reference counters being decremented below 0. The vulnerability is related to the devm spi release controller() function and the devres release all() function.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-02851
CVE-2021-46959
OPENSUSE-SU-2024_1489-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
USN-7506-1
USN-7506-2
USN-7506-3
USN-7506-4

Affected Products

Astra Linux
Linux Kernel
Suse
Ubuntu