CVE-2024-58063
wifi: rtlwifi: fix memory leaks and invalid access at probe error path
Reported by linux · Published March 6, 2025
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").
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.13.2, 6.12.13, 6.6.76, 6.1.129, 5.15.179, 5.10.235, 5.4.291 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0c8173385e549f95cd80c3fff5aab87b4f881d8d, 0c8173385e549f95cd80c3fff5aab87b4f881d8d, 0c8173385e549f95cd80c3fff5aab87b4f881d8d |
| Linux | Linux | 2.6.38, 0, 5.4.291 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| linux | linux_kernel | 2.6.38, 2.6.38, 2.6.38 |
| Linux | Linux | 0c8173385e549f95cd80c3fff5aab87b4f881d8d, 0c8173385e549f95cd80c3fff5aab87b4f881d8d, 0c8173385e549f95cd80c3fff5aab87b4f881d8d |
Timeline
- Mar 6, 2025 CVE Published
- Mar 7, 2025 EPSS Score (30 in total, the first dated here)
- Mar 7, 2025 Coalition ESS Score (15 in total, the first dated here)
- Dec 29, 2025 Security Advisory (133 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (132 in total, the first dated here)
- Nov 12, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-58063
vulnetix vdb fixes CVE-2024-58063
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-58063/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart