{"id":"CVE-2026-22987","summary":"net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy\n\nsyzbot reported a crash in tc_act_in_hw() during netns teardown where\ntcf_idrinfo_destroy() passed an ERR_PTR(-EBUSY) value as a tc_action\npointer, leading to an invalid dereference.\n\nGuard against ERR_PTR entries when iterating the action IDR so teardown\ndoes not call tc_act_in_hw() on an error pointer.","modified":"2026-04-02T13:11:39.502114Z","published":"2026-01-23T15:24:08.865Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22987.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/67550a1130b647bb0d093c9c0a810c69aa6a30a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adb25a46dc0a43173f5ea5f5f58fc8ba28970c7c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22987.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22987"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"84a7d6797e6a03705e6b48c613fa424662049d87"},{"fixed":"67550a1130b647bb0d093c9c0a810c69aa6a30a8"},{"fixed":"adb25a46dc0a43173f5ea5f5f58fc8ba28970c7c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22987.json"}}],"schema_version":"1.7.5"}