CVE-2024-49855·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: nbd: fix race between timeout and normal completion If request timetout is handled by nbd_requeue_cmd(), normal completion has to be stopped for avoiding to complete this requeued request, other use-after-free can be triggered. Fix the race by clearing NBD_CMD_INFLIGHT in nbd_requeue_cmd(), meantime make sure that cmd->lock is grabbed for clearing the flag and the requeue.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.2
- Published
- 2024-10-21
Affected versions
From: 6.11
Until: 6.11.2
Fixed in: 6.11.2
How to fix this CVE
Update your Linux kernel to version 6.11.2 or later to patch a race condition in the NBD (Network Block Device) subsystem that could lead to use-after-free errors. Systems running kernel versions 6.11.0 through 6.11.1 should prioritize this update to prevent potential privilege escalation or denial of service attacks triggered through improper handling of request timeouts and command completion.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — look for versions between 6.11.0 and 6.11.1
- Verify if NBD (nbd) module is loaded: lsmod | grep nbd — if present, the vulnerability applies
- Search kernel logs for NBD-related errors: sudo dmesg | grep -i nbd or sudo journalctl -u kernel | grep -i nbd
- After patching, confirm the update: uname -r should show 6.11.2 or later
FAQ
What is CVE-2024-49855?
This vulnerability is a race condition in the Linux kernel's Network Block Device (NBD) subsystem where request timeout handling can conflict with normal command completion, resulting in use-after-free memory errors that compromise system stability and security.
Is CVE-2024-49855 being actively exploited?
No, there is no evidence of active exploitation in the wild or public proof-of-concept exploits available. However, local attackers with sufficient privileges could potentially trigger the race condition.
What versions of Kernel are affected by CVE-2024-49855?
Linux kernel versions 6.11.0 through 6.11.1 are affected. The vulnerability was patched in version 6.11.2.
How do I check if my server is vulnerable to CVE-2024-49855?
Run uname -r to check your kernel version — if it shows 6.11.0 or 6.11.1, you are vulnerable. Additionally, run lsmod | grep nbd to verify if the NBD module is in use on your system.
Does Defensia detect CVE-2024-49855?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-49855 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/5236ada8ebbd9e7461f17477357582f5be4f46f7
- https://git.kernel.org/stable/c/6e73b946a379a1dfbb62626af93843bdfb53753d
- https://git.kernel.org/stable/c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc
- https://git.kernel.org/stable/c/9c25faf72d780a9c71081710cd48759d61ff6e9b
- https://git.kernel.org/stable/c/c9ea57c91f03bcad415e1a20113bdb2077bcf990
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-49855. Free for 1 server.
Get started free