VDB

CVE-2024-58063

CVE-2024-58063 PUBLISHED CVSS 5.5 MEDIUM

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.

PackageEcosystemFixed in
linux_kernellinux6.13.2, 6.12.13, 6.6.76, 6.1.129, 5.15.179, 5.10.235, 5.4.291

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux0c8173385e549f95cd80c3fff5aab87b4f881d8d, 0c8173385e549f95cd80c3fff5aab87b4f881d8d, 0c8173385e549f95cd80c3fff5aab87b4f881d8d
LinuxLinux2.6.38, 0, 5.4.291
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
linuxlinux_kernel2.6.38, 2.6.38, 2.6.38
LinuxLinux0c8173385e549f95cd80c3fff5aab87b4f881d8d, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›