CVE-2024-38659enic: Validate length of nl attributes in enic_set_vf_port
- 7.3HighCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: enic: Validate length of nl attributes in enic_set_vf_port enic_set_vf_port assumes that the nl attribute IFLA_PORT_PROFILE is of length PORT_PROFILE_MAX and that the nl attributes IFLA_PORT_INSTANCE_UUID, IFLA_PORT_HOST_UUID are of length PORT_UUID_MAX. These attributes are validated (in the function do_setlink in rtnetlink.c) using the nla_policy ifla_port_policy. The policy defines IFLA_PORT_PROFILE as NLA_STRING, IFLA_PORT_INSTANCE_UUID as NLA_BINARY and IFLA_PORT_HOST_UUID as NLA_STRING. That means that the length validation using the policy is for the max size of the attributes and not on exact size so the length of these attributes might be less than the sizes that enic_set_vf_port expects. This might cause an out of bands read access in the memcpys of the data of these attributes in enic_set_vf_port.
Timeline
ID reserved
By Linux
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Affected products
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < 3c0d36972edbe56fcf98899622d9b90ac9965227
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < 25571a12fbc8a1283bd8380d461267956fd426f7
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < 7077c22f84f41974a711604a42fd0e0684232ee5
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < f6638e955ca00c489894789492776842e102af9c
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < aee1955a1509a921c05c70dad5d6fc8563dfcb31
- affected f8bd909183acffad68780b10c1cdf36161cfd5d1 – < e8021b94b0412c37bcc79027c2e382086b6ce449
- affected 2.6.35
- unaffected < 2.6.35
- unaffected 4.19.316 – ≤ 4.19.*
- unaffected 5.4.278 – ≤ 5.4.*
- unaffected 5.10.219 – ≤ 5.10.*
- unaffected 5.15.161 – ≤ 5.15.*
- unaffected 6.1.93 – ≤ 6.1.*
- unaffected 6.6.33 – ≤ 6.6.*
- unaffected 6.9.4 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References11
- https://git.kernel.org/stable/c/2b649d7e0cb42a660f0260ef25fd55fdc9c6c600 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/3c0d36972edbe56fcf98899622d9b90ac9965227 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/25571a12fbc8a1283bd8380d461267956fd426f7 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7077c22f84f41974a711604a42fd0e0684232ee5 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f6638e955ca00c489894789492776842e102af9c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/aee1955a1509a921c05c70dad5d6fc8563dfcb31 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/e8021b94b0412c37bcc79027c2e382086b6ce449 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-37512 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-38659)Record last updated .