CVE-2021-47494CWE-667

CVE-2021-47494

High · published May 22, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
5.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.9th percentile
Weakness
CWE-667 · Improper Locking
Published
2024-05-22T13:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.8, < 5.10.775.10.77
linux/linux_kernel≥ 5.11, < 5.14.165.14.16
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 22 MAY 08:19Z
    cfg80211: fix management registrations locking
    cvelistv5