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.
References
Configurations
Configuration 1 (hide)
|
History
03 Nov 2025, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Information
Published : 2024-07-30 08:15
Updated : 2025-11-03 22:17
NVD link : CVE-2024-42138
Mitre link : CVE-2024-42138
CVE.ORG link : CVE-2024-42138
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-415
Double Free
