CVE-2021-46990
powerpc/64s: Fix crashes when toggling entry flush barrier
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 4a1e90af718d1489ffcecc8f52486c4f5dc0f7a6, < 8382b15864e5014261b4f36c2aa89723612ee058; >= fa4bf9f38184ed7ca4916eb64f8c767d1e279c1f, < 0c25a7bb697f2e6ee65b6d63782f675bf129511a; >= db01cad9efe3c3838a6b3a3f68affd295c4b92d6, < ee4b7aab93c2631c3bb0753023c5dda592bb666b; >= f69bb4e51f41973fb7594be1479fa689831efe1a, < 2db22ba4e0e103f00e0512e0ecce36ac78c644f8; >= b65458b6be8032c5179d4f562038575d7b3a6be3, < 0b4eb172cc12dc102cd0ad013e53ee4463db9508; >= f79643787e0a0762d2409b7b8334e83f22d85695, < d2e3590ca39ccfd8a5a46d8c7f095cb6c7b9ae92; >= f79643787e0a0762d2409b7b8334e83f22d85695, < dd0d6117052faace5440db20fc37175efe921c7d; >= f79643787e0a0762d2409b7b8334e83f22d85695, < 5bc00fdda1e934c557351a9c751a205293e68cbf; >= f79643787e0a0762d2409b7b8334e83f22d85695, < aec86b052df6541cc97c5fca44e5934cbea4963b; e590b36718d6e740b7b19514f710402a6499164c; …
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= 4a1e90af718d1489ffcecc8f52486c4f5dc0f7a6, < 8382b15864e5014261b4f36c2aa89723612ee058; >= fa4bf9f38184ed7ca4916eb64f8c767d1e279c1f, < 0c25a7bb697f2e6ee65b6d63782f675bf129511a; >= db01cad9efe3c3838a6b3a3f68affd295c4b92d6, < ee4b7aab93c2631c3bb0753023c5dda592bb666b; >= f69bb4e51f41973fb7594be1479fa689831efe1a, < 2db22ba4e0e103f00e0512e0ecce36ac78c644f8; >= b65458b6be8032c5179d4f562038575d7b3a6be3, < 0b4eb172cc12dc102cd0ad013e53ee4463db9508; >= f79643787e0a0762d2409b7b8334e83f22d85695, < d2e3590ca39ccfd8a5a46d8c7f095cb6c7b9ae92; >= f79643787e0a0762d2409b7b8334e83f22d85695, < dd0d6117052faace5440db20fc37175efe921c7d; >= f79643787e0a0762d2409b7b8334e83f22d85695, < 5bc00fdda1e934c557351a9c751a205293e68cbf; >= f79643787e0a0762d2409b7b8334e83f22d85695, < aec86b052df6541cc97c5fca44e5934cbea4963b; e590b36718d6e740b7b19514f710402a6499164c; …; Linux 5.10
- Fixed in
- Linux 8382b15864e5014261b4f36c2aa89723612ee058, Linux 0c25a7bb697f2e6ee65b6d63782f675bf129511a, Linux 2db22ba4e0e103f00e0512e0ecce36ac78c644f8, Linux 0b4eb172cc12dc102cd0ad013e53ee4463db9508, Linux 5bc00fdda1e934c557351a9c751a205293e68cbf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4a1e90af718d1489ffcecc8f52486c4f5dc0f7a6, < 8382b15864e5014261b4f36c2aa89723612ee058; >= fa4bf9f38184ed7ca4916eb64f8c767d1e279c1f, < 0c25a7bb697f2e6ee65b6d63782f675bf129511a; >= db01cad9efe3c3838a6b3a3f68affd295c4b92d6, < ee4b7aab93c2631c3bb0753023c5dda592bb666b; >= f69bb4e51f41973fb7594be1479fa689831efe1a, < 2db22ba4e0e103f00e0512e0ecce36ac78c644f8; >= b65458b6be8032c5179d4f562038575d7b3a6be3, < 0b4eb172cc12dc102cd0ad013e53ee4463db9508; >= f79643787e0a0762d2409b7b8334e83f22d85695, < d2e3590ca39ccfd8a5a46d8c7f095cb6c7b9ae92; >= f79643787e0a0762d2409b7b8334e83f22d85695, < dd0d6117052faace5440db20fc37175efe921c7d; >= f79643787e0a0762d2409b7b8334e83f22d85695, < 5bc00fdda1e934c557351a9c751a205293e68cbf; >= f79643787e0a0762d2409b7b8334e83f22d85695, < aec86b052df6541cc97c5fca44e5934cbea4963b; e590b36718d6e740b7b19514f710402a6499164c; … | — | cvelist |
| Linux | 5.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-46990. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-46990.md Affected: Linux >= 4a1e90af718d1489ffcecc8f52486c4f5dc0f7a6, < 8382b15864e5014261b4f36c2aa89723612ee058; >= fa4bf9f38184ed7ca4916eb64f8c767d1e279c1f, < 0c25a7bb697f2e6ee65b6d63782f675bf129511a; >= db01cad9efe3c3838a6b3a3f68affd295c4b92d6, < ee4b7aab93c2631c3bb0753023c5dda592bb666b; >= f69bb4e51f41973fb7594be… Fixed in: Linux 8382b15864e5014261b4f36c2aa89723612ee058, Linux 0c25a7bb697f2e6ee65b6d63782f675bf129511a, Linux 2db22ba4e0e103f00e0512e0ecce36ac78c644f8, Linux 0b4eb172cc12dc102cd0ad013e53ee4463db9508, Linux 5bc00fdda1e934c557351a9c751a205293e68cbf Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/8382b15864e5014261b4f36c2aa89723612ee058
- https://git.kernel.org/stable/c/0c25a7bb697f2e6ee65b6d63782f675bf129511a
- https://git.kernel.org/stable/c/ee4b7aab93c2631c3bb0753023c5dda592bb666b
- https://git.kernel.org/stable/c/2db22ba4e0e103f00e0512e0ecce36ac78c644f8
- https://git.kernel.org/stable/c/0b4eb172cc12dc102cd0ad013e53ee4463db9508
- https://git.kernel.org/stable/c/d2e3590ca39ccfd8a5a46d8c7f095cb6c7b9ae92
- https://git.kernel.org/stable/c/dd0d6117052faace5440db20fc37175efe921c7d
- https://git.kernel.org/stable/c/5bc00fdda1e934c557351a9c751a205293e68cbf
- https://git.kernel.org/stable/c/aec86b052df6541cc97c5fca44e5934cbea4963b
FAQ
Is CVE-2021-46990 being exploited?
There is no confirmed exploitation: CVE-2021-46990 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-46990?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-46990?
Linux >= 4a1e90af718d1489ffcecc8f52486c4f5dc0f7a6, < 8382b15864e5014261b4f36c2aa89723612ee058; >= fa4bf9f38184ed7ca4916eb64f8c767d1e279c1f, < 0c25a7bb697f2e6ee65b6d63782f675bf129511a; >= db01cad9efe3c3838a6b3a3f68affd295c4b92d6, < ee4b7aab93c2631c3bb0753023c5dda592bb666b; >= f69bb4e51f41973fb7594be1479fa689831efe1a, < 2db22ba4e0e103f00e0512e0ecce36ac78c644f8; >= b65458b6be8032c5179d4f562038575d7b3a6be3, < 0b4eb172cc12dc102cd0ad013e53ee4463db9508; >= f79643787e0a0762d2409b7b8334e83f22d85695, < d2e3590ca39ccfd8a5a46d8c7f095cb6c7b9ae92; >= f79643787e0a0762d2409b7b8334e83f22d85695, < dd0d6117052faace5440db20fc37175efe921c7d; >= f79643787e0a0762d2409b7b8334e83f22d85695, < 5bc00fdda1e934c557351a9c751a205293e68cbf; >= f79643787e0a0762d2409b7b8334e83f22d85695, < aec86b052df6541cc97c5fca44e5934cbea4963b; e590b36718d6e740b7b19514f710402a6499164c; …; Linux 5.10.
Is there a fix for CVE-2021-46990?
Yes. Fixed in Linux 8382b15864e5014261b4f36c2aa89723612ee058, Linux 0c25a7bb697f2e6ee65b6d63782f675bf129511a, Linux 2db22ba4e0e103f00e0512e0ecce36ac78c644f8, Linux 0b4eb172cc12dc102cd0ad013e53ee4463db9508, Linux 5bc00fdda1e934c557351a9c751a205293e68cbf. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-46990?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.