Skip to main content
Public proof of conceptFix available

CVE-2022-24122

A public proof of concept exists; no exploitation attested.

  • Published2022-01-29
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-01-2922:15CVE publishedNVD

Versions per branch

NVD
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
Linux linux kernel
BranchAffectedFixed in
5.16≥ 5.16, < 5.16.55.16.5
5.x≥ 5.14, < 5.15.195.15.19
Netapp h300e firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published

7 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kernelMageia:8all versions · fixed in 5.15.18-2.mga8
  • kernelAzure Linux:2all versions · fixed in 5.15.26.1-1
  • kernel-linusMageia:8all versions · fixed in 5.15.23-1.mga8
  • kmod-virtualboxMageia:8all versions · fixed in 6.1.32-1.4.mga8
  • kmod-xtables-addonsMageia:8all versions · fixed in 3.18-1.52.mga8
  • linuxDebian:14all versions · fixed in 5.15.15-2
  • linuxDebian:13all versions · fixed in 5.15.15-2
  • linuxDebian:12all versions · fixed in 5.15.15-2

4 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-24122 Red Hat Product Security

    kernel: use-after-free and privilege escalation in kernel/ucount.c when unprivileged user namespaces are enabled

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2022-01-29
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-qffg-f4f5-j77v

Frequently asked questions

What is CVE-2022-24122?

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.

Is CVE-2022-24122 actively exploited?

Active exploitation of CVE-2022-24122 has not been confirmed. Its EPSS score was 1.0% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-24122?

CVE-2022-24122 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record