CVE-2026-22987: net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy

Published Jan 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/sched: actapi: avoid dereferencing ERRPTR in tcfidrinfodestroy

syzbot reported a crash in tcactinhw() during netns teardown where tcfidrinfodestroy() passed an ERRPTR(-EBUSY) value as a tcaction pointer, leading to an invalid dereference.

Guard against ERRPTR entries when iterating the action IDR so teardown does not call tcactinhw() on an error pointer.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=6.17<6.18.6
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    When iterating the action IDR during teardown in tcf_idrinfo_destroy(), guard against ERR_PTR entries and do not call tc_act_in_hw() on an error pointer such as ERR_PTR(-EBUSY).

Event History

Jan 23, 2026
CVE Published
via MITRE·03:24 PM
Data Sourced
via MITRE·03:24 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-22987?

CVE-2026-22987 is a vulnerability in the Linux kernel that has been reported to cause a crash during network namespace teardown.

2

How do I fix CVE-2026-22987?

To fix CVE-2026-22987, it is recommended to update to the latest stable version of the Linux kernel where this vulnerability has been patched.

3

What systems are affected by CVE-2026-22987?

CVE-2026-22987 affects the Linux kernel, specifically impacting systems that utilize the traffic control (tc) mechanism.

4

Is CVE-2026-22987 an exploitable vulnerability?

CVE-2026-22987 is primarily considered a denial-of-service vulnerability due to its nature of causing a system crash.

5

Where can I find more information about CVE-2026-22987?

Additional information about CVE-2026-22987 can be found in the kernel changelogs or security advisories related to the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203