Security mailing lists by PureSourceCode

CVE-2026-143157

not scored yet

net: 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 7acee67a6bce02e0af8a4bf7b412e2164d5a48e9, < 25de7edc0c032bc0b8fc9a6061e4092c2140a20f; >= 7acee67a6bce02e0af8a4bf7b412e2164d5a48e9, < dd6f1e7582f0f7f12c2d620cf50446aa987d7327 25de7edc0c032bc0b8fc9a6061e4092c2140a20f, dd6f1e7582f0f7f12c2d620cf50446aa987d7327
CVE List Linux Linux = 7.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.