# CVE-2026-53112: wifi: rtlwifi: pci: fix possible use-after-free caused by unfinished irq_prepare_bcn_tasklet

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:45.359Z
- Modified: 2026-07-23T21:30:30.730Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before ae10d4a1ab6bcaa1336abb171908a9a365761d3e; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before fac1079e0fdec6df6d7562c21941587236dc3def; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before e40873820c9d245ce482faa7ad514ebdb3b8d23d; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 008c456b76e9070979bc0e763897a5d3b0fdd4dc; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 7731b67bd59d1284d150cbe40a47e95a10613234; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before aa10a452e34810987fb9f4a047995b30003fb53f; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 3c0e8a3179e6325a7dc6ce221aef0e03d854ab4b; from 0c8173385e549f95cd80c3fff5aab87b4f881d8d before 039cd522dc70151da13329a5e3ae19b1736f468a; 2.6.38 (not affected: before 2.6.38; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.38 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/ae10d4a1ab6bcaa1336abb171908a9a365761d3e> (patch)
- <https://git.kernel.org/stable/c/fac1079e0fdec6df6d7562c21941587236dc3def> (patch)
- <https://git.kernel.org/stable/c/e40873820c9d245ce482faa7ad514ebdb3b8d23d> (patch)
- <https://git.kernel.org/stable/c/008c456b76e9070979bc0e763897a5d3b0fdd4dc> (patch)
- <https://git.kernel.org/stable/c/7731b67bd59d1284d150cbe40a47e95a10613234> (patch)
- <https://git.kernel.org/stable/c/aa10a452e34810987fb9f4a047995b30003fb53f> (patch)
- <https://git.kernel.org/stable/c/3c0e8a3179e6325a7dc6ce221aef0e03d854ab4b> (patch)
- <https://git.kernel.org/stable/c/039cd522dc70151da13329a5e3ae19b1736f468a> (patch)

## Sources

- CVE List: [CVE-2026-53112](https://www.cve.org/CVERecord?id=CVE-2026-53112), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-53112](https://nvd.nist.gov/vuln/detail/CVE-2026-53112), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-53112 · Whole record: https://cve.day/CVE-2026-53112.json · Rebuilt by cve.day 2026-11-25T22:59:25.700Z
