← Back to CVE Explorer

CVE-2026-98553

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: autofs: fix sbi->pipe file reference leak in autofs_kill_sb() When autofs_fill_super() fails before clearing AUTOFS_SBI_CATATONIC (for example, when find_get_pid() fails on an invalid pgrp mount option, or when an fs_context is closed before mounting), deactivate_locked_super() invokes autofs_kill_sb() -> autofs_catatonic_mode(sbi). Because AUTOFS_SBI_CATATONIC is still set in sbi->flags, autofs_catatonic_mode() returns early without calling fput(sbi->pipe), permanently leaking the pipe struct file reference. Explicitly release sbi->pipe in autofs_kill_sb() if it is still non-NULL after autofs_catatonic_mode().

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:07.370000
Last modified
2026-10-19 10:19:11.610000
View original CVE JSON
{
  "id": "CVE-2026-98553",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:07.370",
  "lastModified": "2026-10-19T10:19:11.610",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nautofs: fix sbi->pipe file reference leak in autofs_kill_sb()\n\nWhen autofs_fill_super() fails before clearing AUTOFS_SBI_CATATONIC (for\nexample, when find_get_pid() fails on an invalid pgrp mount option, or\nwhen an fs_context is closed before mounting), deactivate_locked_super()\ninvokes autofs_kill_sb() -> autofs_catatonic_mode(sbi).\n\nBecause AUTOFS_SBI_CATATONIC is still set in sbi->flags,\nautofs_catatonic_mode() returns early without calling fput(sbi->pipe),\npermanently leaking the pipe struct file reference.\n\nExplicitly release sbi->pipe in autofs_kill_sb() if it is still non-NULL\nafter autofs_catatonic_mode()."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/autofs/inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "3684e2273ba94553af3c5195a46a50214a1a96e3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "0662b1ff9b383d5a233d344e4dc518c27a17f7b8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "34fa4c1c6e10507dc60e35a82cc9655666946cfd",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "a58593b501b7be5ad2bc5181bfa8cd4599be257c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "f1c57f5b16bbc3571bd479c290996c4d4e1fb931",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "4bcb371019097d0e357f097902587401c509bbc9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "fc4fd0281ac80b5a3c5a2330f688f0f9d2a420b6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7",
              "lessThan": "aa5e44b29ffe4eaa08cc2237fd65bc2596bc023e",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/autofs/inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.18",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.18",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.271",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.222",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.189",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.158",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.55",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.9",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0662b1ff9b383d5a233d344e4dc518c27a17f7b8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/34fa4c1c6e10507dc60e35a82cc9655666946cfd",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3684e2273ba94553af3c5195a46a50214a1a96e3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4bcb371019097d0e357f097902587401c509bbc9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a58593b501b7be5ad2bc5181bfa8cd4599be257c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/aa5e44b29ffe4eaa08cc2237fd65bc2596bc023e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f1c57f5b16bbc3571bd479c290996c4d4e1fb931",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/fc4fd0281ac80b5a3c5a2330f688f0f9d2a420b6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}