Back to CVE records
High 7.3Published Jun 21, 2024

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

Updated under an hour ago ()

Does this affect you?

It affects Linux and 5 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.3 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from f8bd909183acffad68780b10c1cdf36161cfd5d1 before 2b649d7e0cb42a660f0260ef25fd55fdc9c6c600; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before 3c0d36972edbe56fcf98899622d9b90ac9965227; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before 25571a12fbc8a1283bd8380d461267956fd426f7; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before 7077c22f84f41974a711604a42fd0e0684232ee5; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before f6638e955ca00c489894789492776842e102af9c; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before aee1955a1509a921c05c70dad5d6fc8563dfcb31; from f8bd909183acffad68780b10c1cdf36161cfd5d1 before e8021b94b0412c37bcc79027c2e382086b6ce449
CNA record
Siemens RUGGEDCOM RST2428P
siemens:ruggedcom_rst2428p (from the name)
before V3.1
CISA ADP
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
siemens:scalance_xc_300_xr_300_xc_400_xr_500wg_xr_500_family (from the name)
all versions not affected
CISA ADP
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
siemens:scalance_xcm_xrm_xch_xrh_300_family (from the name)
before V3.1
CISA ADP
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
before V1.1.1
CISA ADP
linux linux_kernel
linux:linux_kernel
from 2.6.35 before 4.19.316; from 4.20 before 5.4.278; from 5.5 before 5.10.219; from 5.11 before 5.15.161; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.9.4; 6.10
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.