PT-2024-28104 · Linux+5 · Linux Kernel+5
Roded Zats
·
Published
2024-05-22
·
Updated
2025-10-03
·
CVE-2024-38659
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the validation of length of nl attributes in the
enic set vf port function. The function assumes that the nl attribute IFLA PORT PROFILE is of length PORT PROFILE MAX and that the nl attributes IFLA PORT INSTANCE UUID and IFLA PORT HOST UUID are of length PORT UUID MAX. However, these attributes are validated using the nla policy ifla port policy, which defines the maximum size of the attributes, not the exact size. This might cause an out of bounds read access in the memcpys of the data of these attributes in enic set vf port. The do setlink function in rtnetlink.c uses the nla policy to validate the attributes.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu