CVE-2026-43245 (GCVE-0-2026-43245)

Vulnerability from cvelistv5 – Published: 2026-05-06 11:28 – Updated: 2026-08-05 12:26
VLAI
Title
ntfs: ->d_compare() must not block
Summary
In the Linux kernel, the following vulnerability has been resolved: ntfs: ->d_compare() must not block ... so don't use __getname() there. Switch it (and ntfs_d_hash(), while we are at it) to kmalloc(PATH_MAX, GFP_NOWAIT). Yes, ntfs_d_hash() almost certainly can do with smaller allocations, but let ntfs folks deal with that - keep the allocation size as-is for now. Stop abusing names_cachep in ntfs, period - various uses of that thing in there have nothing to do with pathnames; just use k[mz]alloc() and be done with that. For now let's keep sizes as-in, but AFAICS none of the users actually want PATH_MAX.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a3a956c78efaa202b1d75190136671cf6e87bfbe , < 02ecc0978c459fd90bb24b2a946dd16d43e68fe5 (git)
Affected: a3a956c78efaa202b1d75190136671cf6e87bfbe , < 1be7ca86ce1794d966fda5d82181bc978b150fbc (git)
Affected: a3a956c78efaa202b1d75190136671cf6e87bfbe , < 142c444a395f4d26055c8a4473e228bb86283f1e (git)
Affected: a3a956c78efaa202b1d75190136671cf6e87bfbe , < fb4b1f969ba01fa1d4088467a02fc1e5f0806710 (git)
Affected: a3a956c78efaa202b1d75190136671cf6e87bfbe , < ca2a04e84af79596e5cd9cfe697d5122ec39c8ce (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.2
Unaffected: 0 , < 6.2 (semver)
Unaffected: 6.6.141 , ≤ 6.6.* (semver)
Unaffected: 6.12.91 , ≤ 6.12.* (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/dir.c",
            "fs/ntfs3/fsntfs.c",
            "fs/ntfs3/inode.c",
            "fs/ntfs3/namei.c",
            "fs/ntfs3/xattr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "02ecc0978c459fd90bb24b2a946dd16d43e68fe5",
              "status": "affected",
              "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
              "versionType": "git"
            },
            {
              "lessThan": "1be7ca86ce1794d966fda5d82181bc978b150fbc",
              "status": "affected",
              "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
              "versionType": "git"
            },
            {
              "lessThan": "142c444a395f4d26055c8a4473e228bb86283f1e",
              "status": "affected",
              "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
              "versionType": "git"
            },
            {
              "lessThan": "fb4b1f969ba01fa1d4088467a02fc1e5f0806710",
              "status": "affected",
              "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
              "versionType": "git"
            },
            {
              "lessThan": "ca2a04e84af79596e5cd9cfe697d5122ec39c8ce",
              "status": "affected",
              "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/dir.c",
            "fs/ntfs3/fsntfs.c",
            "fs/ntfs3/inode.c",
            "fs/ntfs3/namei.c",
            "fs/ntfs3/xattr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.141",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.141",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.91",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: -\u003ed_compare() must not block\n\n... so don\u0027t use __getname() there.  Switch it (and ntfs_d_hash(), while\nwe are at it) to kmalloc(PATH_MAX, GFP_NOWAIT).  Yes, ntfs_d_hash()\nalmost certainly can do with smaller allocations, but let ntfs folks\ndeal with that - keep the allocation size as-is for now.\n\nStop abusing names_cachep in ntfs, period - various uses of that thing\nin there have nothing to do with pathnames; just use k[mz]alloc() and\nbe done with that.  For now let\u0027s keep sizes as-in, but AFAICS none of\nthe users actually want PATH_MAX."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable `ntfs_d_compare()` is reached during ordinary VFS pathname lookup on an ntfs3 `nocase` mount; a reasonable high-impact deployment is an ntfs3 volume exported by in-kernel NFS/SMB, where remote client-supplied pathnames drive that lookup. Local syscalls can also trigger it, but the network-file-server path is the higher defensible attack vector.\nAC:L - The attacker controls the lookup pathname and can repeatedly exercise non-ASCII/case-insensitive comparisons that enter the slow path. The bug is a deterministic forbidden blocking allocation in a non-blocking VFS callback, not a race requiring conditions outside attacker influence.\nPR:N - In the network-export scenario, a remote client can issue lookup/open/stat style requests against an exported share without having local privileges on the kernel host. If authentication is configured it may raise environmental requirements, but an unauthenticated or guest-accessible export is reasonable.\nUI:N - No victim user action is required once the vulnerable ntfs3 filesystem is mounted/exported. The attacker triggers the path lookup directly by requesting crafted pathnames.\nS:U - The impact remains within the kernel/filesystem security authority. This is not a VM escape, IOMMU bypass, or cross-scope boundary violation.\nC:N - The bug is sleeping/blocking allocation in `d_compare()`, not a memory disclosure primitive. I found no out-of-bounds read, use-after-free, or arbitrary read behavior in the fixed path.\nI:N - The vulnerable code does not corrupt attacker-controlled memory or provide a write primitive. It violates VFS atomic/RCU locking rules but does not directly modify data or enable control-flow hijacking.\nA:H - Calling `__getname()`/`GFP_KERNEL` from `d_compare()` can sleep in RCU/non-blocking lookup context, causing RCU stalls, soft lockups, warnings/oopses, or deadlock under pressure. Repeated attacker-triggered lookups can therefore deny service to the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:26:50.510Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/02ecc0978c459fd90bb24b2a946dd16d43e68fe5"
        },
        {
          "url": "https://git.kernel.org/stable/c/1be7ca86ce1794d966fda5d82181bc978b150fbc"
        },
        {
          "url": "https://git.kernel.org/stable/c/142c444a395f4d26055c8a4473e228bb86283f1e"
        },
        {
          "url": "https://git.kernel.org/stable/c/fb4b1f969ba01fa1d4088467a02fc1e5f0806710"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca2a04e84af79596e5cd9cfe697d5122ec39c8ce"
        }
      ],
      "title": "ntfs: -\u003ed_compare() must not block",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43245",
    "datePublished": "2026-05-06T11:28:37.602Z",
    "dateReserved": "2026-05-01T14:12:55.996Z",
    "dateUpdated": "2026-08-05T12:26:50.510Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43245",
      "date": "2026-09-22",
      "epss": "0.00441",
      "percentile": "0.37716"
    },
    "microsoft_vex": {
      "current_release_date": "2026-06-23T14:44:47.000Z",
      "cve": "CVE-2026-43245",
      "id": "msrc_CVE-2026-43245",
      "initial_release_date": "2026-05-02T00:00:00.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "4",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ntfs: -\u003ed_compare() must not block",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-43245.json",
      "version": "8"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs3/dir.c",
                  "fs/ntfs3/fsntfs.c",
                  "fs/ntfs3/inode.c",
                  "fs/ntfs3/namei.c",
                  "fs/ntfs3/xattr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "02ecc0978c459fd90bb24b2a946dd16d43e68fe5",
                    "status": "affected",
                    "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1be7ca86ce1794d966fda5d82181bc978b150fbc",
                    "status": "affected",
                    "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "142c444a395f4d26055c8a4473e228bb86283f1e",
                    "status": "affected",
                    "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fb4b1f969ba01fa1d4088467a02fc1e5f0806710",
                    "status": "affected",
                    "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ca2a04e84af79596e5cd9cfe697d5122ec39c8ce",
                    "status": "affected",
                    "version": "a3a956c78efaa202b1d75190136671cf6e87bfbe",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs3/dir.c",
                  "fs/ntfs3/fsntfs.c",
                  "fs/ntfs3/inode.c",
                  "fs/ntfs3/namei.c",
                  "fs/ntfs3/xattr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.2"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.141",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.91",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.16",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.19.*",
                    "status": "unaffected",
                    "version": "6.19.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.0",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "40E6DAD9-881B-4BD4-B3F0-5D58086379A4",
                    "versionEndExcluding": "6.18.16",
                    "versionStartIncluding": "6.2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67",
                    "versionEndExcluding": "6.19.6",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: -\u003ed_compare() must not block\n\n... so don\u0027t use __getname() there.  Switch it (and ntfs_d_hash(), while\nwe are at it) to kmalloc(PATH_MAX, GFP_NOWAIT).  Yes, ntfs_d_hash()\nalmost certainly can do with smaller allocations, but let ntfs folks\ndeal with that - keep the allocation size as-is for now.\n\nStop abusing names_cachep in ntfs, period - various uses of that thing\nin there have nothing to do with pathnames; just use k[mz]alloc() and\nbe done with that.  For now let\u0027s keep sizes as-in, but AFAICS none of\nthe users actually want PATH_MAX."
          }
        ],
        "id": "CVE-2026-43245",
        "lastModified": "2026-06-17T10:49:13.747",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-05-06T12:16:44.997",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/02ecc0978c459fd90bb24b2a946dd16d43e68fe5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/142c444a395f4d26055c8a4473e228bb86283f1e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1be7ca86ce1794d966fda5d82181bc978b150fbc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/ca2a04e84af79596e5cd9cfe697d5122ec39c8ce"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/fb4b1f969ba01fa1d4088467a02fc1e5f0806710"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T07:36:22+00:00",
      "cve": "CVE-2026-43245",
      "id": "CVE-2026-43245",
      "initial_release_date": "2026-05-06T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ntfs: -\u003ed_compare() must not block",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43245.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-06T01:20:46Z",
      "cve": "CVE-2026-43245",
      "id": "CVE-2026-43245",
      "initial_release_date": "2026-05-08T02:19:53Z",
      "product_status:known_not_affected": "293",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43245",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-43245.json",
      "version": "5"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…