CVE-2024-58063wifi: rtlwifi: fix memory leaks and invalid access at probe error path
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtlwifi: fix memory leaks and invalid access at probe error path Deinitialize at reverse order when probe fails. When init_sw_vars fails, rtl_deinit_core should not be called, specially now that it destroys the rtl_wq workqueue. And call rtl_pci_deinit and deinit_sw_vars, otherwise, memory will be leaked. Remove pci_set_drvdata call as it will already be cleaned up by the core driver code and could lead to memory leaks too. cf. commit 8d450935ae7f ("wireless: rtlwifi: remove unnecessary pci_set_drvdata()") and commit 3d86b93064c7 ("rtlwifi: Fix PCI probe error path orphaned memory").
Timeline
ID reserved
By Linux
Published
- 20 months later
· 20 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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 87% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < 85b67b4c4a0f8a6fb20cf4ef7684ff2b0cf559df
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < 455e0f40b5352186a9095f2135d5c89255e7c39a
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < b96371339fd9cac90f5ee4ac17ee5c4cbbdfa6f7
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < ee0b0d7baa8a6d42c7988f6e50c8f164cdf3fa47
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < 624cea89a0865a2bc3e00182a6b0f954a94328b4
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < 32acebca0a51f5e372536bfdc0d7d332ab749013
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < 6b76bab5c257463302c9e97f5d84d524457468eb
- affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d – < e7ceefbfd8d447abc8aca8ab993a942803522c06
- affected 2.6.38
- unaffected < 2.6.38
- unaffected 5.4.291 – ≤ 5.4.*
- unaffected 5.10.235 – ≤ 5.10.*
- unaffected 5.15.179 – ≤ 5.15.*
- unaffected 6.1.129 – ≤ 6.1.*
- unaffected 6.6.76 – ≤ 6.6.*
- unaffected 6.12.13 – ≤ 6.12.*
- unaffected 6.13.2 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References12
- https://git.kernel.org/stable/c/85b67b4c4a0f8a6fb20cf4ef7684ff2b0cf559df (opens in a new tab)
- https://git.kernel.org/stable/c/455e0f40b5352186a9095f2135d5c89255e7c39a (opens in a new tab)
- https://git.kernel.org/stable/c/b96371339fd9cac90f5ee4ac17ee5c4cbbdfa6f7 (opens in a new tab)
- https://git.kernel.org/stable/c/ee0b0d7baa8a6d42c7988f6e50c8f164cdf3fa47 (opens in a new tab)
- https://git.kernel.org/stable/c/624cea89a0865a2bc3e00182a6b0f954a94328b4 (opens in a new tab)
- https://git.kernel.org/stable/c/32acebca0a51f5e372536bfdc0d7d332ab749013 (opens in a new tab)
- https://git.kernel.org/stable/c/6b76bab5c257463302c9e97f5d84d524457468eb (opens in a new tab)
- https://git.kernel.org/stable/c/e7ceefbfd8d447abc8aca8ab993a942803522c06 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-54037 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-58063)Record last updated .