CVE-2026-89543 (GCVE-0-2026-89543)
Vulnerability from cvelistv5
Published
2026-09-11 19:44
Modified
2026-10-30 12:32
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir Normal client creation goes through rpc_setup_pipedir(), which records clnt->pipefs_sb, but the mount-event path in __rpc_clnt_handle_event() calls rpc_setup_pipedir_sb() directly and never refreshes that field. The umount path also removes the directory without clearing clnt->pipefs_sb. After a late pipefs mount or any remount, rpc_clnt_remove_pipedir() compares the current superblock against a stale pipefs_sb pointer and skips cleanup, leaving pipefs dentries whose inode private data still points at a freed rpc_clnt, leading to a potential use-after-free during subsequent rpc_info_open() or rpc_show_info() calls. Fix this by properly updating clnt->pipefs_sb upon mount events and clearing it during unmount or failure paths.
Impacted products
Vendor Product Version
Linux Linux Version: 7749fd2dbef72a52b5c9ffdbf877691950ed4680
Version: cc2e7ebbeb1d0601f7f3c8d93b78fcc03a95e44a
Version: bfca5fb4e97c46503ddfc582335917b0cc228264
Version: bfca5fb4e97c46503ddfc582335917b0cc228264
Version: bfca5fb4e97c46503ddfc582335917b0cc228264
Version: bfca5fb4e97c46503ddfc582335917b0cc228264
Version: 17866066b8ac1cc38fb449670bc15dc9fee4b40a
Version: 7d61d1da2ed1f682c41cae0c8d4719cdaccee5c5
Version: dedf2a0eb9448ae73b270743e6ea9b108189df46
Version: 194454afa6aa9d6ed74f0c57127bc8beb27c20df
Version: 1cdb52ffd6600a37bd355d8dce58ecd03e55e618
Version: 6.1.64   ≤
Version: 6.6.3   ≤
Version: 4.19.318   ≤
Version: 5.4.280   ≤
Version: 5.10.202   ≤
Version: 5.15.140   ≤
Version: 6.5.13   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/clnt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1a713814e0580f946196bca5e340b37991c6e8bf",
              "status": "affected",
              "version": "7749fd2dbef72a52b5c9ffdbf877691950ed4680",
              "versionType": "git"
            },
            {
              "lessThan": "f99fedfd1dbffe8d20b421c9a7d4655a135d4fcd",
              "status": "affected",
              "version": "cc2e7ebbeb1d0601f7f3c8d93b78fcc03a95e44a",
              "versionType": "git"
            },
            {
              "lessThan": "59527bbfb1eabdb28e95e7c725886cc2c2899cb3",
              "status": "affected",
              "version": "bfca5fb4e97c46503ddfc582335917b0cc228264",
              "versionType": "git"
            },
            {
              "lessThan": "e769fcde3cc73e847b1eb3acd40c04a291cb0c0c",
              "status": "affected",
              "version": "bfca5fb4e97c46503ddfc582335917b0cc228264",
              "versionType": "git"
            },
            {
              "lessThan": "cdf7a233cb94774b0e7df42d9157077983f5022c",
              "status": "affected",
              "version": "bfca5fb4e97c46503ddfc582335917b0cc228264",
              "versionType": "git"
            },
            {
              "lessThan": "932a8cf6abb2b2f8677b79153a823108d8861fe2",
              "status": "affected",
              "version": "bfca5fb4e97c46503ddfc582335917b0cc228264",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "17866066b8ac1cc38fb449670bc15dc9fee4b40a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7d61d1da2ed1f682c41cae0c8d4719cdaccee5c5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "dedf2a0eb9448ae73b270743e6ea9b108189df46",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "194454afa6aa9d6ed74f0c57127bc8beb27c20df",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1cdb52ffd6600a37bd355d8dce58ecd03e55e618",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.191",
              "status": "affected",
              "version": "6.1.64",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.160",
              "status": "affected",
              "version": "6.6.3",
              "versionType": "semver"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.318",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.280",
              "versionType": "semver"
            },
            {
              "lessThan": "5.11",
              "status": "affected",
              "version": "5.10.202",
              "versionType": "semver"
            },
            {
              "lessThan": "5.16",
              "status": "affected",
              "version": "5.15.140",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6",
              "status": "affected",
              "version": "6.5.13",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/clnt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "6.1.64",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "6.6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.318",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.280",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.10.202",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.15.140",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir\n\nNormal client creation goes through rpc_setup_pipedir(), which records\nclnt-\u003epipefs_sb, but the mount-event path in __rpc_clnt_handle_event()\ncalls rpc_setup_pipedir_sb() directly and never refreshes that field.\nThe umount path also removes the directory without clearing\nclnt-\u003epipefs_sb.\n\nAfter a late pipefs mount or any remount, rpc_clnt_remove_pipedir()\ncompares the current superblock against a stale pipefs_sb pointer and\nskips cleanup, leaving pipefs dentries whose inode private data still\npoints at a freed rpc_clnt, leading to a potential use-after-free during\nsubsequent rpc_info_open() or rpc_show_info() calls.\n\nFix this by properly updating clnt-\u003epipefs_sb upon mount events and\nclearing it during unmount or failure paths."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:32:06.731Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1a713814e0580f946196bca5e340b37991c6e8bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/f99fedfd1dbffe8d20b421c9a7d4655a135d4fcd"
        },
        {
          "url": "https://git.kernel.org/stable/c/59527bbfb1eabdb28e95e7c725886cc2c2899cb3"
        },
        {
          "url": "https://git.kernel.org/stable/c/e769fcde3cc73e847b1eb3acd40c04a291cb0c0c"
        },
        {
          "url": "https://git.kernel.org/stable/c/cdf7a233cb94774b0e7df42d9157077983f5022c"
        },
        {
          "url": "https://git.kernel.org/stable/c/932a8cf6abb2b2f8677b79153a823108d8861fe2"
        }
      ],
      "title": "sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89543",
    "datePublished": "2026-09-11T19:44:19.679Z",
    "dateReserved": "2026-09-11T19:38:34.722Z",
    "dateUpdated": "2026-10-30T12:32:06.731Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…