# CVE-2021-47322: NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT

- 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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:36.530Z
- Modified: 2026-06-17T04:17:11.543Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT

Fix an Oopsable condition in pnfs_mark_request_commit() when we're
putting a set of writes on the commit list to reschedule them after a
failed pNFS attempt.

(As written by CVE List.)

## Affected

- Linux Linux: from 9c455a8c1e146dac3a6d1405fe6a7096177b9546 before 5c7ef8a3705542136a1e19b070e951f0730b2153; from 9c455a8c1e146dac3a6d1405fe6a7096177b9546 before 7c96a2ee45be41d5a167e6332d202086752c36bb; from 9c455a8c1e146dac3a6d1405fe6a7096177b9546 before 7aec9f862411906f8c27071ba65a1e110ad7d2fd; from 9c455a8c1e146dac3a6d1405fe6a7096177b9546 before 3731d44bba8e0116b052b1b374476c5f6dd9a456; 5.7 (not affected: before 5.7; from 5.10.52 up to 5.10.*; from 5.12.19 up to 5.12.*; from 5.13.4 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 5.7 before 5.10.52; from 5.11 before 5.12.19; from 5.13 before 5.13.4

## References

- <https://git.kernel.org/stable/c/5c7ef8a3705542136a1e19b070e951f0730b2153> (patch)
- <https://git.kernel.org/stable/c/7c96a2ee45be41d5a167e6332d202086752c36bb> (patch)
- <https://git.kernel.org/stable/c/7aec9f862411906f8c27071ba65a1e110ad7d2fd> (patch)
- <https://git.kernel.org/stable/c/3731d44bba8e0116b052b1b374476c5f6dd9a456> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47322 · Whole record: https://cve.day/CVE-2021-47322.json · Rebuilt by cve.day 2026-11-25T22:58:08.796Z
