First published: Tue Jan 16 2024(Updated: )
A flaw was found in the Netfilter module in the Linux kernel. The problem is in the nft_byteorder_eval() function where the code is iterating through a loop and writing to dst[0], dst[1], dst[2] and so on. On each iteration 8 bytes get written, but dst[] is an array of u32 so each element only has space for 4 bytes. That means that every iteration overwrites part of the previous element. Upstream commit: <a href="https://github.com/torvalds/linux/commit/c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63">https://github.com/torvalds/linux/commit/c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63</a>
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <6.7 | 6.7 |
Linux Kernel | <6.7 | |
Linux Kernel | =6.7-rc1 | |
Red Hat Fedora | =39 | |
Red Hat Enterprise Linux | =8.0 | |
Red Hat Enterprise Linux | =9.0 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.128-1 6.12.20-1 |
If not needed, disable the ability for unprivileged users to create namespaces. To do this temporarily, do: sudo sysctl -w kernel.unprivileged_userns_clone=0 To disable across reboots, do: echo kernel.unprivileged_userns_clone=0 | \ sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-0607 has a critical severity rating due to its potential to cause kernel crashes or data corruption.
To fix CVE-2024-0607, update the kernel to version 6.7 or apply the specific patches provided by your distribution.
CVE-2024-0607 affects Linux kernel versions prior to 6.7, including certain versions of Debian and Red Hat Enterprise Linux.
Yes, CVE-2024-0607 impacts multiple distributions such as Red Hat Enterprise Linux, Debian, and Fedora.
CVE-2024-0607 specifically affects the Netfilter module due to a flaw in the nft_byteorder_eval() function.