{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4f2946aa0c45c78b4f4ef101bab9694e38c68db0"
            },
            {
              "fixed": "d6fade89903c8fd0af6c956242aec8b927040e02"
            },
            {
              "fixed": "0de5b525c0cd7d202848b8adfde3c01c287fb1a6"
            },
            {
              "fixed": "30b5c0e17dcad72b6b2f987319aa645570e6376d"
            },
            {
              "fixed": "9e69d683ebd7def04557fe758ff123105d7d9840"
            },
            {
              "fixed": "f8a2f2a4602318eb93d49d27fd0d0fdaab17edde"
            },
            {
              "fixed": "d62a84a78de5f29c642fa3bd4eee072ba7289cb4"
            },
            {
              "fixed": "8861f6d5c0678a7c5089c7b272509fc5931b8437"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.0"
            },
            {
              "fixed": "5.15.221"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.188"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.157"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.51"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89989.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nima: Check for ERR_PTR from dentry_path() in validate_hash_algo()\n\ndentry_path() returns ERR_PTR(-ENAMETOOLONG) when the path exceeds the\nbuffer. validate_hash_algo() passes the result straight to\nintegrity_audit_msg() without checking. ERR_PTR is not NULL, so\nintegrity_audit_message() sees a valid pointer and calls strlen() on\nit, which faults:\n\n    BUG: unable to handle page fault for address: ffffffffffffffdc\n    RIP: 0010:strlen+0x30/0xa0\n    Call Trace:\n     audit_log_untrustedstring+0x19/0x30\n     integrity_audit_message+0x366/0x4f0\n     ima_inode_setxattr+0x512/0x5f0\n\nCheck for IS_ERR() and use NULL instead, which makes the audit message\nskip the name= field instead of crashing.",
  "id": "CVE-2026-89989",
  "modified": "2026-09-18T03:30:19.214715887Z",
  "published": "2026-09-16T10:33:03.703Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0de5b525c0cd7d202848b8adfde3c01c287fb1a6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/30b5c0e17dcad72b6b2f987319aa645570e6376d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8861f6d5c0678a7c5089c7b272509fc5931b8437"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9e69d683ebd7def04557fe758ff123105d7d9840"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d62a84a78de5f29c642fa3bd4eee072ba7289cb4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d6fade89903c8fd0af6c956242aec8b927040e02"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f8a2f2a4602318eb93d49d27fd0d0fdaab17edde"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89989.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89989"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ima: Check for ERR_PTR from dentry_path() in validate_hash_algo()"
}