CVE-2024-42093

high

Description

In the Linux kernel, the following vulnerability has been resolved: net/dpaa2: Avoid explicit cpumask var allocation on stack For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask variable on stack is not recommended since it can cause potential stack overflow. Instead, kernel code should always use *cpumask_var API(s) to allocate cpumask var in config-neutral way, leaving allocation strategy to CONFIG_CPUMASK_OFFSTACK. Use *cpumask_var API(s) to address it.

References

https://git.kernel.org/stable/c/d33fe1714a44ff540629b149d8fab4ac6967585c

https://git.kernel.org/stable/c/b2262b3be27cee334a2fa175ae3afb53f38fb0b1

https://git.kernel.org/stable/c/a55afc0f5f20ba30970aaf7271929dc00eee5e7d

https://git.kernel.org/stable/c/763896ab62a672d728f5eb10ac90d98c607a8509

https://git.kernel.org/stable/c/69f49527aea12c23b78fb3d0a421950bf44fb4e2

https://git.kernel.org/stable/c/5e4f25091e6d06e99a23f724c839a58a8776a527

https://git.kernel.org/stable/c/48147337d7efdea6ad6e49f5b8eb894b95868ef0

Details

Source: Mitre, NVD

Published: 2024-07-29

Updated: 2024-08-26

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

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

Severity: High