CVE-2024-50251·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_payload: sanitize offset and length before calling skb_checksum() If access to offset + length is larger than the skbuff length, then skb_checksum() triggers BUG_ON(). skb_checksum() internally subtracts the length parameter while iterating over skbuff, BUG_ON(len) at the end of it checks that the expected length to be included in the checksum calculation is fully consumed.
- Severity
- medium
- 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 netfilter payload validation flaw. This vulnerability allows a denial-of-service condition when malformed netfilter rules attempt to access memory beyond the packet buffer boundaries. Prioritize this update for systems running kernel versions 6.7 through 6.11.6 that use netfilter for packet filtering or NAT operations.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — compare against 6.11.7; if lower than 6.11.7 and within 6.7–6.11.6 range, you are vulnerable
- Verify netfilter is loaded: lsmod | grep nf_ — if any netfilter modules appear, the vulnerable component is active
- Search kernel logs for BUG_ON crashes: sudo dmesg | grep -i 'bug\|panic' | grep -i nft — exploitation may trigger kernel panics or oops messages
- Confirm the patch after upgrade: uname -r — should report kernel version 6.11.7 or higher
FAQ
What is CVE-2024-50251?
This is a kernel vulnerability in the netfilter subsystem where insufficient validation of packet offset and length parameters can trigger a kernel panic when skb_checksum() processes out-of-bounds memory access. The flaw affects the nft_payload module used in firewall and NAT configurations.
Is CVE-2024-50251 being actively exploited?
No, there is no evidence of active exploitation in the wild. The vulnerability requires local access or the ability to send specially crafted packets through netfilter rules, making it a lower risk for most internet-facing systems.
What versions of Kernel are affected by CVE-2024-50251?
Linux kernel versions 6.7 through 6.11.6 are vulnerable. Kernel 6.11.7 and later releases include the patch.
How do I check if my server is vulnerable to CVE-2024-50251?
Run 'uname -r' to display your kernel version. If it is 6.7.x, 6.8.x, 6.9.x, 6.10.x, or 6.11.0–6.11.6, your system is vulnerable. Cross-reference with 'lsmod | grep nft' to confirm netfilter modules are in use.
Does Defensia detect CVE-2024-50251?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-50251 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72
- https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701
- https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534
- https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40
- https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50251. Free for 1 server.
Get started free