CVE-2026-143157
not scored yetnet: netns: fix INT_MAX nsid cleanup
In the Linux kernel, the following vulnerability has been resolved:
net: netns: fix INT_MAX nsid cleanup
A syzkaller reproducer assigning INT_MAX as a peer nsid triggers an
idr_get_next() warning during netns cleanup. With panic_on_warn, this
panics the kernel.
alloc_netid() also overflows reqid + 1 for this nsid. Use
idr_alloc_u32() for requested IDs and idr_get_next_ul() for cleanup so
the cursor can advance past INT_MAX.
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 7acee67a6bce02e0af8a4bf7b412e2164d5a48e9, < 25de7edc0c032bc0b8fc9a6061e4092c2140a20f; >= 7acee67a6bce02e0af8a4bf7b412e2164d5a48e9, < dd6f1e7582f0f7f12c2d620cf50446aa987d7327 | 25de7edc0c032bc0b8fc9a6061e4092c2140a20f, dd6f1e7582f0f7f12c2d620cf50446aa987d7327 |
| CVE List | Linux | Linux | = 7.0 |
References
- https://git.kernel.org/stable/c/25de7edc0c032bc0b8fc9a6061e4092c2140a20f
- https://git.kernel.org/stable/c/dd6f1e7582f0f7f12c2d620cf50446aa987d7327
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)