CVE-2026-143157: net: netns: fix INT_MAX nsid cleanup

Published Dec 3, 2026
·
Updated

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

net: netns: fix INTMAX nsid cleanup

A syzkaller reproducer assigning INTMAX as a peer nsid triggers an idrgetnext() warning during netns cleanup. With paniconwarn, this panics the kernel.

allocnetid() also overflows reqid + 1 for this nsid. Use idrallocu32() for requested IDs and idrgetnextul() for cleanup so the cursor can advance past INTMAX.

QEMU/KVM reproduced the warning without kernel changes or fault injection. The same reproducer ran without warnings after this change. Kernel selftests were not run.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Are affected Linux kernel versions identified?

No affected version range is provided. The listed stable-kernel commit references identify fixes, but the data does not map them to release versions.

2

What evidence indicates a system is encountering this issue?

A warning from idr_get_next() during network-namespace cleanup after assigning INT_MAX as a peer NSID is the reported symptom. Systems configured with panic_on_warn can panic when that warning occurs.

3

How was the fix validated?

The reported syzkaller reproducer ran without warnings after the change, including under QEMU/KVM without kernel changes or fault injection. Kernel selftests were not run.

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