Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1982F32D7F1 for ; Wed, 24 Jun 2026 16:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319242; cv=none; b=BpyAA4pKVuqKENz7IKN7D0orpdYpgRtdAd2Pr8qahFkTau5kajxje1jiHA23ZvKDLwXzsaILIhfaAZBVxVczPNSUWWejJ4l7haecYZP1+PSXF19w+n7yOMuR2vMnJHleTHsQJYFRXvUV/yMzD7Td+um5RQ+Em/FcsERbI8wW8UA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319242; c=relaxed/simple; bh=LAB8ub0ZHZXJUoxg8VAOoLK/CqbFI3WWW2cVzDQJl7c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CINQk1OrrInxFSQazdhuyWj3W4WXwxQd3r9qEbXha6+PSaf3YJNWK23VO5voEpHqTxbu2dDn+bvnz3yhI4FMORvI6tr9yFEbbc4oi2v1kesEZGfhmQGTAVNKGBGsxCML2XV0fsBch3v8ueBhyHHeHioUDuYwqAvu1dwI/u8lTuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qc+kumhS; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Qc+kumhS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CC2A1F000E9; Wed, 24 Jun 2026 16:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319241; bh=7FjaKfLDvsEKsr+VC7bKVXF8z75RhGQnj/ja4mvCnCE=; h=From:To:Cc:Subject:Date:Reply-To; b=Qc+kumhSRWv3eVnrMGt50fPxJz78NByvHsMDYnHTHy9Ch7SSa1R2Y4valE6xb4xOs Xnej19JA2DONU4Sf7j0RD6mXSn9td/qh5m1xL74mzpCRnFnhbpZO66zNKLBV7PyrlE VxsIK0tWHTPh2gH8Wd1rfH/emEJLzJ/GUB2hoPQY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53112: wifi: rtlwifi: pci: fix possible use-after-free caused by unfinished irq_prepare_bcn_tasklet Date: Wed, 24 Jun 2026 17:32:16 +0100 Message-ID: <2026062414-CVE-2026-53112-ca3f@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3865; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1d5S2TxQg4zvZERZmu8bVjaW+ky7prITG1wnzhrqtac=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bGK5+WeMT85iW6VRJ7qT7WBmaF67wXm1hPiLhxmU9 6c4zp/bEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJq2eYn8/E9DFFb4LL6qfB l9Zf75T13qz+hGHB5A06rNPVL6ampT/hX6Bwx2xRsdobAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-53112 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 5.10.258 with commit ae10d4a1ab6bcaa1336abb171908a9a365761d3e Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 5.15.209 with commit fac1079e0fdec6df6d7562c21941587236dc3def Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.1.175 with commit e40873820c9d245ce482faa7ad514ebdb3b8d23d Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.6.141 with commit 008c456b76e9070979bc0e763897a5d3b0fdd4dc Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.12.91 with commit 7731b67bd59d1284d150cbe40a47e95a10613234 Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 6.18.33 with commit aa10a452e34810987fb9f4a047995b30003fb53f Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 7.0.10 with commit 3c0e8a3179e6325a7dc6ce221aef0e03d854ab4b Issue introduced in 2.6.38 with commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d and fixed in 7.1 with commit 039cd522dc70151da13329a5e3ae19b1736f468a Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-53112 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/realtek/rtlwifi/pci.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/ae10d4a1ab6bcaa1336abb171908a9a365761d3e https://git.kernel.org/stable/c/fac1079e0fdec6df6d7562c21941587236dc3def https://git.kernel.org/stable/c/e40873820c9d245ce482faa7ad514ebdb3b8d23d https://git.kernel.org/stable/c/008c456b76e9070979bc0e763897a5d3b0fdd4dc https://git.kernel.org/stable/c/7731b67bd59d1284d150cbe40a47e95a10613234 https://git.kernel.org/stable/c/aa10a452e34810987fb9f4a047995b30003fb53f https://git.kernel.org/stable/c/3c0e8a3179e6325a7dc6ce221aef0e03d854ab4b https://git.kernel.org/stable/c/039cd522dc70151da13329a5e3ae19b1736f468a