# CVE-2022-49362: NFSD: Fix potential use-after-free in nfsd_file_put()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.65%, higher than 52% of CVEs (2026-12-02)
- Published: 2025-02-26T02:11:09.344Z
- Modified: 2026-08-05T08:54:54.470Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

NFSD: Fix potential use-after-free in nfsd_file_put()

nfsd_file_put_noref() can free @nf, so don't dereference @nf
immediately upon return from nfsd_file_put_noref().

(As written by CVE List.)

## Affected

- Linux Linux: from 9862064ca81f9b9da8ebe26c86cf2b10c293ba1a before ada1757b259f353cade47037ee0a0249b4cddad3; from a98e5b3d958ac697aafb3d077eb2cca4a731b7ee before 261eabe19cb28e4a8587a4442d257b543d7c2d57; from 999397926ab3f78c7d1235cc4ca6e3c89d2769bf before 333dcc94ebf53f79f3dc0e7a7c16700bc7ff7e57; from 999397926ab3f78c7d1235cc4ca6e3c89d2769bf before b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01; 5.18 (not affected: before 5.18; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.18 before 5.18.4; 5.19

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ada1757b259f353cade47037ee0a0249b4cddad3> (patch)
- <https://git.kernel.org/stable/c/261eabe19cb28e4a8587a4442d257b543d7c2d57> (patch)
- <https://git.kernel.org/stable/c/333dcc94ebf53f79f3dc0e7a7c16700bc7ff7e57> (patch)
- <https://git.kernel.org/stable/c/b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01> (patch)

## Sources

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

---

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