# CVE-2022-2978: A flaw use after free in the Linux kernel NILFS file system was found in the way user triggers function securityinodealloc to fail with fol…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2022-08-24T00:00:00.000Z
- Modified: 2026-10-14T14:17:22.440Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

A flaw use after free in the Linux kernel NILFS file system was found in the way user triggers function security_inode_alloc to fail with following call to function nilfs_mdt_destroy. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.

(As written by CVE List.)

## Affected

- Kernel: Linux kernel 6.0-rc3
- linux linux_kernel: from 2.6.12 before 4.9.331; from 4.10 before 4.14.296; from 4.15 before 4.19.262; from 4.20 before 5.4.218; from 5.5 before 5.10.148; from 5.11 before 5.15.73; from 5.16 before 5.19.15; from 6.0 before 6.0.1
- debian debian_linux: 10.0

## References

- <https://lore.kernel.org/linux-fsdevel/20220816040859.659129-1-dzm91%40hust.edu.cn/T/#u>
- <https://lists.debian.org/debian-lts-announce/2022/12/msg00034.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>

## Sources

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

---

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