cbcvebase.
CVE-2024-38659
published 2024-06-21

CVE-2024-38659: 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…

PriorityP432high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.24%
15.8th percentile
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

25 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.94-1 (bookworm)linux 6.1.94-1 (bookworm)
linuxlinux
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < 2b649d7e0cb42a660f0260ef25fd55fdc9c6c6002b649d7e0cb42a660f0260ef25fd55fdc9c6c600
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < ca63fb7af9d3e531aa25f7ae187bfc6c7166ec2dca63fb7af9d3e531aa25f7ae187bfc6c7166ec2d
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < 3c0d36972edbe56fcf98899622d9b90ac99652273c0d36972edbe56fcf98899622d9b90ac9965227
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < 25571a12fbc8a1283bd8380d461267956fd426f725571a12fbc8a1283bd8380d461267956fd426f7
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < 7077c22f84f41974a711604a42fd0e0684232ee57077c22f84f41974a711604a42fd0e0684232ee5
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < f6638e955ca00c489894789492776842e102af9cf6638e955ca00c489894789492776842e102af9c
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < aee1955a1509a921c05c70dad5d6fc8563dfcb31aee1955a1509a921c05c70dad5d6fc8563dfcb31
linuxlinux>= f8bd909183acffad68780b10c1cdf36161cfd5d1 < e8021b94b0412c37bcc79027c2e382086b6ce449e8021b94b0412c37bcc79027c2e382086b6ce449
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.221-15.10.221-1
linuxlinux_kernel>= 0 < 6.1.94-16.1.94-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 5.4.0-192.2125.4.0-192.212
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-44.446.8.0-44.44
linuxlinux_kernel>= 2.6.35 < 4.19.3164.19.316
linuxlinux_kernel>= 4.20 < 5.4.2785.4.278
linuxlinux_kernel>= 5.11 < 5.15.1615.15.161
linuxlinux_kernel>= 5.16 < 6.1.936.1.93
linuxlinux_kernel>= 5.5 < 5.10.2195.10.219
linuxlinux_kernel>= 6.2 < 6.6.336.6.33
linuxlinux_kernel>= 6.7 < 6.9.46.9.4

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.