CVE-2021-47128
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2021-47128) was discovered related to buggy SELinux lockdown permission checks. The issue was introduced by commit 59438b46471a which implemented SELinux lockdown hooks to restrict domains from performing operations that would breach lockdown. The vulnerability could lead to system crashes through OOM conditions or deadlocks when using BPF tracing tools (Kernel Git).

Technical details

The vulnerability stems from two main technical issues: 1) Audit events triggered by security_locked_down() calls could cause OOM kills due to audit message flooding, and 2) A deadlock condition via avc_has_perm()/slow_avc_audit() when attempting to wake up kauditd, particularly when using trace_sched_switch() tracepoint. The issue manifested when using common tracing tools like runqlat & runqslower from bcc. Additionally, the SELinux policy rule implementation was broken for BPF, as it incorrectly checked permissions against the 'current' task rather than the entity installing the BPF program (Kernel Git).

Impact

The vulnerability could cause system-wide impacts including: 1) Complete system crashes through out-of-memory (OOM) conditions due to audit message flooding, 2) System deadlocks when using common tracing tools, and 3) Incorrect application of SELinux lockdown policies for BPF operations (Kernel Git).

Exploitability

The vulnerability could be triggered through normal usage of common BPF tracing tools, making it relatively easy to encounter in production environments. It was not a hypothetical corner case but could be reproduced using standard tools like runqlat & runqslower from bcc (Kernel Git).

Mitigation and workarounds

The issue was fixed by moving the security check into the program verification phase where the BPF function prototype is retrieved. This ensures the check happens during program loading rather than execution, preventing both the OOM and deadlock conditions. The fix also properly associates the security context with the entity installing the BPF program rather than the current task (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80913NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesSep 04, 2026
CVE-2026-80905NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 04, 2026
CVE-2026-80898NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesSep 04, 2026
CVE-2026-80897NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80892NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management