CVE-2026-53112

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

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before ae10d4a1ab6bcaa1336abb171908a9a365761d3eAffected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before fac1079e0fdec6df6d7562c21941587236dc3defAffected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before e40873820c9d245ce482faa7ad514ebdb3b8d23dAffected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before 008c456b76e9070979bc0e763897a5d3b0fdd4dcAffected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before 7731b67bd59d1284d150cbe40a47e95a10613234Affected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before aa10a452e34810987fb9f4a047995b30003fb53fAffected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before 3c0e8a3179e6325a7dc6ce221aef0e03d854ab4bAffected
  • 0c8173385e549f95cd80c3fff5aab87b4f881d8d to before 039cd522dc70151da13329a5e3ae19b1736f468aAffected
LinuxLinux
  • 2.6.38Affected
  • before 2.6.38Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.141 through 6.6.*Not affected
  • 6.12.91 through 6.12.*Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.