Junglewise Threat Intelligence

CVE-2026-53112: Linux Kernel rtlwifi use-after-free in PCI beacon tasklet

CVE-2026-53112 · Severity: info · CVSS 0 · Published 2026-06-24

Technologies: Linux. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Realtek Wi-Fi driver could allow a local attacker to cause a system crash or potentially execute unauthorized code. The issue occurs when a Wi-Fi card is removed or fails to initialize, leaving background tasks running that try to access memory that has already been deleted. This primarily impacts system stability and availability for devices using Realtek PCI Wi-Fi adapters.

Technical details

A use-after-free (UAF) vulnerability exists in the Linux kernel's rtlwifi PCI driver (drivers/net/wireless/realtek/rtlwifi/pci.c). The 'irq_prepare_bcn_tasklet' is initialized during 'rtl_pci_init' but is not explicitly killed in 'rtl_pci_deinit'. If the Wi-Fi card probe fails or the device is detached, the 'ieee80211_hw' structure is deallocated while the tasklet may still be running or pending. When the tasklet eventually executes, it attempts to access the freed 'ieee80211_hw' memory in '_rtl_pci_prepare_bcn_tasklet'. The fix involves adding 'tasklet_kill()' to ensure the tasklet is terminated before memory release. This was discovered via static analysis.

Affected products

  • Linux Linux 2.6.38 to 7.1

Timeline

  • 2026-02-23: other: Patch submitted by developer
  • 2026-06-24: disclosed: CVE published

References