7.8high
macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 8% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348 before 79f44709aa7a744fbfbadd4aef678443290c6991, from 954d1fa1ac93aa8a66f7d9a9ba545cf7f020d348 before 55cef78c244d0d076f5a75a35530ca63c92f4426, 6.4 Not affected: before 6.4, from 6.4.8 up to 6.4.*, from 6.5 up to * | CVE List |
| linux linux_kernel | from 6.4 before 6.4.8, 6.5 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53516 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2023-53516 changed 2026-11-05 | Public domain |