Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.325, 5.10.231, 5.15.174, 5.4.287, 6.1.120, 6.11.11, 6.12.2, 6.6.64
CVEs
CVE-2024-53173
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:01 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 Dec 2024, 13:49 UTC

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.

osv:CVE-2024-53173

Kernel

Fixed versions: 4.19.325, 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.64, 6.11.11, 6.12.2

Complete source record
{
  "id": "fcf001b55260f13d788a533db8f412c3333e874b27461cbcc9d7d2ef75c1c37c",
  "url": "https://osv.dev/vulnerability/CVE-2024-53173",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NFSv4.0: Fix a use-after-free problem in the asynchronous open()",
    "summary": "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.",
    "evidence": "osv:CVE-2024-53173",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.325",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.287",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.231",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.174",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.64",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-53173",
      "aliases": [
        "CVE-2024-53173"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "24ac23ab88df5b21b5b2df8cde748bf99b289099"
                },
                {
                  "fixed": "1cfae9575296f5040cdc84b0730e79078c081d2d"
                },
                {
                  "fixed": "7bf6bf130af8ee7d93a99c28a7512df3017ec759"
                },
                {
                  "fixed": "5237a297ffd374a1c4157a53543b7a69d7bbbc03"
                },
                {
                  "fixed": "2ab9639f16b05d948066a6c4cf19a0fdc61046ff"
                },
                {
                  "fixed": "ba6e6c04f60fe52d91520ac4d749d372d4c74521"
                },
                {
                  "fixed": "229a30ed42bb87bcb044c5523fabd9e4f0e75648"
                },
                {
                  "fixed": "e2277a1d9d5cd0d625a4fd7c04fce2b53e66df77"
                },
                {
                  "fixed": "b56ae8e715557b4fc227c9381d2e681ffafe7b15"
                },
                {
                  "fixed": "2fdb05dc0931250574f0cb0ebeb5ed8e20f4a889"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53173.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.16"
                },
                {
                  "fixed": "4.19.325"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.287"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.231"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.174"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.64"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.11.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53173.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.876345195Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1cfae9575296f5040cdc84b0730e79078c081d2d",
        "https://git.kernel.org/stable/c/229a30ed42bb87bcb044c5523fabd9e4f0e75648",
        "https://git.kernel.org/stable/c/2ab9639f16b05d948066a6c4cf19a0fdc61046ff",
        "https://git.kernel.org/stable/c/2fdb05dc0931250574f0cb0ebeb5ed8e20f4a889",
        "https://git.kernel.org/stable/c/5237a297ffd374a1c4157a53543b7a69d7bbbc03",
        "https://git.kernel.org/stable/c/7bf6bf130af8ee7d93a99c28a7512df3017ec759",
        "https://git.kernel.org/stable/c/b56ae8e715557b4fc227c9381d2e681ffafe7b15",
        "https://git.kernel.org/stable/c/ba6e6c04f60fe52d91520ac4d749d372d4c74521",
        "https://git.kernel.org/stable/c/e2277a1d9d5cd0d625a4fd7c04fce2b53e66df77",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53173.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-53173",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53173.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53173",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488915,
  "published_at": "2024-12-27T13:49:17.981+00:00"
}