PT-2024-10466 · Linux+5 · Linux Kernel+5
Published
2024-07-30
·
Updated
2025-02-03
·
CVE-2024-42138
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a double memory deallocation in the Linux kernel's mlxsw component when an invalid INI file is encountered. Specifically, the
mlxsw linecard types init() function deallocates memory but does not reset the pointer to NULL, returning 0. If an error occurs after this function call, mlxsw linecards init() calls mlxsw linecard types fini(), which performs memory deallocation again, leading to a potential issue. The problem is resolved by adding a pointer reset to NULL. This issue was found by the Linux Verification Center with SVACE.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Double Free
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