CVE-2026-99514 (GCVE-0-2026-99514)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-23 08:03
VLAI
Title
landlock: Fix superblock use-after-free in release_inode()
Summary
In the Linux kernel, the following vulnerability has been resolved: landlock: Fix superblock use-after-free in release_inode() Without this fix, release_inode() (task 1) can race with a umount operation in hook_sb_delete() (task 2). The order of operations in which the race occurs is: * task 2: hook_sb_delete() arrives at the end of the function, waiting for landlock_superblock(sb)->inode_refs to become zero. * task 1: release_inode(): does atomic_long_dec_and_test(), decrementing inode_refs to zero. * task 2: gets woken up through some other means, sees that inode_refs is zero and returns. The caller is the unmount operation and proceeds to release the superblock. * task 1: Runs wake_up_var(&landlock_superblock(sb)->inode_refs), *dereferencing the sb_security on the freed-up superblock*. Notably, wake_up_var() does not dereference the pointer passed to it, and only uses it to determine an overapproximated set of tasks to wake up. So while it's potentially possible for an attacker to provide a different value for that pointer, this only results in the wrong set of tasks getting woken up, and in this scenario, no further tasks are actually waiting. Nevertheless, KASAN detects it as a slab-use-after-free read on sb->s_security: BUG: KASAN: slab-use-after-free in release_inode+0x196/0x290 Read of size 8 at addr ffff888103b6c0a8 by task repro/217 release_inode+0x196/0x290 landlock_put_object+0x71/0x90 landlock_free_rules+0x38/0xc0 landlock_put_ruleset+0x47/0x130 fop_ruleset_release+0x33/0x40 __fput+0x305/0x780 Freed by task 54: kfree+0x11c/0x390 process_scheduled_works+0x766/0xe50 worker_thread+0x7bc/0xb20 The fix is to determine &landlock_superblock(inode->i_sb)->inode_refs only once earlier in release_inode(), and later use that precalculated address for the wake_up_var() call, without having to dereference through the superblock.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < f8e921fb6367c2b6b64f39943300727f67952362 (git)
Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < f882b70e659178d9d47d5e191061934660748c82 (git)
Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < 63bcfd04210960743fc7286796e3c42e731f6707 (git)
Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < 1824d884e5076e3fdd83f44256746f2f95d062ec (git)
Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < 2b61008c9f884ead174a67f1cc70342a9efee3e4 (git)
Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < f79a0195db1f2568fd82999fd814af071b2dbca7 (git)
Affected: cb2c7d1a1776057c9a1f48ed1250d85e94d4850d , < 3e271a27c46fd591d1011c7de5a644a41e2010f1 (git)
Create a notification for this product.
Linux Linux Affected: 5.13
Unaffected: 0 , < 5.13 (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "security/landlock/fs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f8e921fb6367c2b6b64f39943300727f67952362",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            },
            {
              "lessThan": "f882b70e659178d9d47d5e191061934660748c82",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            },
            {
              "lessThan": "63bcfd04210960743fc7286796e3c42e731f6707",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            },
            {
              "lessThan": "1824d884e5076e3fdd83f44256746f2f95d062ec",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            },
            {
              "lessThan": "2b61008c9f884ead174a67f1cc70342a9efee3e4",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            },
            {
              "lessThan": "f79a0195db1f2568fd82999fd814af071b2dbca7",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            },
            {
              "lessThan": "3e271a27c46fd591d1011c7de5a644a41e2010f1",
              "status": "affected",
              "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "security/landlock/fs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:03:47.115Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f8e921fb6367c2b6b64f39943300727f67952362"
        },
        {
          "url": "https://git.kernel.org/stable/c/f882b70e659178d9d47d5e191061934660748c82"
        },
        {
          "url": "https://git.kernel.org/stable/c/63bcfd04210960743fc7286796e3c42e731f6707"
        },
        {
          "url": "https://git.kernel.org/stable/c/1824d884e5076e3fdd83f44256746f2f95d062ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/2b61008c9f884ead174a67f1cc70342a9efee3e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/f79a0195db1f2568fd82999fd814af071b2dbca7"
        },
        {
          "url": "https://git.kernel.org/stable/c/3e271a27c46fd591d1011c7de5a644a41e2010f1"
        }
      ],
      "title": "landlock: Fix superblock use-after-free in release_inode()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99514",
    "datePublished": "2026-11-19T14:44:14.227Z",
    "dateReserved": "2026-09-25T10:25:14.419Z",
    "dateUpdated": "2026-11-23T08:03:47.115Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99514",
      "date": "2026-11-22",
      "epss": "0.00208",
      "percentile": "0.10858"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:20:28.000Z",
      "cve": "CVE-2026-99514",
      "id": "msrc_CVE-2026-99514",
      "initial_release_date": "2026-11-21T01:20:28.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "landlock: Fix superblock use-after-free in release_inode()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99514.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "security/landlock/fs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "f8e921fb6367c2b6b64f39943300727f67952362",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f882b70e659178d9d47d5e191061934660748c82",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "63bcfd04210960743fc7286796e3c42e731f6707",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1824d884e5076e3fdd83f44256746f2f95d062ec",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2b61008c9f884ead174a67f1cc70342a9efee3e4",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f79a0195db1f2568fd82999fd814af071b2dbca7",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3e271a27c46fd591d1011c7de5a644a41e2010f1",
                    "status": "affected",
                    "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "security/landlock/fs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.13"
                  },
                  {
                    "lessThan": "5.13",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s 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",
        "lastModified": "2026-11-23T08:17:54.150",
        "metrics": {},
        "published": "2026-11-19T15:18:06.850",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1824d884e5076e3fdd83f44256746f2f95d062ec"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2b61008c9f884ead174a67f1cc70342a9efee3e4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3e271a27c46fd591d1011c7de5a644a41e2010f1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/63bcfd04210960743fc7286796e3c42e731f6707"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f79a0195db1f2568fd82999fd814af071b2dbca7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f882b70e659178d9d47d5e191061934660748c82"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f8e921fb6367c2b6b64f39943300727f67952362"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:53:21+00:00",
      "cve": "CVE-2026-99514",
      "id": "CVE-2026-99514",
      "initial_release_date": "2026-11-19T14:44:14.227000+00:00",
      "product_status:known_affected": "113",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via use-after-free race condition in Landlock",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99514.json",
      "version": "3"
    }
  }
}



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…