CVE-2022-49190

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

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ebff7d8f270d045338d9f4796014f4db429a17f9 to before 3379a60f6bb4afcd9c456e340ac525ae649d3ce7Affected
  • ebff7d8f270d045338d9f4796014f4db429a17f9 to before a9e88c2618d228d7a4e7e515cf30dc0d0d813f27Affected
  • ebff7d8f270d045338d9f4796014f4db429a17f9 to before d7faa04a44a0c37ac3d222fa8e0bdcbfcee9c0c8Affected
  • ebff7d8f270d045338d9f4796014f4db429a17f9 to before ab86020070999e758ce2e60c4348f20bf7ddba56Affected
  • ebff7d8f270d045338d9f4796014f4db429a17f9 to before 0cbcc92917c5de80f15c24d033566539ad696892Affected
LinuxLinux
  • 3.10Affected
  • before 3.10Not affected
  • 5.10.237 through 5.10.*Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.