IM
IronMonkey Threat Research

CVE-2024-36017 MEDIUM

Published: 2024-05-30 | Last Modified: 2025-12-17 | Status: Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation Each attribute inside a nested IFLA_VF_VLAN_LIST is assumed to be a struct ifla_vf_vlan_info so the size of such attribute needs to be at least of sizeof(struct ifla_vf_vlan_info) which is 14 bytes. The current size validation in do_setvfinfo is against NLA_HDRLEN (4 bytes) which is less than sizeof(struct ifla_vf_vlan_info) so this validation is not enough and a too small attribute might be cast to a struct ifla_vf_vlan_info, this might result in an out of bands read access when accessing the saved (casted) entry in ivvl.

Additional Descriptions (1)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtnetlink: Validación correcta del atributo IFLA_VF_VLAN_LIST anidado. Se supone que cada atributo dentro de un IFLA_VF_VLAN_LIST anidado es una estructura ifla_vf_vlan_info, por lo que el tamaño de dicho atributo debe ser al menos de sizeof(struct ifla_vf_vlan_info), que es de 14 bytes. La validación de tamaño actual en do_setvfinfo es contra NLA_HDRLEN (4 bytes), que es menor que sizeof(struct ifla_vf_vlan_info), por lo que esta validación no es suficiente y un atributo demasiado pequeño podría convertirse en una estructura ifla_vf_vlan_info, esto podría resultar en un acceso de lectura fuera de banda al acceder a la entrada guardada (transmitida) en ivvl.

CVSS Metrics

Base Score: 5.5 (MEDIUM)

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactNONE
Integrity ImpactNONE
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 3.6

Weaknesses

Source Type Description
[email protected] Primary
en NVD-CWE-noinfo

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x7fd38674d900> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd369c0cbc0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36b8a7480> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd360289240> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd369c0e180> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd369c0d080> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd369c0d180> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd369c0e3c0> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd369c0f480> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd36b8de6c0> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd3694ca8c0> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd369c0c880> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd2dbf6d740> Operating System
linux linux_kernel 6.9 <built-in method update of dict object at 0x7fd2a10dbe80> Operating System
debian debian_linux 10.0 <built-in method update of dict object at 0x7fd369c0e140> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References