Skip to content
Heist/ feed
Back to feed
HighFix available

ntfs: ->d_compare() must not block

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.91, 6.18.16, 6.19.6, 6.6.141
CVEs
CVE-2026-43245
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:46 UTC · Revision 1

Source evidence

ntfs: ->d_compare() must not block

core-osv · Original source

Published 6 May 2026, 11:28 UTC

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.

osv:CVE-2026-43245

Kernel

Fixed versions: 6.6.141, 6.12.91, 6.18.16, 6.19.6

Complete source record
{
  "id": "365292b7c48e20df7e094793b91945d6cc857d39b441413db8ebcd1fdb08b7bf",
  "url": "https://osv.dev/vulnerability/CVE-2026-43245",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2026-43245",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.141",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-43245",
      "aliases": [
        "CVE-2026-43245"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a3a956c78efaa202b1d75190136671cf6e87bfbe"
                },
                {
                  "fixed": "02ecc0978c459fd90bb24b2a946dd16d43e68fe5"
                },
                {
                  "fixed": "1be7ca86ce1794d966fda5d82181bc978b150fbc"
                },
                {
                  "fixed": "142c444a395f4d26055c8a4473e228bb86283f1e"
                },
                {
                  "fixed": "fb4b1f969ba01fa1d4088467a02fc1e5f0806710"
                },
                {
                  "fixed": "ca2a04e84af79596e5cd9cfe697d5122ec39c8ce"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43245.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.141"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43245.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.723699382Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/02ecc0978c459fd90bb24b2a946dd16d43e68fe5",
        "https://git.kernel.org/stable/c/142c444a395f4d26055c8a4473e228bb86283f1e",
        "https://git.kernel.org/stable/c/1be7ca86ce1794d966fda5d82181bc978b150fbc",
        "https://git.kernel.org/stable/c/ca2a04e84af79596e5cd9cfe697d5122ec39c8ce",
        "https://git.kernel.org/stable/c/fb4b1f969ba01fa1d4088467a02fc1e5f0806710",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43245.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43245",
        "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/2026/43xxx/CVE-2026-43245.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43245",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496501,
  "published_at": "2026-05-06T11:28:37.602+00:00"
}