CVE Catalog

CVE-2024-36017

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

15th percentile - higher than 15% of all known CVEs

Summary

In the Linux kernel, the rtnetlink module's validation of the nested IFLA_VF_VLAN_LIST attribute size was insufficient — it checked only NLA_HDRLEN (4 bytes) instead of sizeof(struct ifla_vf_vlan_info) (14 bytes). A too-small attribute could be cast to the struct, causing an out-of-bounds read.

Risk Assessment

An out-of-bounds read can expose kernel memory data or cause a system crash, posing a risk to confidentiality and availability.

Recommendation

Update the Linux kernel to a version containing the fix for IFLA_VF_VLAN_LIST attribute size validation in do_setvfinfo.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation Each attribute inside a nested IFLA_VF_VLAN_LIST is assumed to be a struct ifla_vf_vlan_info so the size of such attribute needs to be at least of sizeof(struct ifla_vf_vlan_info) which is 14 bytes. The current size validation in do_setvfinfo is against NLA_HDRLEN (4 bytes) which is less than sizeof(struct ifla_vf_vlan_info) so this validation is not enough and a too small attribute might be cast to a struct ifla_vf_vlan_info, this might result in an out of bands read access when accessing the saved (casted) entry in ivvl.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS