# CVE-2024-36017: rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-05-30T12:52:03.554Z
- Modified: 2026-10-15T01:18:21.640Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 8ac69ff2d0d5be9734c4402de932aa3dc8549c1a; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 5e7ef2d88666a0212db8c38e6703864b9ce70169; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 6c8f44b02500c7d14b5e6618fe4ef9a0da47b3de; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before f3c1bf3054f96ddeab0621d920445bada769b40e; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 6e4c7193954f4faab92f6e8d88bc5565317b44e7; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 206003c748b88890a910ef7142d18f77be57550b; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 4a4b9757789a1551d2df130df23bfb3545bfa7e8; from 79aab093a0b5370d7fc4e99df75996f4744dc03f before 1aec77b2bb2ed1db0f5efc61c4c1ca3813307489; 4.9 (not affected: before 4.9; from 4.19.314 up to 4.19.*; from 5.4.276 up to 5.4.*; from 5.10.217 up to 5.10.*; from 5.15.159 up to 5.15.*; from 6.1.91 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.9 before 4.19.314; from 4.20 before 5.4.276; from 5.5 before 5.10.217; from 5.11 before 5.15.159; from 5.16 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/8ac69ff2d0d5be9734c4402de932aa3dc8549c1a> (patch)
- <https://git.kernel.org/stable/c/5e7ef2d88666a0212db8c38e6703864b9ce70169> (patch)
- <https://git.kernel.org/stable/c/6c8f44b02500c7d14b5e6618fe4ef9a0da47b3de> (patch)
- <https://git.kernel.org/stable/c/f3c1bf3054f96ddeab0621d920445bada769b40e> (patch)
- <https://git.kernel.org/stable/c/6e4c7193954f4faab92f6e8d88bc5565317b44e7> (patch)
- <https://git.kernel.org/stable/c/206003c748b88890a910ef7142d18f77be57550b> (patch)
- <https://git.kernel.org/stable/c/4a4b9757789a1551d2df130df23bfb3545bfa7e8> (patch)
- <https://git.kernel.org/stable/c/1aec77b2bb2ed1db0f5efc61c4c1ca3813307489> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-36017](https://www.cve.org/CVERecord?id=CVE-2024-36017), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-36017](https://nvd.nist.gov/vuln/detail/CVE-2024-36017), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-36017 · Whole record: https://cve.day/CVE-2024-36017.json · Rebuilt by cve.day 2026-11-25T22:58:41.101Z
