What’s Vulnerable › Vulnerabilities

CVE-2024-36946: phonet: fix rtm_phonet_notify() skb allocation

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.314, 5.10.217, 5.15.159, 5.4.276. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-36946 or the next vulnerability affects your stack