7.8high
NFSv4.0: Fix a use-after-free problem in the asynchronous open()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.33% (higher than 19% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 2 more 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.* | CVE List |
| 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 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFSv4.0: Se corrige un problema de use-after-free en la función open() asincrónica Yang Erkun informa que cuando dos subprocesos abren archivos al mismo tiempo y se ven obligados a abortar antes de que se vea una respuesta, la llamada a nfs_release_seqid() en nfs4_opendata_free() puede dar como resultado un use-after-free del puntero a la tarea rpc inactiva del otro subproceso. La solución es garantizar que si la llamada RPC se aborta antes de que se complete la llamada a nfs_wait_on_sequence(), entonces debemos llamar a nfs_release_seqid() en nfs4_open_release() antes de que se libere la rpc_task.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53173 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-53173 changed 2026-06-17 | Public domain |