CVE-2024-53173

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

High · published December 27, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
17.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00268 · 17.9th percentile
Published
2024-12-27T13:49Z
EPSS history
Timeline
  • 27 DEC 13:49Z
    NFSv4.0: Fix a use-after-free problem in the asynchronous open()
    cvelistv5