CVE-2024-42138

High

Description

In the Linux kernel, the following vulnerability has been resolved: mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file In case of invalid INI file mlxsw_linecard_types_init() deallocates memory but doesn't reset pointer to NULL and returns 0. In case of any error occurred after mlxsw_linecard_types_init() call, mlxsw_linecards_init() calls mlxsw_linecard_types_fini() which performs memory deallocation again. Add pointer reset to NULL. Found by Linux Verification Center (linuxtesting.org) with SVACE.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJul 30, 2024
First seenJul 30, 2024

How to fix

Update
  • linux linux_kernel6.1.98, 6.6.39, 6.9.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.19 ≤ v < 6.1.98, 6.2 ≤ v < 6.6.39, 6.7 ≤ v < 6.9.9, 6.106.1.98, 6.6.39, 6.9.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-42138 · Linux Kernel · Dark Radar