CVE-2024-50247·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Check if more than chunk-size bytes are written A incorrectly formatted chunk may decompress into more than LZNT_CHUNK_SIZE bytes and a index out of bounds will occur in s_max_off.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.7
- Published
- 2024-11-09
Affected versions
From: 6.7
Until: 6.11.7
Fixed in: 6.11.7
How to fix this CVE
Update your Linux kernel to version 6.11.7 or later to patch the NTFS3 decompression vulnerability. This issue affects kernels 6.7 through 6.11.6, where improperly formatted NTFS compressed chunks could decompress beyond the expected size limit, causing memory corruption. Systems running affected kernel versions should prioritize this update, particularly those with NTFS filesystem support enabled.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against 6.11.7 (vulnerable if 6.7 ≤ version < 6.11.7)
- Step 2: Verify NTFS3 module is loaded with `lsmod | grep ntfs3` or check if NTFS filesystems are mounted via `mount | grep ntfs`
- Step 3: Search kernel logs for NTFS decompression errors with `journalctl -u kernel | grep -i 'ntfs\|lznt\|decompress' | tail -50`
- Step 4: After patching, reboot and confirm new kernel version with `uname -r`, verifying it shows 6.11.7 or later
FAQ
What is CVE-2024-50247?
CVE-2024-50247 is a kernel vulnerability in the NTFS3 filesystem driver where maliciously crafted or corrupted NTFS compressed chunks can decompress to sizes exceeding the expected LZNT_CHUNK_SIZE limit, leading to out-of-bounds memory access and potential system instability.
Is CVE-2024-50247 being actively exploited?
No, CVE-2024-50247 is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-50247?
Linux kernel versions 6.7 through 6.11.6 are affected. The vulnerability is resolved in kernel 6.11.7 and later.
How do I check if my server is vulnerable to CVE-2024-50247?
Run `uname -r` to get your kernel version. If the output shows a version between 6.7 and 6.11.6 (inclusive), and NTFS3 is enabled, your system is vulnerable. Confirm NTFS3 presence with `grep NTFS /boot/config-$(uname -r)` or `lsmod | grep ntfs3`.
Does Defensia detect CVE-2024-50247?
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-50247 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1b6bc5f7212181093b6c5310eea216fc09c721a9
- https://git.kernel.org/stable/c/4a4727bc582832f354e0d3d49838a401a28ae25e
- https://git.kernel.org/stable/c/5f21e3e60982cd7353998b4f59f052134fd47d64
- https://git.kernel.org/stable/c/9931122d04c6d431b2c11b5bb7b10f28584067f0
- https://git.kernel.org/stable/c/e5ae7859008688626b4d2fa6139eeaa08e255053
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50247. Free for 1 server.
Get started free