wifi: rtlwifi: pci: fix possible use-after-free caused by unfinished irq_prepare_bcn_tasklet (Linux Linux)

CVE-2026-53112
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: rtlwifi: pci: fix possible use-after-free caused by unfinished irq_prepare_bcn_tasklet The irq_prepare_bcn_tasklet is initialized in rtl_pci_init() and scheduled when RTL_IMR_BCNINT interrupt is triggered by hardware. But it is never killed in rtl_pci_deinit(). When the rtlwifi card probe fails or is being detached, the ieee80211_hw is deallocated. However, irq_prepare_bcn_tasklet may still be running or pending, leading to use-after-free when the freed ieee80211_hw is accessed in _rtl_pci_prepare_bcn_tasklet(). Similar to irq_tasklet, add tasklet_kill() in rtl_pci_deinit() to ensure that irq_prepare_bcn_tasklet is properly terminated before the ieee80211_hw is released. The issue was identified through static analysis.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0c8173385e549f95cd80c3fff5aab87b4f881d8d < ae10d4a1ab6bcaa1336abb171908a9a365761d3e ; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d < fac1079e0fdec6df6d7562c21941587236dc3def ; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d < e40873820c9d245ce482faa7ad514ebdb3b8d23d ; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d < 008c456b76e9070979bc0e763897a5d3b0fdd4dc ; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d < 7731b67bd59d1284d150cbe40a47e95a10613234 ; affected 0c8173385e549f95cd80c3fff5aab87b4f881d8d < aa10a452e34810987fb9f4a047995b30003fb53f
Linux · Linuxaffected 2.6.38 ; unaffected 0 < 2.6.38 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.141 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD