Vulnerabilities

CVE-2024-38659

High 7.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-06-21
Last modified
2026-10-15
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 6.10 Affected
Linux Linux Kernel ≥ 2.6.35, < 4.19.316 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.278 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.161 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.93 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.219 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.33 Affected
Linux Linux Kernel ≥ 6.7, < 6.9.4 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities