CVE-2021-47494
published 2024-05-22CVE-2021-47494: In the Linux kernel, the following vulnerability has been resolved: cfg80211: fix management registrations locking The management registrations locking was…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.17%
6.5th percentile
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
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.15.3-1 (bookworm) | linux 5.15.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 6cd536fe62ef58d7c4eac2da07ab0ed7fd19010d < 4c22227e39c7a0b4dab55617ee8d34d171fab8d4 | 4c22227e39c7a0b4dab55617ee8d34d171fab8d4 |
| linux | linux | >= 6cd536fe62ef58d7c4eac2da07ab0ed7fd19010d < 3c897f39b71fe68f90599f6a45b5f7bf5618420e | 3c897f39b71fe68f90599f6a45b5f7bf5618420e |
| linux | linux | >= 6cd536fe62ef58d7c4eac2da07ab0ed7fd19010d < 09b1d5dc6ce1c9151777f6c4e128a59457704c97 | 09b1d5dc6ce1c9151777f6c4e128a59457704c97 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.84-1 | 5.10.84-1 |
| linux | linux_kernel | >= 0 < 5.15.3-1 | 5.15.3-1 |
| linux | linux_kernel | >= 0 < 5.15.3-1 | 5.15.3-1 |
| linux | linux_kernel | >= 0 < 5.15.3-1 | 5.15.3-1 |
| linux | linux_kernel | >= 5.11 < 5.14.16 | 5.14.16 |
| linux | linux_kernel | >= 5.8 < 5.10.77 | 5.10.77 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-c6p9-mw2r-7mc4: In the Linux kernel, the following vulnerability has been resolved:
cfg80211: fix management registrations locking
The management registrations lock
ghsa_unreviewed·2024-05-22
CVE-2021-47494 [MEDIUM] CWE-667 GHSA-c6p9-mw2r-7mc4: In the Linux kernel, the following vulnerability has been resolved:
cfg80211: fix management registrations locking
The management registrations lock
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.
OSV
CVE-2021-47494: In the Linux kernel, the following vulnerability has been resolved: cfg80211: fix management registrations locking The management registrations lockin
osv·2024-05-22·CVSS 5.5
CVE-2021-47494 [MEDIUM] CVE-2021-47494: In the Linux kernel, the following vulnerability has been resolved: cfg80211: fix management registrations locking The management registrations lockin
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.
Red Hat
kernel: cfg80211: fix management registrations locking
vendor_redhat·2024-05-22·CVSS 5.5
CVE-2021-47494 [MEDIUM] CWE-667 kernel: cfg80211: fix management registrations locking
kernel: cfg80211: fix management registrations locking
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.
A vulnerability was found in the Linux kernel's `cfg80211` module, where
Debian
CVE-2021-47494: linux - In the Linux kernel, the following vulnerability has been resolved: cfg80211: f...
vendor_debian·2021·CVSS 5.5
CVE-2021-47494 [MEDIUM] CVE-2021-47494: linux - In the Linux kernel, the following vulnerability has been resolved: cfg80211: f...
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.
Scope: local
bookworm: resolved (fixed in 5.15.3-1)
bullseye: resolved (fixed in 5.10.84-1)
forky: resolved (fixed in 5.15.3-1)
s
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420ehttps://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420ehttps://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4
2024-05-22
Published