Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 815AC2D1911 for ; Fri, 23 Jan 2026 15:25:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769181923; cv=none; b=lk6i7Ic+GpEsrRoS0e1tCtl6zp+4VxKBXql8MSu+ay7xtWh/rc8aXmlxLiSXcbUXZQscdQzP0vRy2sCBGbphmw1I3uLTHYlKbPb+sFDDEqSStPinRO41rqUtWBvlLudrEwtsuHJ/Nzjp/tQgcq45OcPyLq3Ep3wHhK4dpTrCE34= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769181923; c=relaxed/simple; bh=4oFHFXml8FsWXKJ+gE2B6FNEbXUMLa/VkjclVu8QRTw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BlEqrzq3sF6UK0TJYMERz0T8W6jXAl+cB0zeynt0HWDgQccCXENIIBGsn0brajSJ1zUHSW1UJg8etEVqZpO/u11TYGN6jLMgkaP+gI+D8k2yM02ACAego+xd1ef8vEUhk4Gt5ug5ROhcvQXckLF5YvAoYUrAu8LRacYDL6DQ1eg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KmorPIqI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KmorPIqI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7AC6C4CEF1; Fri, 23 Jan 2026 15:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769181923; bh=4oFHFXml8FsWXKJ+gE2B6FNEbXUMLa/VkjclVu8QRTw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=KmorPIqIOVCTkyPYCbpBXs3o3iHguhJlEzekoFew8/KDWW2SrQyv+9WXPhVpZKHCo u+1KIK1GYmXaTprL8CkswWsXL9kR48nkTZovQ7yLuAKynl5CQ64rCsFCUvMW6IKiFQ edMFCZndyGP5Mb5fw7X8dzT0lA/062OOXZz4R6CY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-22987: net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy Date: Fri, 23 Jan 2026 16:24:58 +0100 Message-ID: <2026012350-CVE-2026-22987-8984@gregkh> X-Mailer: git-send-email 2.52.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=2087; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Eug6OKV3uArE+6ZdrLN+hxGMKCCRCa+6e/RhVm2nVt0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnFkw71Pum9lfiV7/VFoSN/7nlyeVvwnt3+e4aL8L93u /hOF8R3dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE5FcwzM+vf7/4Pu9UrvyK U2FHTBRzjI/UCjDMr5FZuPXz/FfLJpWzvti64v0dVy+BNAA= 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: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy syzbot reported a crash in tc_act_in_hw() during netns teardown where tcf_idrinfo_destroy() passed an ERR_PTR(-EBUSY) value as a tc_action pointer, leading to an invalid dereference. Guard against ERR_PTR entries when iterating the action IDR so teardown does not call tc_act_in_hw() on an error pointer. The Linux kernel CVE team has assigned CVE-2026-22987 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 84a7d6797e6a03705e6b48c613fa424662049d87 and fixed in 6.18.6 with commit 67550a1130b647bb0d093c9c0a810c69aa6a30a8 Issue introduced in 6.17 with commit 84a7d6797e6a03705e6b48c613fa424662049d87 and fixed in 6.19-rc5 with commit adb25a46dc0a43173f5ea5f5f58fc8ba28970c7c 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-22987 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/67550a1130b647bb0d093c9c0a810c69aa6a30a8 https://git.kernel.org/stable/c/adb25a46dc0a43173f5ea5f5f58fc8ba28970c7c