phonet: fix rtm_phonet_notify() skb allocation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f062f41d06575744b9eaf725eef8a5d3b5f5b7ca · < ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00| No fix yet |
| Linux Linux |
|
|
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)
From the CVE record · Linux
The Linux kernel's rtm_phonet_notify() function allocates an skb without accounting for all three components stored by fill_route(). The input does not specify how an attacker could trigger or exploit this issue, or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.