CVE-2024-26849
netlink: add nla be16/32 types to minlen array
Check your servers for CVE-2024-26849
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26849 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netlink: add nla be16/32 types to minlen array
BUG: KMSAN: uninit-value in nla_validate_range_unsigned lib/nlattr.c:222 [inline] BUG: KMSAN: uninit-value in nla_validate_int_range lib/nlattr.c:336 [inline] BUG: KMSAN: uninit-value in validate_nla lib/nlattr.c:575 [inline] BUG: KMSAN: uninit-value in __nla_validate_parse+0x2e20/0x45c0 lib/nlattr.c:631 nla_validate_range_unsigned lib/nlattr.c:222 [inline] nla_validate_int_range lib/nlattr.c:336 [inline] validate_nla lib/nlattr.c:575 [inline] ...
The message in question matches this policy:
[NFTA_TARGET_REV] = NLA_POLICY_MAX(NLA_BE32, 255),
but because NLA_BE32 size in minlen array is 0, the validation code will read past the malformed (too small) attribute.
Note: Other attributes, e.g. BITFIELD32, SINT, UINT.. are also missing: those likely should be added too.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 24ea1c8abaae6541ad95912422a9af4fb858428d, before 000a68159c0326b46c42ec712ab98793e7e625a7 affected from cbfac0add2afe8960a09806012313765a2179423, before 80b40f9cb87f3bf5877dfb852765cf92bc03ca77 affected from ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f, before 0ac219c4c3ab253f3981f346903458d20bacab32 affected from ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f, before a2ab028151841cd833cb53eb99427e0cc990112d affected from ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f, before 7a9d14c63b35f89563c5ecbadf918ad64979712d affected from ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f, before 9a0d18853c280f6a0ee99f91619f2442a17a323a
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.81 up to and including 6.1.* unaffected from 6.6.21 up to and including 6.6.* unaffected from 6.7.9 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26849 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26849
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26849
trivy image --scanners vuln IMAGE | grep CVE-2024-26849
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/000a68159c0326b46c42ec712ab98793e7e625a7 git.kernel.org
- https://git.kernel.org/stable/c/80b40f9cb87f3bf5877dfb852765cf92bc03ca77 git.kernel.org
- https://git.kernel.org/stable/c/0ac219c4c3ab253f3981f346903458d20bacab32 git.kernel.org
- https://git.kernel.org/stable/c/a2ab028151841cd833cb53eb99427e0cc990112d git.kernel.org
- https://git.kernel.org/stable/c/7a9d14c63b35f89563c5ecbadf918ad64979712d git.kernel.org
- https://git.kernel.org/stable/c/9a0d18853c280f6a0ee99f91619f2442a17a323a git.kernel.org
Source: the record CVE-2024-26849 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse