{"id":"CVE-2026-143157","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:50.597","lastModified":"2026-12-03T10:17:50.597","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: netns: fix INT_MAX nsid cleanup\n\nA syzkaller reproducer assigning INT_MAX as a peer nsid triggers an\nidr_get_next() warning during netns cleanup. With panic_on_warn, this\npanics the kernel.\n\nalloc_netid() also overflows reqid + 1 for this nsid. Use\nidr_alloc_u32() for requested IDs and idr_get_next_ul() for cleanup so\nthe cursor can advance past INT_MAX.\n\nQEMU/KVM reproduced the warning without kernel changes or fault\ninjection. The same reproducer ran without warnings after this change.\nKernel selftests were not run."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/core/net_namespace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7acee67a6bce02e0af8a4bf7b412e2164d5a48e9","lessThan":"25de7edc0c032bc0b8fc9a6061e4092c2140a20f","versionType":"git","status":"affected"},{"version":"7acee67a6bce02e0af8a4bf7b412e2164d5a48e9","lessThan":"dd6f1e7582f0f7f12c2d620cf50446aa987d7327","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/core/net_namespace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/25de7edc0c032bc0b8fc9a6061e4092c2140a20f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dd6f1e7582f0f7f12c2d620cf50446aa987d7327","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}