CVE-2024-0607
kernel: nf_tables: pointer math issue in nft_byteorder_eval()
Overview
Description
A flaw was found in the Netfilter subsystem in the Linux kernel. The issue is in the nft_byteorder_eval() function, where the code iterates through a loop and writes to the dst array. On each iteration, 8 bytes are written, but dst is an array of u32, so each element only has space for 4 bytes. That means every iteration overwrites part of the previous element corrupting this array of u32. This flaw allows a local user to cause a denial of service or potentially break NetFilter functionality.
Source: OX vulnerability database
Severity
6.6 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Weakness: CWE-229
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 134 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.29.1-4.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | kernel-uek-container +1 | 5.4.17-2136.330.7.1.el7 |
| 7 | kernel-uek +8 | 5.4.17-2136.330.7.1.el7uek |
| 8 | kernel-uek-container +1 | 5.4.17-2136.330.7.1.el8 |
| 8 | kernel-uek +4 | 5.4.17-2136.330.7.1.el8uek |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +14 | 5.10.206-4.ph4 |
| 5.0 | bpftool +10 | 6.1.70-1.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | wont fix |
| 9 | bpftool +106 | wont fix |
SUSE Linux Enterprise 3 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | kgraft-patch-4-12-14-122-201-default | 1-8.7.1 | SUSE-SU-2024:0925-1 |
| 12.5 | cluster-md-kmp-rt +11 | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| 12.5 | cluster-md-kmp-default +15 | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| 12.5 | kernel-obs-build | 4.12.14-122.201.2 | SUSE-SU-2024:0925-1 |
| 12.5 | kernel-azure +5 | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| 15.4 | kernel-livepatch-5-14-21-150400-15-71-rt | 1-150400.1.3.1 | SUSE-SU-2024:0977-1 |
9 more rows
SUSE Linux Enterprise Micro 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | kernel-rt +1 | 5.3.18-150300.161.1 | SUSE-SU-2024:0856-1 |
| 5.1 | kernel-default | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| 5.1 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| 5.2 | kernel-rt +1 | 5.3.18-150300.161.1 | SUSE-SU-2024:0856-1 |
| 5.2 | kernel-default | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| 5.2 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
9 more rows
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-66-91-160 | 1.0-0.amzn2023 |
| 2023 | bpftool +18 | 6.1.66-91.160.amzn2023 |
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | linux | 4.19.316-1 |
| 10 | linux-5-10 | 5.10.216-1~deb10u1 |
| 11 | linux | 5.10.216-1 |
| 12 | linux | 6.1.64-1 |
| 13 | linux | 6.5.13-1 |
| 14 | linux | 6.5.13-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.64-1 |
openSUSE Leap Micro 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt | 5.14.21-150400.15.71.1 | SUSE-SU-2024:0977-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:0900-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:0900-1 |
| 5.4 | kernel-rt | 5.14.21-150400.15.71.1 | SUSE-SU-2024:0977-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:0900-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:0900-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.216-1 |
| 12 | rootio-linux | 6.1.64-1 |
| 13 | rootio-linux | 6.5.13-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-100.110 |
ubuntu 5 releases · 44 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux +5 | affected |
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1069.74~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1106.118~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1121.130~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1122.132~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1126.135~18.04.1 |
70 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-0607
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2258635
- git.kernel.org https://git.kernel.org/linus/c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63 (6.7-rc2)
- github.com https://github.com/torvalds/linux/commit/c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-0607.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-12275.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- lore.kernel.org https://lore.kernel.org/netfilter-devel/20230705121515.747251-1-cascardo@canonical.com/T/#mcc88bddfc9fd205cf6800bd9f68e11c4562cdbcc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-0607
Show all 24 references
- ubuntu.com https://ubuntu.com/security/notices/USN-6639-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6680-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6680-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6680-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6686-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6686-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6686-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6686-4
- ubuntu.com https://ubuntu.com/security/notices/USN-6686-5
- ubuntu.com https://ubuntu.com/security/notices/USN-6705-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6726-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6726-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6726-3
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-0607
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.