CVE-2024-36946
phonet: fix rtm_phonet_notify() skb allocation
Check your servers for CVE-2024-36946
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-36946 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:
phonet: fix rtm_phonet_notify() skb allocation
fill_route() stores three components in the skb:
- struct rtmsg - RTA_DST (u8) - RTA_OIF (u32)
Therefore, rtm_phonet_notify() should use
NLMSG_ALIGN(sizeof(struct rtmsg)) + nla_total_size(1) + nla_total_size(4)
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before ec1f71c05caeba0f814df77e0f511d8b4618623a affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before dc6beac059f0331de97155a89d84058d4a9e49c7 affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before f085e02f0a32f6dfcfabc6535c9c4a1707cef86b affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before 4ff334cade9dae50e4be387f71e94fae634aa9b4 affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before 728a83160f98ee6b60df0d890141b9b7240182fe affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00 affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before 9a77226440008cf04ba68faf641a2d50f4998137 affected from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca, before d8cac8568618dcb8a51af3db1103e8d4cc4aeea7
Other versions: unaffected
|
| Linux |
affected 2.6.33 unaffected before 2.6.33 unaffected from 4.19.314 up to and including 4.19.* unaffected from 5.4.276 up to and including 5.4.* unaffected from 5.10.217 up to and including 5.10.* unaffected from 5.15.159 up to and including 5.15.* unaffected from 6.1.91 up to and including 6.1.* unaffected from 6.6.31 up to and including 6.6.* unaffected from 6.8.10 up to and including 6.8.* unaffected 6.9 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-36946 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36946
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-36946
trivy image --scanners vuln IMAGE | grep CVE-2024-36946
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/ec1f71c05caeba0f814df77e0f511d8b4618623a git.kernel.org
- https://git.kernel.org/stable/c/dc6beac059f0331de97155a89d84058d4a9e49c7 git.kernel.org
- https://git.kernel.org/stable/c/f085e02f0a32f6dfcfabc6535c9c4a1707cef86b git.kernel.org
- https://git.kernel.org/stable/c/4ff334cade9dae50e4be387f71e94fae634aa9b4 git.kernel.org
- https://git.kernel.org/stable/c/728a83160f98ee6b60df0d890141b9b7240182fe git.kernel.org
- https://git.kernel.org/stable/c/ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00 git.kernel.org
- https://git.kernel.org/stable/c/9a77226440008cf04ba68faf641a2d50f4998137 git.kernel.org
- https://git.kernel.org/stable/c/d8cac8568618dcb8a51af3db1103e8d4cc4aeea7 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html lists.debian.org
- https://security.netapp.com/advisory/ntap-20241004-0002/ security.netapp.com
Source: the record CVE-2024-36946 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