Linux kernel: enic: Validate length of nl attributes in enic_set_vf_port
Overview
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.
- Published
- 6/21/2024
- Last modified
- 10/15/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 2.6.35, < 4.19.316 | Verify advisory | Source |
linux kernel linux | ≥ 4.20, < 5.4.278 | Verify advisory | Source |
linux kernel linux | ≥ 5.5, < 5.10.219 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.161 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.93 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.33 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.9.4 | Verify advisory | Source |
linux kernel linux | 6.10 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600 | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227 | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 25571a12fbc8a1283bd8380d461267956fd426f7 | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 7077c22f84f41974a711604a42fd0e0684232ee5 | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < f6638e955ca00c489894789492776842e102af9c | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < aee1955a1509a921c05c70dad5d6fc8563dfcb31 | Verify advisory | Source |
Linux Linux | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < e8021b94b0412c37bcc79027c2e382086b6ce449 | Verify advisory | Source |
Linux Linux | 2.6.35 | Verify advisory | Source |
RUGGEDCOM RST2428P Siemens | < V3.1 | Verify advisory | Source |
SCALANCE XCM-/XRM-/XCH-/XRH-300 family Siemens | < V3.1 | Verify advisory | Source |
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Siemens | < V1.1.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.