Skip to content
OpenAdvisories

Description

kernel/ucount.c in the Linux kernel 5.14 through 5.16.4, when unprivileged user namespaces are enabled, allows a use-after-free and privilege escalation because a ucounts object can outlive its namespace.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.15.15-2 —
Debian 13 linux 5.15.15-2 —
Debian 12 linux 5.15.15-2 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-oem-5.14 5.14.0-1022.24 USN-5278-1
Ubuntu 20.04 LTS linux-riscv +10 No fix yet —
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.15.26.1-1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References