Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2024-42138mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file

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.

Timeline

  1. ID reserved

    By Linux

  2. · 1 day later

    Published

  3. · 22 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2024-42138, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.23% · top 86% of all CVEs (13 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.

Affected products

  • Linux · Linux

    • affected b217127e5e4ee0ecfce7c5f84cfe082238123bda – < ab557f5cd993a3201b09593633d04b891263d5c0
    • affected b217127e5e4ee0ecfce7c5f84cfe082238123bda – < f8b55a465b0e8a500179808166fe9420f5c091a1
    • affected b217127e5e4ee0ecfce7c5f84cfe082238123bda – < 9af7437669b72f804fc4269f487528dbbed142a2
    • affected b217127e5e4ee0ecfce7c5f84cfe082238123bda – < 8ce34dccbe8fa7d2ef86f2d8e7db2a9b67cabfc3
  • Linux · Linux

    • affected 5.19
    • unaffected < 5.19
    • unaffected 6.1.98 – ≤ 6.1.*
    • unaffected 6.6.39 – ≤ 6.6.*
    • unaffected 6.9.9 – ≤ 6.9.*
    • unaffected 6.10 – ≤ *

References

References5

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-42138 badge
[![CVE-2024-42138](https://cveledger.app/badge/CVE-2024-42138.svg)](https://cveledger.app/cve/CVE-2024-42138)

Record last updated .