CVE-2024-36947·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: qibfs: fix dentry leak simple_recursive_removal() drops the pinning references to all positives in subtree. For the cases when its argument has been kept alive by the pinning alone that's exactly the right thing to do, but here the argument comes from dcache lookup, that needs to be balanced by explicit dput(). Fucked-up-by: Al Viro <viro@zeniv.linux.org.uk>
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.8.10
- Published
- 2024-05-30
Affected versions
From: 6.7
Until: 6.8.10
Fixed in: 6.8.10
How to fix this CVE
Update your Linux kernel to version 6.8.10 or later to patch a dentry reference counting leak in the qibfs subsystem. This memory management issue could lead to denial of service conditions if the affected code paths are triggered. Apply the fix through your distribution's standard kernel update mechanism as soon as possible.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range (6.7 through 6.8.9)
- Step 2: Verify qibfs is loaded by running `lsmod | grep qib` to determine if InfiniBand drivers are active on your system
- Step 3: Monitor kernel logs for memory pressure or page cache issues with `dmesg | grep -i 'dentry\|cache' | tail -20`
- Step 4: After patching, verify the new kernel is running with `uname -r` and confirm it shows version 6.8.10 or later
FAQ
What is CVE-2024-36947?
This is a memory leak vulnerability in the Linux kernel's qibfs (QLogic InfiniBand File System) component where directory entries are not properly dereferenced after recursive removal operations, causing kernel memory exhaustion.
Is CVE-2024-36947 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, local privilege escalation via resource exhaustion remains a theoretical concern.
What versions of Kernel are affected by CVE-2024-36947?
Linux kernel versions 6.7 through 6.8.9 are vulnerable. The fix is included in kernel 6.8.10 and all later releases.
How do I check if my server is vulnerable to CVE-2024-36947?
Run `uname -r` to get your kernel version. If it returns a version between 6.7 and 6.8.9, and `lsmod | grep qib` shows InfiniBand modules loaded, your system is vulnerable.
Does Defensia detect CVE-2024-36947?
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-2024-36947 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8
- https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee
- https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb
- https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00
- https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36947. Free for 1 server.
Get started free