CVEBrief

Home / Linux / Linux / CVE-2021-46959

CVE-2021-46959: is it exploited, and which versions of Linux are affected and fixed?

CVE-2021-46959 is an use after free vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: Linux from 4.4.248 before 4.4.271, Linux from 4.9.248 before 4.9.271, Linux from 4.14.212 before 4.14.233 and 4 more (CVE record by Linux). Fixed in 4.4.271, 4.9.271, 4.14.233, 4.19.191 and 2 more (CVE record by Linux). Severity: High (7.8, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 28, 2026, 20:04 UTC and NVD November 19, 2026, 07:31 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
Linux from 4.4.248 before 4.4.271, Linux from 4.9.248 before 4.9.271, Linux from 4.14.212 before 4.14.233 and 4 more
CVE record by Linux
Fixed in
4.4.271, 4.9.271, 4.14.233, 4.19.191 and 2 more
CVE record by Linux
Severity
High 7.8
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.24% in 30 days
higher than 17% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-46959?

In the Linux kernel, the following vulnerability has been resolved: spi: Fix use-after-free with devm_spi_alloc_* We can't rely on the contents of the devres list during spi_unregister_controller(), as the list is already torn down at the time we perform devres_find() for devm_spi_release_controller. This causes devices registered with devm_spi_alloc_{master,slave}() to be mistakenly identified as legacy, non-devm managed devices and have their reference counters decremented below 0. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 660 at lib/refcount.c:28 refcount_warn_saturate+0x108/0x174 [<b0396f04>] (refcount_warn_saturate) from [<b03c56a4>] (kobject_put+0x90/0x98) [<b03c5614>] (kobject_put) from [<b0447b4c>] (put_device+0x20/0x24) r4:b6700140 [<b0447b2c>] (put_device) from [<b07515e8>] (devm_spi_release_controller+0x3c/0x40) [<b07515ac>] (devm_spi_release_controller) from [<b045343c>] (release_nodes+0x84/0xc4) r5:b6700180 r4:b6700100 [<b04533b8>] (release_nodes) from [<b0454160>] (devres_release_all+0x5c/0x60) r8:b1638c54 r7:b117ad94 r6:b1638c10 r5:b117ad94 r4:b163dc10 [<b0454104>] (devres_release_all) from [<b044e41c>] (__device_release_driver+0x144/0x1ec) r5:b117ad94 r4:b163dc10 [<b044e2d8>] (__device_release_driver) from [<b044f70c>] (device_driver_detach+0x84/0xa0) r9:00000000 r8:00000000 r7:b117ad94 r6:b163dc54 r5:b1638c10 r4:b163dc10 [<b044f688>] (device_driver_detach) from [<b044d274>] (unbind_store+0xe4/0xf8) Instead, determine the devm allocation state as a flag on the controller which is guaranteed to be stable during cleanup.

From the CVE record by Linux, last updated May 23, 2026, 15:18 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxfrom 4.4.248 before 4.4.271
from 4.9.248 before 4.9.271
from 4.14.212 before 4.14.233
from 4.19.163 before 4.19.191
from 5.4.80 before 5.4.119
from 5.9.11 before 5.10
4.4.271, 4.9.271, 4.14.233, 4.19.191, 5.4.119, 5.10
LinuxLinuxfrom 5.10 until the fixed versions4.4.271, 4.9.271, 4.14.233, 4.19.191, 5.4.119, 5.10.37, 5.11.21, 5.12.4, 5.13

As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 4.4.248 before 4.4.271operating system
linuxlinux kernelfrom 4.9.248 before 4.9.271operating system
linuxlinux kernelfrom 4.14.212 before 4.14.233operating system
linuxlinux kernelfrom 4.19.163 before 4.19.191operating system
linuxlinux kernelfrom 5.4.80 before 5.4.119operating system
linuxlinux kernelfrom 5.10 before 5.10.37operating system
linuxlinux kernelfrom 5.11 before 5.11.21operating system
linuxlinux kernelfrom 5.12 before 5.12.4operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 04:15 UTC.

How severe is CVE-2021-46959?

ScoreVersionVectorSource
High 7.8CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-46959 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 10, 2024)
EPSS
0.24% probability of exploitation activity in the next 30 days, percentile 16.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 27, 2024
Published
February 29, 2024, 22:31 UTC
CVE record updated
May 23, 2026, 15:18 UTC by Linux
NVD
Analyzed, last modified June 17, 2026, 04:15 UTC
Last checked
CVE list November 28, 2026, 20:04 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2021-46959

Is CVE-2021-46959 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2021-46959?

Linux from 4.4.248 before 4.4.271, Linux from 4.9.248 before 4.9.271, Linux from 4.14.212 before 4.14.233, Linux from 4.19.163 before 4.19.191, Linux from 5.4.80 before 5.4.119, Linux from 5.9.11 before 5.10 and 1 more, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2021-46959?

4.4.271, 4.9.271, 4.14.233, 4.19.191, 5.4.119 and 5.10, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-46959?

High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2021-46959?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.