# CVE-2022-50302: lockd: set other missing fields when unlocking files

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-09-15T14:45:57.924Z
- Modified: 2026-08-05T08:58:05.609Z
- Assigned by: Linux

## Description

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

lockd: set other missing fields when unlocking files

vfs_lock_file() expects the struct file_lock to be fully initialised by
the caller. Re-exported NFSv3 has been seen to Oops if the fl_file field
is NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from 486c1acf14233b1ff7b37e6f026a737a2f7f53f1 before 31c93ee5f1e4dc278b562e20f3c3274ac34997f3; from 9c3eef773cf4a8a18f959234bbb4c0a55c31ab71 before 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0; from aec158242b87a43d83322e99bc71ab4428e5ab79 before 688575aef211b0986fc51010116f5888a99d76a2; from aec158242b87a43d83322e99bc71ab4428e5ab79 before d7aa9f7778316beb690f6e2763b6d672ad8b256f; from aec158242b87a43d83322e99bc71ab4428e5ab79 before 18ebd35b61b4693a0ddc270b6d4f18def232e770; 58c3f48a540b821b3253e2dc31c8fa237293ffc9; from 5.15.56 before 5.15.86; from 5.18.13 before 5.19; 5.19 (not affected: before 5.19; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.15.56 before 5.15.86; from 5.18.13 before 5.19; from 5.19.1 before 6.0.16; from 6.1 before 6.1.2; 5.19

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/31c93ee5f1e4dc278b562e20f3c3274ac34997f3> (patch)
- <https://git.kernel.org/stable/c/95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0> (patch)
- <https://git.kernel.org/stable/c/688575aef211b0986fc51010116f5888a99d76a2> (patch)
- <https://git.kernel.org/stable/c/d7aa9f7778316beb690f6e2763b6d672ad8b256f> (patch)
- <https://git.kernel.org/stable/c/18ebd35b61b4693a0ddc270b6d4f18def232e770> (patch)

## Sources

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

---

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