Wind River Support Network

HomeDefectsLIN1024-3270
Fixed

LIN1024-3270 : Security Advisory - linux - CVE-2024-42138

Created: Jul 30, 2024    Updated: Aug 28, 2024
Resolved Date: Jul 30, 2024
Found In Version: 10.24.33.1
Fix Version: 10.24.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 24
Component/s: Kernel

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.

CREATE(Triage):(User=admin) CVE-2024-42138 (https://nvd.nist.gov/vuln/detail/CVE-2024-42138)

CVEs


Live chat
Online