# CVE-2022-0480: A flaw was found in the filelockinit in fs/locks.c function in the Linux kernel.

- 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: 2022-08-29T14:03:04.000Z
- Modified: 2026-06-17T04:20:41.790Z
- Weaknesses: CWE-770
- Assigned by: redhat

## Description

A flaw was found in the filelock_init in fs/locks.c function in the Linux kernel. This issue can lead to host memory exhaustion due to memcg not limiting the number of Portable Operating System Interface (POSIX) file locks.

(As written by CVE List.)

## Affected

- kernel: Not Known
- linux linux_kernel: before 5.15
- redhat enterprise_linux: 9.0

## References

- <https://github.com/kata-containers/kata-containers/issues/3373> (issue-tracking, third-party-advisory)
- <https://lore.kernel.org/linux-mm/20210902215519.AWcuVc3li%25akpm%40linux-foundation.org/> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2049700> (issue-tracking, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0f12156dff2862ac54235fc72703f18770769042> (patch)
- <https://access.redhat.com/security/cve/CVE-2022-0480> (third-party-advisory)
- <https://ubuntu.com/security/CVE-2022-0480> (third-party-advisory)

## Sources

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

---

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