CVE-2021-47494

cfg80211: fix management registrations locking

MEDIUM
5.5
CVSS Score
Published: May 22, 2024 at 08:19 AM UTC
Updated: August 5, 2026 at 09:24 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
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: cfg80211: fix management registrations locking The management registrations locking was broken, the list was locked for each wdev, but cfg80211_mgmt_registrations_update() iterated it without holding all the correct spinlocks, causing list corruption. Rather than trying to fix it with fine-grained locking, just move the lock to the wiphy/rdev (still need the list on each wdev), we already need to hold the wdev lock to change it, so there's no contention on the lock in any case. This trivially fixes the bug since we hold one wdev's lock already, and now will hold the lock that protects all lists.

Affected

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

5.11 ≤ v < 5.14.165.8 ≤ v < 5.10.775.8 ≤ v < 5.14.165.8 ≤ v < 5.155.15 rc15.15 rc25.15 rc35.15 rc45.15 rc55.15 rc65.15 rc76cd536fe62ef58d7c4eac2da07ab0ed7fd19010d
Vendor states this is fixed in 09b1d5dc6ce1c9151777f6c4e128a59457704c97 (fixed)
Vendor states this is fixed in 3c897f39b71fe68f90599f6a45b5f7bf5618420e (fixed)
Vendor states this is fixed in 4c22227e39c7a0b4dab55617ee8d34d171fab8d4 (fixed)
Vendor states this is fixed in 5.10.77 (unaffected)
Vendor states this is fixed in 5.14.16 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-667

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