7.3

CVE-2024-38659: enic: Validate length of nl attributes in enic_set_vf_port

Modified
AliasesUBUNTU-CVE-2024-38659DEBIAN-CVE-2024-38659
Published 21-06-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-38659 is a high (CVSS 7.3) vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.3/10
010
High · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 34 · Related 30

Timeline

  1. 21-06-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu129 products
  • linuxAll versions (No fix recorded) | < 5.4.0-192.212 | < 5.15.0-121.131 | < 6.8.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1130.140 | < 5.15.0-1069.75 | < 6.8.0-1015.16
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600 | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 3c0d36972edbe56fcf98899622d9b90ac9965227 | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 25571a12fbc8a1283bd8380d461267956fd426f7 | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < 7077c22f84f41974a711604a42fd0e0684232ee5 | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < f6638e955ca00c489894789492776842e102af9c | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < aee1955a1509a921c05c70dad5d6fc8563dfcb31 | ≥ f8bd909183acffad68780b10c1cdf36161cfd5d1, < e8021b94b0412c37bcc79027c2e382086b6ce449 | 2.6.35
  • linux_kernel≥ 2.6.35, < 4.19.316 | ≥ 4.20, < 5.4.278 | ≥ 5.5, < 5.10.219 | ≥ 5.11, < 5.15.161 | ≥ 5.16, < 6.1.93 | ≥ 6.2, < 6.6.33 | ≥ 6.7, < 6.9.4 | 6.10:rc1
Debian1 product
  • linux< 6.1.94-1 | < 6.9.7-1

3 vendors · 132 products

References

34 links
Show all 34 references