# CVE-2022-49442: drivers/base/node.c: fix compaction sysfs file leak

- 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.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-02-26T02:12:55.291Z
- Modified: 2026-06-17T05:18:03.713Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

drivers/base/node.c: fix compaction sysfs file leak

Compaction sysfs file is created via compaction_register_node in
register_node.  But we forgot to remove it in unregister_node.  Thus
compaction sysfs file is leaked.  Using compaction_unregister_node to fix
this issue.

(As written by CVE List.)

## Affected

- Linux Linux: from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before 39642b0feddb9c39faa6de469a94bfeb4dc0d3a9; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before 606732650a2c88e66c59c22dd5464ea0d820250e; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before 386e69e068177ee91cac27f2f0e6ebda1515f5ca; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before d8a5bdc767f17281da648555cdbd286f98fd98ee; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before b3fcf1f583b1a0946d9d9bfb7362c9c186801775; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before 466134df7561aeb801baddf6666b512e0e1a1707; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before 6905be93d1ab54f73718047536fec0ca488d5315; from ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 before da63dc84befaa9e6079a0bc363ff0eaa975f9073; 2.6.35 (not affected: before 2.6.35; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 2.6.35 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## References

- <https://git.kernel.org/stable/c/39642b0feddb9c39faa6de469a94bfeb4dc0d3a9> (patch)
- <https://git.kernel.org/stable/c/606732650a2c88e66c59c22dd5464ea0d820250e> (patch)
- <https://git.kernel.org/stable/c/f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48> (patch)
- <https://git.kernel.org/stable/c/386e69e068177ee91cac27f2f0e6ebda1515f5ca> (patch)
- <https://git.kernel.org/stable/c/d8a5bdc767f17281da648555cdbd286f98fd98ee> (patch)
- <https://git.kernel.org/stable/c/b3fcf1f583b1a0946d9d9bfb7362c9c186801775> (patch)
- <https://git.kernel.org/stable/c/466134df7561aeb801baddf6666b512e0e1a1707> (patch)
- <https://git.kernel.org/stable/c/6905be93d1ab54f73718047536fec0ca488d5315> (patch)
- <https://git.kernel.org/stable/c/da63dc84befaa9e6079a0bc363ff0eaa975f9073> (patch)

## Sources

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

---

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