VDB

CVE-2024-36017

CVE-2024-36017 PUBLISHED

rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation

Reported by linux · Published May 30, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux6.1.91-99.172.amzn2023, 4.14.348-265.562.amzn2
kernel-libbpf-staticAmazon Linux6.1.91-99.172.amzn2023
kernel-headersAmazon Linux4.14.348-265.562.amzn2
kernel-tools-develAmazon Linux6.1.91-99.172.amzn2023, 4.14.348-265.562.amzn2
kernel-toolsAmazon Linux6.1.91-99.172.amzn2023
bpftoolAmazon Linux6.1.91-99.172.amzn2023
python-perfAmazon Linux4.14.348-265.562.amzn2
kernel-libbpfAmazon Linux6.1.91-99.172.amzn2023
kernel-develAmazon Linux6.1.91-99.172.amzn2023
kernel-livepatch-4.14.348-265.562Amazon Linux1.0-0.amzn2
perfAmazon Linux6.1.91-99.172.amzn2023, 4.14.348-265.562.amzn2
kernel-libbpf-develAmazon Linux6.1.91-99.172.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux79aab093a0b5370d7fc4e99df75996f4744dc03f, 79aab093a0b5370d7fc4e99df75996f4744dc03f, 79aab093a0b5370d7fc4e99df75996f4744dc03f
LinuxLinux4.9, 0, 4.19.314
amazon:2023kernel0
amazon:2023kernel-libbpf-static0
amazon:2kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
amazon:2kernel-tools-devel0
amazon:2023bpftool0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
amazon:2python-perf0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-libbpf0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-devel0
amazon:2kernel0
amazon:2kernel-livepatch-4.14.348-265.5620
amazon:2023perf0
amazon:2perf0
amazon:2023kernel-libbpf-devel0

…and 12 more

Timeline

  • May 30, 2024 CVE Published
  • May 31, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (379 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (280 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-36017
vulnetix vdb fixes CVE-2024-36017

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36017/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›