SecurityContext

CVE-2026-98983: Linux Kernel - Namespace Reference Handling Vulnerability

  • Cve: CVE-2026-98983
  • Name: Linux Kernel - Namespace Reference Handling Vulnerability
  • Description: In the Linux kernel, the following vulnerability has been resolved: unshare: don't drop active namespace references that were never taken Active references on the namespaces of an nsproxy are taken when the nsproxy is installed into a task in switch_task_namespaces() and copy_namespaces() and dropped again by put_nsproxy() through deactivate_nsproxy(). But ksys_unshare() calls put_nsproxy() on an nsproxy that was never installed when set_cred_ucounts() fails. The new namespaces of that nsproxy go from zero to minus one and the namespaces shared with the caller lose a reference that belongs to the nsproxy the caller keeps using: WARNING: kernel/nscommon.c:171 at __ns_ref_active_put+0x1cd/0x230 nsproxy_ns_active_put deactivate_nsproxy ksys_unshare Afterwards the namespaces the caller lives in aren't listed by listns() anymore. set_cred_ucounts() only fails when alloc_ucounts() can't allocate and it only allocates when the real uid of the caller differs from its effective uid. Commit cefd55bd2159 ("nsproxy: fix free_nsproxy() and simplify create_new_namespaces()") separated the two cases on purpose. nsproxy_free() frees an nsproxy that was prepared but never installed and that's what a failed setns() uses in put_nsset(). Export it and use it for a failed unshare() as well.
  • Impact: Attackers can cause namespace reference inconsistencies, potentially leading to incorrect namespace visibility or denial of service.
  • Remediation: Update to the latest Linux kernel version containing commit cefd55bd2159 or later.
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker's real UID must differ from effective UID
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00163
  • Epss percentile: 0.05404
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-10-23T13:17:20Z
  • Age in days: 32
  • Modified at: 2026-10-23T13:17:20Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-98983
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, severity, cvss score, hackerone

References

UrlSourceTags
https://git.kernel.org/stable/c/0b6f31a3c0b16066f812e94b52a704174a6f23cdnvd
https://git.kernel.org/stable/c/56fe03a0c05dba4c5f6a23c391f96de1614a098cnvd

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 7.1, < 7.3; >= 7.1, < 7.2.11; >= 7.0.10; >= 6.18.33; >= 6.12.91; >= 6.6.141; >= 6.1.175; >= 5.15.209nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports