CVE-2022-49190

kernel/resource: fix kfree() of bootmem memory again

No CVSS score yet EPSS 0.27%

Published 26 Feb 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-49190

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49190 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

kernel/resource: fix kfree() of bootmem memory again

Since commit ebff7d8f270d ("mem hotunplug: fix kfree() of bootmem memory"), we could get a resource allocated during boot via alloc_resource(). And it's required to release the resource using free_resource(). Howerver, many people use kfree directly which will result in kernel BUG. In order to fix this without fixing every call site, just leak a couple of bytes in such corner case.

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ebff7d8f270d045338d9f4796014f4db429a17f9, before 3379a60f6bb4afcd9c456e340ac525ae649d3ce7
affected from ebff7d8f270d045338d9f4796014f4db429a17f9, before a9e88c2618d228d7a4e7e515cf30dc0d0d813f27
affected from ebff7d8f270d045338d9f4796014f4db429a17f9, before d7faa04a44a0c37ac3d222fa8e0bdcbfcee9c0c8
affected from ebff7d8f270d045338d9f4796014f4db429a17f9, before ab86020070999e758ce2e60c4348f20bf7ddba56
affected from ebff7d8f270d045338d9f4796014f4db429a17f9, before 0cbcc92917c5de80f15c24d033566539ad696892
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 5.10.237 up to and including 5.10.*
unaffected from 5.15.33 up to and including 5.15.*
unaffected from 5.16.19 up to and including 5.16.*
unaffected from 5.17.2 up to and including 5.17.*
unaffected 5.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49190 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49190

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49190
trivy image --scanners vuln IMAGE | grep CVE-2022-49190

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49190 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.