CVE-2024-42138
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| b217127e5e4ee0ecfce7c5f84cfe082238123bda | affected | git | ab557f5cd993a3201b09593633d04b891263d5c0 | Unavailable | None listed |
| b217127e5e4ee0ecfce7c5f84cfe082238123bda | affected | git | f8b55a465b0e8a500179808166fe9420f5c091a1 | Unavailable | None listed |
| b217127e5e4ee0ecfce7c5f84cfe082238123bda | affected | git | 9af7437669b72f804fc4269f487528dbbed142a2 | Unavailable | None listed |
| b217127e5e4ee0ecfce7c5f84cfe082238123bda | affected | git | 8ce34dccbe8fa7d2ef86f2d8e7db2a9b67cabfc3 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.19 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.19 | Unavailable | None listed |
| 6.1.98 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.39 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.9.9 | unaffected | semver | Unavailable | 6.9.* | None listed |
| 6.10 | unaffected | original_commit_for_fix | Unavailable | * | None listed |