CVE-2024-53173

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

State
Published
Severity
7.8 High
Published
Dec 27, 2024
Updated
Aug 5, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before 1cfae9575296f5040cdc84b0730e79078c081d2dAffected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before 7bf6bf130af8ee7d93a99c28a7512df3017ec759Affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before 5237a297ffd374a1c4157a53543b7a69d7bbbc03Affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before 2ab9639f16b05d948066a6c4cf19a0fdc61046ffAffected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before ba6e6c04f60fe52d91520ac4d749d372d4c74521Affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before 229a30ed42bb87bcb044c5523fabd9e4f0e75648Affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before e2277a1d9d5cd0d625a4fd7c04fce2b53e66df77Affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before b56ae8e715557b4fc227c9381d2e681ffafe7b15Affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to before 2fdb05dc0931250574f0cb0ebeb5ed8e20f4a889Affected
LinuxLinux
  • 2.6.16Affected
  • before 2.6.16Not affected
  • 4.19.325 through 4.19.*Not affected
  • 5.4.287 through 5.4.*Not affected
  • 5.10.231 through 5.10.*Not affected
  • 5.15.174 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.