CVE-2021-47464
📋 TL;DR
This CVE describes a null-pointer dereference vulnerability in the Linux kernel's audit subsystem. The flaw in audit_filter_rules() could allow local attackers to cause a kernel panic (denial of service) by triggering a null pointer access. Systems running vulnerable Linux kernel versions with audit functionality enabled are affected.
💻 Affected Systems
- Linux kernel
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, potentially disrupting critical services and requiring physical or remote reboot.
Likely Case
Local denial of service through kernel panic, requiring system reboot to restore functionality.
If Mitigated
Minimal impact if audit subsystem is disabled or proper access controls prevent local users from triggering the vulnerable code path.
🎯 Exploit Status
Requires local access and ability to trigger audit events. No public exploit code identified in references.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions containing commits: 16802fa4c33eb1a8efb23f1e93365190e4047d05, 4e9e46a700201b4c85081fd478c99c692a9aaa0d, 6e3ee990c90494561921c756481d0e2125d8b895, d6f451f1f60c58d73038c7c3177066f8f084e2a2
Vendor Advisory: https://git.kernel.org/stable/c/16802fa4c33eb1a8efb23f1e93365190e4047d05
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version from your distribution's repositories. 2. Reboot system to load new kernel. 3. Verify kernel version after reboot.
🔧 Temporary Workarounds
Disable audit subsystem
linuxCompletely disable the audit subsystem to prevent exploitation of this vulnerability
echo 'blacklist audit' >> /etc/modprobe.d/blacklist-audit.conf
update-initramfs -u
reboot
Disable audit at boot
linuxPrevent audit module from loading at boot time
echo 'audit=0' >> /etc/default/grub
update-grub
reboot
🧯 If You Can't Patch
- Restrict local user access to prevent untrusted users from triggering audit events
- Implement strict access controls and monitor for suspicious audit subsystem activity
🔍 How to Verify
Check if Vulnerable:
Check if audit subsystem is active: 'auditctl -s' and check kernel version against patched versions
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version after update: 'uname -r' and ensure it's newer than vulnerable versions
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages in /var/log/kern.log or dmesg
- Audit subsystem crash logs
- System reboot events without clear cause
Network Indicators:
- None - this is local only vulnerability
SIEM Query:
source="kern.log" AND "kernel panic" OR "Oops" OR "BUG"
🔗 References
- https://git.kernel.org/stable/c/16802fa4c33eb1a8efb23f1e93365190e4047d05
- https://git.kernel.org/stable/c/4e9e46a700201b4c85081fd478c99c692a9aaa0d
- https://git.kernel.org/stable/c/6e3ee990c90494561921c756481d0e2125d8b895
- https://git.kernel.org/stable/c/d6f451f1f60c58d73038c7c3177066f8f084e2a2
- https://git.kernel.org/stable/c/16802fa4c33eb1a8efb23f1e93365190e4047d05
- https://git.kernel.org/stable/c/4e9e46a700201b4c85081fd478c99c692a9aaa0d
- https://git.kernel.org/stable/c/6e3ee990c90494561921c756481d0e2125d8b895
- https://git.kernel.org/stable/c/d6f451f1f60c58d73038c7c3177066f8f084e2a2