# CVE-2022-49190: kernel/resource: fix kfree() of bootmem memory again

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-26T01:55:37.629Z
- Modified: 2026-11-05T20:16:59.903Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ebff7d8f270d045338d9f4796014f4db429a17f9 before 3379a60f6bb4afcd9c456e340ac525ae649d3ce7; from ebff7d8f270d045338d9f4796014f4db429a17f9 before a9e88c2618d228d7a4e7e515cf30dc0d0d813f27; from ebff7d8f270d045338d9f4796014f4db429a17f9 before d7faa04a44a0c37ac3d222fa8e0bdcbfcee9c0c8; from ebff7d8f270d045338d9f4796014f4db429a17f9 before ab86020070999e758ce2e60c4348f20bf7ddba56; from ebff7d8f270d045338d9f4796014f4db429a17f9 before 0cbcc92917c5de80f15c24d033566539ad696892; 3.10 (not affected: before 3.10; from 5.10.237 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 3.10 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## References

- <https://git.kernel.org/stable/c/3379a60f6bb4afcd9c456e340ac525ae649d3ce7>
- <https://git.kernel.org/stable/c/a9e88c2618d228d7a4e7e515cf30dc0d0d813f27> (patch)
- <https://git.kernel.org/stable/c/d7faa04a44a0c37ac3d222fa8e0bdcbfcee9c0c8> (patch)
- <https://git.kernel.org/stable/c/ab86020070999e758ce2e60c4348f20bf7ddba56> (patch)
- <https://git.kernel.org/stable/c/0cbcc92917c5de80f15c24d033566539ad696892> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

- CVE List: [CVE-2022-49190](https://www.cve.org/CVERecord?id=CVE-2022-49190), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-49190](https://nvd.nist.gov/vuln/detail/CVE-2022-49190), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-49190 · Whole record: https://cve.day/CVE-2022-49190.json · Rebuilt by cve.day 2026-11-25T22:58:20.265Z
