CVE-2021-47494
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-667
- Record status
- Modified
Affected
- Linux Kernel < 5.10.77
- Linux Kernel < 5.14.16
- Linux Kernel 5.15
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-47494.md and follow it. Check whether this project is affected by CVE-2021-47494. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97
- https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420e
- https://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4
- https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97
- https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420e
- https://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4
References
- https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97
- https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420e
- https://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4
- https://git.kernel.org/stable/c/09b1d5dc6ce1c9151777f6c4e128a59457704c97
- https://git.kernel.org/stable/c/3c897f39b71fe68f90599f6a45b5f7bf5618420e
- https://git.kernel.org/stable/c/4c22227e39c7a0b4dab55617ee8d34d171fab8d4