Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-53173

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < 1cfae9575296f5040cdc84b0730e79078c081d2daffected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < 7bf6bf130af8ee7d93a99c28a7512df3017ec759affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < 5237a297ffd374a1c4157a53543b7a69d7bbbc03affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < 2ab9639f16b05d948066a6c4cf19a0fdc61046ffaffected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < ba6e6c04f60fe52d91520ac4d749d372d4c74521affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < 229a30ed42bb87bcb044c5523fabd9e4f0e75648affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < e2277a1d9d5cd0d625a4fd7c04fce2b53e66df77affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < b56ae8e715557b4fc227c9381d2e681ffafe7b15affected
  • 24ac23ab88df5b21b5b2df8cde748bf99b289099 to < 2fdb05dc0931250574f0cb0ebeb5ed8e20f4a889affected

Linux Linux

Default version status: affected

  • 2.6.16affected
  • 0 to < 2.6.16unaffected
  • 4.19.325 to ≤ 4.19.*unaffected
  • 5.4.287 to ≤ 5.4.*unaffected
  • 5.10.231 to ≤ 5.10.*unaffected
  • 5.15.174 to ≤ 5.15.*unaffected
  • 6.1.120 to ≤ 6.1.*unaffected
  • 6.6.64 to ≤ 6.6.*unaffected
  • 6.11.11 to ≤ 6.11.*unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References