CVE-2021-47388
Last modified
CVE-2021-47388 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mac80211: fix use-after-free in CCMP/GCMP RX When PN checking is done in mac80211, for fragmentation we need to copy the PN to the RX struct so we can later use it to do a comparison, since commit bf30ca922a0c ("mac80211: check defrag PN against current frame"). Unfortunately, in that commit I used the 'hdr' variable without it being necessarily valid, so use-after-free could occur if it was necessary to reallocate (parts of) the frame. Fix this by reloading the variable after the code that results in the reallocations, if any. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=214401.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mac80211: fix use-after-free in CCMP/GCMP RX When PN checking is done in mac80211, for fragmentation we need to copy the PN to the RX struct so we can later use it to do a comparison, since commit bf30ca922a0c ("mac80211: check defrag PN against current frame"). Unfortunately, in that commit I used the 'hdr' variable without it being necessarily valid, so use-after-free could occur if it was necessary to reallocate (parts of) the frame. Fix this by reloading the variable after the code that results in the reallocations, if any. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=214401.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.4.271, < 4.4.286 | — |
| Linux | Linux Kernel | >= 4.9.271, < 4.9.285 | — |
| Linux | Linux Kernel | >= 4.14.235, < 4.14.249 | — |
| Linux | Linux Kernel | >= 4.19.193, < 4.19.209 | — |
| Linux | Linux Kernel | >= 5.4.124, < 5.4.151 | — |
| Linux | Linux Kernel | >= 5.10.42, < 5.10.71 | — |
| Linux | Linux Kernel | >= 5.12.9, < 5.14.10 | — |
| Linux | Linux Kernel | 5.15 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47388?
How severe is CVE-2021-47388?
How do I fix CVE-2021-47388?
Are you affected by CVE-2021-47388?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
