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
- Modified
Frequently Asked Questions
What is CVE-2021-47388?
How severe is CVE-2021-47388?
How do I fix CVE-2021-47388?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47382In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2021-47383In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47384In the Linux kernel, the following vulnerability has been re…5.3
- CVE-2021-47385In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47386In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47387In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47389In the Linux kernel, the following vulnerability has been re…5.1
- CVE-2021-47390In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47391In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47392In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47393In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47394In the Linux kernel, the following vulnerability has been re…7.8
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
