NULL pointer dereference in Linux

CVE-2026-22987

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.001, 1.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 84a7d6797e6a03705e6b48c613fa424662049d87, 6.17, 0
  • Linux Kernel — versions 6.19

Weakness classification (CWE)

References