Live threats

All CVEs / Linux

CVE-2024-42138Linux Kernel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 18
Auth required
Yes
Published
Jul 30, 2024
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-415
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 5.19 < 6.1.98
linuxlinux_kernel≥ 6.2 < 6.6.39
linuxlinux_kernel≥ 6.7 < 6.9.9
linuxlinux_kernel6.10
linuxlinux_kernel6.10
linuxlinux_kernel6.10
linuxlinux_kernel6.10
linuxlinux_kernel6.10
linuxlinux_kernel6.10

Official sources

References

Links published by the sources. Open them with care.