
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-53516 is a missing netlink attribute validation vulnerability in the Linux kernel's macvlan driver that can lead to out-of-bounds heap access. The flaw was introduced when commit 954d1fa1ac93 added the IFLA_MACVLAN_BC_CUTOFF netlink attribute without defining its corresponding nla_policy entry in drivers/net/macvlan.c. This omission allows a local attacker to submit a 0-byte value in place of the expected 4-byte NLA_S32 integer, bypassing length validation and triggering heap OOB behavior analogous to CVE-2023-3773. Affected versions include Linux kernel 6.4 through 6.4.7 and 6.5-rc1 through 6.5-rc3. The vulnerability carries a CVSS v3.1 base score of 7.8 (High) (Feedly, NVD).
The root cause is classified as CWE-787 (Out-of-bounds Write) and stems from an incomplete nla_policy definition in the macvlan driver. When the kernel processes a netlink message containing IFLA_MACVLAN_BC_CUTOFF, it normally validates the attribute length against the declared policy; without the policy entry, a malicious user can supply a zero-length attribute where a 4-byte signed integer is expected. The kernel then reads beyond the attribute's actual data boundary in heap memory, potentially corrupting adjacent heap contents. Exploitation requires local access with low privileges (e.g., the ability to send netlink messages to configure macvlan interfaces), and no user interaction is needed. The fix adds the missing NLA_S32 policy entry for IFLA_MACVLAN_BC_CUTOFF, enforcing proper length validation at the netlink layer (Feedly, NVD).
Successful exploitation by a local low-privileged attacker can result in out-of-bounds heap read or write operations, leading to memory corruption, sensitive information disclosure, privilege escalation, or denial of service (system crash). The vulnerability affects confidentiality, integrity, and availability at a high level, as heap corruption can be leveraged to overwrite kernel data structures or leak kernel memory contents. In containerized or multi-tenant environments, this could enable an attacker to escape isolation boundaries or escalate to root (Feedly).
No public proof-of-concept exploit or evidence of in-the-wild exploitation has been observed for CVE-2023-53516 (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. Exploitation requires local access with at least low-privilege credentials and the ability to issue netlink messages targeting macvlan interfaces.
RTM_NEWLINK or RTM_SETLINK netlink message targeting a macvlan interface, including the IFLA_MACVLAN_BC_CUTOFF attribute with a zero-length (0-byte) payload instead of the expected 4-byte NLA_S32 value.socket module) to send the crafted message to the kernel's NETLINK_ROUTE socket.nla_policy check, processes the attribute and reads or writes beyond the 0-byte buffer in heap memory, potentially corrupting adjacent kernel heap objects.Update the Linux kernel to version 6.4.8 or later, or to version 6.5 or later, which include the fix commits 55cef78c244d0d076f5a75a35530ca63c92f4426 and 79f44709aa7a744fbfbadd4aef678443290c6991 respectively (NVD, Feedly). If immediate patching is not feasible, restrict unprivileged users from performing netlink operations on macvlan interfaces using mandatory access control frameworks such as SELinux, AppArmor, or seccomp policies. Additionally, limiting the use of macvlan interfaces to trusted administrative users reduces the attack surface.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."