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 BDD32476CE0 for ; Fri, 9 Oct 2026 07:34:51 +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=1791531293; cv=none; b=fxiWvC3NnP7C+oipczOaE3q9AWQQLc079kNJOhBQsSxKgLxMgC5TU6nknpFybAj7bZ8SNxwWOZPeW+Ek6Umpc5uL+yrnyKW4F7XfS7yIuRsUXv32EOLMDHaVK9rT5HUtuAztfp53tnrgzG/Q6dR+YCebcnfXhkSWbcKBN9eIdd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791531293; c=relaxed/simple; bh=iu9sr5SiqTITap30ebKbuUXS4TVQTw+7B5R7yQbnckk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XaPTIoMpHtqQ57yjzy80Njh9nD7P7RC9WKEt4K+5M8/FwOV0BocuQUy1XBboClx2RnnufxO+CWZHiB4VPjnZMOUEiFFrrozOCsksivO6WojmlBm2s+n+drPoo7ayfEj7vW/b/Jybpe5YY02vRcPHDidKSnBOXUjuAn39mF2CoV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WIc+pHCS; 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="WIc+pHCS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C34A91F000FF; Fri, 9 Oct 2026 07:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791531291; bh=0tncAToQGe/ecPrbDs536quEdRgBUe4aWtETF6DRfCs=; h=From:To:Cc:Subject:Date:Reply-To; b=WIc+pHCSXYg7dGFWbWwulQOuMuOXL47BG5s0Vwf58uH86SkfZqFt1pdMglSY3DLyo +2X67XSkbAHPpXbnBfmtaqEYCmp26xlqLhhFrOrlRDw/Op8Qjk8psbwdmg+xDTSHTM hhXrwMEO1neZyxcuPwcq73t6VWAFVUvRR8xPQBAo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98380: net/sched: reject IDR error pointers when deleting actions Date: Fri, 9 Oct 2026 09:34:21 +0200 Message-ID: <2026100918-CVE-2026-98380-8c7b@gregkh> X-Mailer: git-send-email 2.56.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=4656; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dJPEwo2dpM58u6qYF4ybnf0wm+Knspvm+W/4lFvP1a4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFknZvxScVt5VINhruWMm7+UvzjYnW0T5Qq6yna7/FR47 pTK2g8RHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR2YEMc4VqGppM1udsmpa/ 5Mji7cvWf/6i7Mcwz8Sj/t0Od93se+qbKkMu3A2c+8ppEgA= 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: net/sched: reject IDR error pointers when deleting actions tcf_action_delete() drops the reference held by its lookup before calling tcf_idr_delete_index() with the saved action index. An unlocked classifier can remove that action and reserve the same IDR slot with ERR_PTR(-EBUSY) in between. tcf_idr_delete_index() only checks the lookup result for NULL. It therefore treats the reservation as a tc_action and dereferences tcfa_bindcnt. A hardware execution breakpoint was used to schedule the interleaving without changing the kernel source. KASAN reported this decoded trace: BUG: KASAN: null-ptr-deref in tca_action_gd+0x5b9/0x1010 Read of size 4 at addr 0000000000000010 by task poc/150 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002 RIP: tca_action_gd+0x5c0/0x1010: arch_atomic_read at arch/x86/include/asm/atomic.h:23 raw_atomic_read at include/linux/atomic/atomic-arch-fallback.h:457 atomic_read at include/linux/atomic/atomic-instrumented.h:33 tcf_idr_delete_index at net/sched/act_api.c:766 tcf_action_delete at net/sched/act_api.c:1859 tcf_del_notify at net/sched/act_api.c:2014 tca_action_gd at net/sched/act_api.c:2064 R13: 0000000000000010 R15: fffffffffffffff0 Kernel panic - not syncing: Fatal exception R15 contains ERR_PTR(-EBUSY), and adding the tcfa_bindcnt offset produces the address in R13. With the guard applied, the same reproducer returned -ENOENT without a KASAN report or panic. Treat error pointers as absent and return -ENOENT. The Linux kernel CVE team has assigned CVE-2026-98380 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 5.10.271 with commit 39b751a210bf61a374afa82749afc7a77a08bf1d Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 5.15.222 with commit dd80a7519824b72c8fcfd3cc50cb93f7e2d90923 Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 6.1.189 with commit 6bf076258aac4e0af69ef317656c31ce6444d647 Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 6.6.158 with commit 6c9f07bf8800171de2cd3f02815cebe1f4d45f2d Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 6.12.112 with commit 259caa711b7688365676442e2fdb286b8aceaa80 Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 6.18.55 with commit 968550a439f64bd1a6c0d88efb92e4f082f84a26 Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 7.2.9 with commit a9551f26287debe6d8aa6e8841974661065b975f Issue introduced in 4.19 with commit 0190c1d452a91c38a3462abdd81752be1b9006a8 and fixed in 7.3-rc5 with commit c82b797abe668d0b668601a93ba2c0b071a63574 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-98380 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: net/sched/act_api.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/39b751a210bf61a374afa82749afc7a77a08bf1d https://git.kernel.org/stable/c/dd80a7519824b72c8fcfd3cc50cb93f7e2d90923 https://git.kernel.org/stable/c/6bf076258aac4e0af69ef317656c31ce6444d647 https://git.kernel.org/stable/c/6c9f07bf8800171de2cd3f02815cebe1f4d45f2d https://git.kernel.org/stable/c/259caa711b7688365676442e2fdb286b8aceaa80 https://git.kernel.org/stable/c/968550a439f64bd1a6c0d88efb92e4f082f84a26 https://git.kernel.org/stable/c/a9551f26287debe6d8aa6e8841974661065b975f https://git.kernel.org/stable/c/c82b797abe668d0b668601a93ba2c0b071a63574