CVE-2024-36946
JSON

5.5medium

phonet: fix rtm_phonet_notify() skb allocation

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.27% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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)

Affected

Product or packageVersionsReported by
Linux Linuxfrom f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before ec1f71c05caeba0f814df77e0f511d8b4618623a, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before dc6beac059f0331de97155a89d84058d4a9e49c7, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before f085e02f0a32f6dfcfabc6535c9c4a1707cef86b, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before 4ff334cade9dae50e4be387f71e94fae634aa9b4, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before 728a83160f98ee6b60df0d890141b9b7240182fe, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before 9a77226440008cf04ba68faf641a2d50f4998137, from f062f41d06575744b9eaf725eef8a5d3b5f5b7ca before d8cac8568618dcb8a51af3db1103e8d4cc4aeea7 and 1 more
Not affected: before 2.6.33, from 4.19.314 up to 4.19.*, from 5.4.276 up to 5.4.*, from 5.10.217 up to 5.10.*, from 5.15.159 up to 5.15.*, from 6.1.91 up to 6.1.*
CVE List
linux linux_kernelfrom 2.6.33 before 4.19.314, from 4.20 before 5.4.276, from 5.5 before 5.10.217, from 5.11 before 5.15.159, from 5.16 before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9NVD
debian debian_linux10.0NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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)

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: phonet: corrige la asignación de skb de rtm_phonet_notify() fill_route() almacena tres componentes en el skb: - struct rtmsg - RTA_DST (u8) - RTA_OIF (u32) Por lo tanto, rtm_phonet_notify() debería usar NLMSG_ALIGN(tamañode(struct rtmsg)) + nla_total_size(1) + nla_total_size(4)

References

https://git.kernel.org/stable/c/ec1f71c05caeba0f814df77e0f511d8b4618623apatch
https://git.kernel.org/stable/c/dc6beac059f0331de97155a89d84058d4a9e49c7patch
https://git.kernel.org/stable/c/f085e02f0a32f6dfcfabc6535c9c4a1707cef86bpatch
https://git.kernel.org/stable/c/4ff334cade9dae50e4be387f71e94fae634aa9b4patch
https://git.kernel.org/stable/c/728a83160f98ee6b60df0d890141b9b7240182fepatch
https://git.kernel.org/stable/c/ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00patch
https://git.kernel.org/stable/c/9a77226440008cf04ba68faf641a2d50f4998137patch
https://git.kernel.org/stable/c/d8cac8568618dcb8a51af3db1103e8d4cc4aeea7patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlthird-party-advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00019.htmlthird-party-advisory
https://security.netapp.com/advisory/ntap-20241004-0002/third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-36946 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-36946 changed 2026-06-17Public domain