[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2026012350-CVE-2026-22987-8984@gregkh>
Date: Fri, 23 Jan 2026 16:24:58 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2026-22987: net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists