macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.4.8, Kernel 79f44709aa7a744fbfbadd4aef678443290c6991 and Kernel 55cef78c244d0d076f5a75a35530ca63c92f4426.
In the Linux kernel, the following vulnerability has been resolved: macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF The previous commit 954d1fa1ac93 ("macvlan: Add netlink attribute for broadcast cutoff") added one additional attribute named IFLA_MACVLAN_BC_CUTOFF to allow broadcast cutfoff. However, it forgot to describe the nla_policy at macvlan_policy (drivers/net/macvlan.c). Hence, this suppose NLA_S32 (4 bytes) integer can be faked as empty (0 bytes) by a malicious user, which could leads to OOB in heap just like CVE-2023-3773. To fix it, this commit just completes the nla_policy description for IFLA_MACVLAN_BC_CUTOFF. This enforces the length check and avoids the potential OOB read.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.4 <6.4.8, =6.5, >=954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348 <79f44709aa7a744fbfbadd4aef678443290c6991, =6.4, >=954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348 <55cef78c244d0d076f5a75a35530ca63c92f4426 | 6.4.8, 79f44709aa7a744fbfbadd4aef678443290c6991, 55cef78c244d0d076f5a75a35530ca63c92f4426 |
| linux-kernel: Kernel | >=6.4.0 <6.4.8 | 6.4.8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket