CVE-2024-38659
enic: Validate length of nl attributes in enic_set_vf_port
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 25571a12fbc8a1283bd8380d461267956fd426f7; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 7077c22f84f41974a711604a42fd0e0684232ee5; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < f6638e955ca00c489894789492776842e102af9c; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < aee1955a1509a921c05c70dad5d6fc8563dfcb31; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < e8021b94b0412c37bcc79027c2e382086b6ce449
- Anyone running Linux 2.6.35
Vulnerability facts
- Affected
- Linux >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 25571a12fbc8a1283bd8380d461267956fd426f7; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 7077c22f84f41974a711604a42fd0e0684232ee5; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < f6638e955ca00c489894789492776842e102af9c; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < aee1955a1509a921c05c70dad5d6fc8563dfcb31; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < e8021b94b0412c37bcc79027c2e382086b6ce449; Linux 2.6.35
- Fixed in
- Linux 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600, Linux 3c0d36972edbe56fcf98899622d9b90ac9965227, Linux 25571a12fbc8a1283bd8380d461267956fd426f7, Linux 7077c22f84f41974a711604a42fd0e0684232ee5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-1284
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 25571a12fbc8a1283bd8380d461267956fd426f7; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 7077c22f84f41974a711604a42fd0e0684232ee5; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < f6638e955ca00c489894789492776842e102af9c; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < aee1955a1509a921c05c70dad5d6fc8563dfcb31; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < e8021b94b0412c37bcc79027c2e382086b6ce449 | — | cvelist |
| Linux | 2.6.35 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38659. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38659.md Affected: Linux >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227; >= f8bd909183acffad68780b1… Fixed in: Linux 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600, Linux 3c0d36972edbe56fcf98899622d9b90ac9965227, Linux 25571a12fbc8a1283bd8380d461267956fd426f7, Linux 7077c22f84f41974a711604a42fd0e0684232ee5 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2b649d7e0cb42a660f0260ef25fd55fdc9c6c600
- https://git.kernel.org/stable/c/ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d
- https://git.kernel.org/stable/c/3c0d36972edbe56fcf98899622d9b90ac9965227
- https://git.kernel.org/stable/c/25571a12fbc8a1283bd8380d461267956fd426f7
- https://git.kernel.org/stable/c/7077c22f84f41974a711604a42fd0e0684232ee5
- https://git.kernel.org/stable/c/f6638e955ca00c489894789492776842e102af9c
- https://git.kernel.org/stable/c/aee1955a1509a921c05c70dad5d6fc8563dfcb31
- https://git.kernel.org/stable/c/e8021b94b0412c37bcc79027c2e382086b6ce449
FAQ
Is CVE-2024-38659 being exploited?
There is no confirmed exploitation: CVE-2024-38659 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38659?
High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-38659?
Linux >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 25571a12fbc8a1283bd8380d461267956fd426f7; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < 7077c22f84f41974a711604a42fd0e0684232ee5; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < f6638e955ca00c489894789492776842e102af9c; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < aee1955a1509a921c05c70dad5d6fc8563dfcb31; >= f8bd909183acffad68780b10c1cdf36161cfd5d1, < e8021b94b0412c37bcc79027c2e382086b6ce449; Linux 2.6.35.
Is there a fix for CVE-2024-38659?
Yes. Fixed in Linux 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600, Linux 3c0d36972edbe56fcf98899622d9b90ac9965227, Linux 25571a12fbc8a1283bd8380d461267956fd426f7, Linux 7077c22f84f41974a711604a42fd0e0684232ee5. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-38659?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.