CVE-2024-38659
HighIn 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 3.1 score
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness type
CWE-1284CVE-2024-38659 is classified as CWE-1284
See CWE-1284 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2024-38659 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/25571a12fbc8a1283bd8380d461267956fd426f7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2b649d7e0cb42a660f0260ef25fd55fdc9c6c600
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3c0d36972edbe56fcf98899622d9b90ac9965227
Frequently asked questions
-
What is CVE-2024-38659?
CVE-2024-38659 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 . CVE-2024-38659 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-38659?
CVE-2024-38659 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. -
Is there a patch available for CVE-2024-38659?
No patch is currently available for CVE-2024-38659. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-38659 actively exploited?
No — CVE-2024-38659 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.