CVE-2021-47464·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: audit: fix possible null-pointer dereference in audit_filter_rules Fix possible null-pointer dereference in audit_filter_rules. audit_filter_rules() error: we previously assumed 'ctx' could be null
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.14.15
- Published
- 2024-05-22
Affected versions
From: 5.11
Until: 5.14.15
Fixed in: 5.14.15
How to fix this CVE
Update your Linux kernel to version 5.14.15 or later to address a null-pointer dereference flaw in the audit subsystem's filter rules function. This vulnerability could allow local attackers to cause a kernel panic or potentially escalate privileges through malformed audit filter operations. Apply the patch through your distribution's standard kernel update mechanism as soon as possible.
sudo dnf update kernel kernel-headers kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r | grep -oP '\d+\.\d+(\.\d+)?'
- Compare against vulnerable range (5.11 to 5.14.14): if your version falls within this range, you are vulnerable
- Verify audit daemon is enabled: systemctl is-active auditd && echo 'Audit is running'
- Check kernel logs for null-pointer dereference in audit context: sudo dmesg | grep -i 'audit.*null\|kernel.*null' and sudo journalctl -u kernel | grep -i audit
FAQ
What is CVE-2021-47464?
This vulnerability is a null-pointer dereference in the Linux kernel's audit filter rules processing function. Under specific conditions, the audit_filter_rules() function may attempt to dereference a null audit context pointer, leading to kernel panic or potential local privilege escalation.
Is CVE-2021-47464 being actively exploited?
No, this vulnerability is not listed as actively exploited in the CISA Known Exploited Vulnerabilities catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2021-47464?
Linux kernel versions 5.11 through 5.14.14 are vulnerable; version 5.14.15 and later contain the fix.
How do I check if my server is vulnerable to CVE-2021-47464?
Run 'uname -r' to see your kernel version and compare it against the vulnerable range (5.11–5.14.14). If your version is within this range and you have audit functionality enabled (check with 'auditctl -l'), your system requires patching.
Does Defensia detect CVE-2021-47464?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2021-47464 will appear in your dashboard with remediation steps.
Related Kernel CVEs
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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47464. Free for 1 server.
Get started free