{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d"
            },
            {
              "fixed": "1824d884e5076e3fdd83f44256746f2f95d062ec"
            },
            {
              "fixed": "2b61008c9f884ead174a67f1cc70342a9efee3e4"
            },
            {
              "fixed": "f79a0195db1f2568fd82999fd814af071b2dbca7"
            },
            {
              "fixed": "3e271a27c46fd591d1011c7de5a644a41e2010f1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99514.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix superblock use-after-free in release_inode()\n\nWithout this fix, release_inode() (task 1) can race with a umount\noperation in hook_sb_delete() (task 2).  The order of operations in\nwhich the race occurs is:\n\n* task 2: hook_sb_delete() arrives at the end of the function, waiting\n  for landlock_superblock(sb)-\u003einode_refs to become zero.\n* task 1: release_inode(): does atomic_long_dec_and_test(), decrementing\n  inode_refs to zero.\n* task 2: gets woken up through some other means, sees that inode_refs\n  is zero and returns.  The caller is the unmount operation and proceeds\n  to release the superblock.\n* task 1: Runs wake_up_var(\u0026landlock_superblock(sb)-\u003einode_refs),\n  *dereferencing the sb_security on the freed-up superblock*.\n\nNotably, wake_up_var() does not dereference the pointer passed to it,\nand only uses it to determine an overapproximated set of tasks to wake\nup. So while it's potentially possible for an attacker to provide a\ndifferent value for that pointer, this only results in the wrong set of\ntasks getting woken up, and in this scenario, no further tasks are\nactually waiting.\n\nNevertheless, KASAN detects it as a slab-use-after-free read on\nsb-\u003es_security:\n\n  BUG: KASAN: slab-use-after-free in release_inode+0x196/0x290\n  Read of size 8 at addr ffff888103b6c0a8 by task repro/217\n   release_inode+0x196/0x290\n   landlock_put_object+0x71/0x90\n   landlock_free_rules+0x38/0xc0\n   landlock_put_ruleset+0x47/0x130\n   fop_ruleset_release+0x33/0x40\n   __fput+0x305/0x780\n  Freed by task 54:\n   kfree+0x11c/0x390\n   process_scheduled_works+0x766/0xe50\n   worker_thread+0x7bc/0xb20\n\nThe fix is to determine \u0026landlock_superblock(inode-\u003ei_sb)-\u003einode_refs only once\nearlier in release_inode(), and later use that precalculated address for the\nwake_up_var() call, without having to dereference through the superblock.",
  "id": "CVE-2026-99514",
  "modified": "2026-11-19T16:45:49.929138209Z",
  "published": "2026-11-19T14:44:14.227Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1824d884e5076e3fdd83f44256746f2f95d062ec"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2b61008c9f884ead174a67f1cc70342a9efee3e4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3e271a27c46fd591d1011c7de5a644a41e2010f1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f79a0195db1f2568fd82999fd814af071b2dbca7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99514.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99514"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "landlock: Fix superblock use-after-free in release_inode()"
}