# CVE-2024-53173: NFSv4.0: Fix a use-after-free problem in the asynchronous open()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.33%, higher than 19% of CVEs (2026-11-30)
- Published: 2024-12-27T13:49:17.981Z
- Modified: 2026-08-05T11:44:20.900Z
- 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:

NFSv4.0: Fix a use-after-free problem in the asynchronous open()

Yang Erkun reports that when two threads are opening files at the same
time, and are forced to abort before a reply is seen, then the call to
nfs_release_seqid() in nfs4_opendata_free() can result in a
use-after-free of the pointer to the defunct rpc task of the other
thread.
The fix is to ensure that if the RPC call is aborted before the call to
nfs_wait_on_sequence() is complete, then we must call nfs_release_seqid()
in nfs4_open_release() before the rpc_task is freed.

(As written by CVE List.)

## Affected

- Linux Linux: from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before 1cfae9575296f5040cdc84b0730e79078c081d2d; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before 7bf6bf130af8ee7d93a99c28a7512df3017ec759; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before 5237a297ffd374a1c4157a53543b7a69d7bbbc03; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before 2ab9639f16b05d948066a6c4cf19a0fdc61046ff; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before ba6e6c04f60fe52d91520ac4d749d372d4c74521; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before 229a30ed42bb87bcb044c5523fabd9e4f0e75648; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before e2277a1d9d5cd0d625a4fd7c04fce2b53e66df77; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before b56ae8e715557b4fc227c9381d2e681ffafe7b15; from 24ac23ab88df5b21b5b2df8cde748bf99b289099 before 2fdb05dc0931250574f0cb0ebeb5ed8e20f4a889; 2.6.16 (not affected: before 2.6.16; from 4.19.325 up to 4.19.*; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 2.6.16 before 4.19.325; from 4.20 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- Linux: 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`
- 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`
- NVD: 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/1cfae9575296f5040cdc84b0730e79078c081d2d> (patch)
- <https://git.kernel.org/stable/c/7bf6bf130af8ee7d93a99c28a7512df3017ec759> (patch)
- <https://git.kernel.org/stable/c/5237a297ffd374a1c4157a53543b7a69d7bbbc03> (patch)
- <https://git.kernel.org/stable/c/2ab9639f16b05d948066a6c4cf19a0fdc61046ff> (patch)
- <https://git.kernel.org/stable/c/ba6e6c04f60fe52d91520ac4d749d372d4c74521> (patch)
- <https://git.kernel.org/stable/c/229a30ed42bb87bcb044c5523fabd9e4f0e75648> (patch)
- <https://git.kernel.org/stable/c/e2277a1d9d5cd0d625a4fd7c04fce2b53e66df77> (patch)
- <https://git.kernel.org/stable/c/b56ae8e715557b4fc227c9381d2e681ffafe7b15> (patch)
- <https://git.kernel.org/stable/c/2fdb05dc0931250574f0cb0ebeb5ed8e20f4a889> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

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

---

Page: https://cve.day/CVE-2024-53173 · Whole record: https://cve.day/CVE-2024-53173.json · Rebuilt by cve.day 2026-11-25T22:58:50.397Z
