CVE-2021-46990
Last modified
CVE-2021-46990 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: powerpc/64s: Fix crashes when toggling entry flush barrier The entry flush mitigation can be enabled/disabled at runtime via a debugfs file (entry_flush), which causes the kernel to patch itself to enable/disable the relevant mitigations. However depending on which mitigation we're using, it may not be safe to do that patching while other CPUs are active. For example the following crash: sleeper[15639]: segfault (11) at c000000000004c20 nip c000000000004c20 lr c000000000004c20 Shows that we returned to userspace with a corrupted LR that points into the kernel, due to executing the partially patched call to the fallback entry flush (ie. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/64s: Fix crashes when toggling entry flush barrier The entry flush mitigation can be enabled/disabled at runtime via a debugfs file (entry_flush), which causes the kernel to patch itself to enable/disable the relevant mitigations. However depending on which mitigation we're using, it may not be safe to do that patching while other CPUs are active. For example the following crash: sleeper[15639]: segfault (11) at c000000000004c20 nip c000000000004c20 lr c000000000004c20 Shows that we returned to userspace with a corrupted LR that points into the kernel, due to executing the partially patched call to the fallback entry flush (ie. we missed the LR restore). Fix it by doing the patching under stop machine. The CPUs that aren't doing the patching will be spinning in the core of the stop machine logic. That is currently sufficient for our purposes, because none of the patching we do is to that code or anywhere in the vicinity.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.4.245, < 4.4.269 | — |
| Linux | Linux Kernel | >= 4.9.245, < 4.9.269 | — |
| Linux | Linux Kernel | >= 4.14.208, < 4.14.233 | — |
| Linux | Linux Kernel | >= 4.19.159, < 4.19.191 | — |
| Linux | Linux Kernel | >= 5.4.79, < 5.4.120 | — |
| Linux | Linux Kernel | >= 5.10, < 5.10.38 | — |
| Linux | Linux Kernel | >= 5.11, < 5.11.22 | — |
| Linux | Linux Kernel | >= 5.12, < 5.12.5 | — |
| Linux | Linux Kernel | 5.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-46990?
How severe is CVE-2021-46990?
How do I fix CVE-2021-46990?
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-46984In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-46985In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46986In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46987In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46988In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46989In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-46991In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-46992In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-46993In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-46994In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46995In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46996In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-46990?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
