Skip to content
Heist/ feed
High

landlock: Require LANDLOCK_ACCESS_FS_MAKE_REG for whiteout creation

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: landlock: Require LANDLOCK_ACCESS_FS_MAKE_REG for whiteout creation Whiteout objects are used in the upper layer of an OverlayFS to indicate that the file with this name does not exist in the unified view, even if it is present in one of the lower layer file systems. For the userspace implementations of OverlayFS (fuse-overlayfs), whiteout objects can be created from userspace as well: * mknod(2) with S_IFCHR and makedev(0, 0) * renameat2(2) with RENAME_WHITEOUT, creating the whiteout in the old place of the moved file. This commit guards whiteout creation in both of these cases with LANDLOCK_ACCESS_FS_MAKE_REG. Whiteout objects are *not* considered character devices and are not bound to a driver. LANDLOCK_ACCESS_FS_MAKE_REG describes the same permission class as a whiteout object: creating one is the only S_IFCHR creation that the VFS exempts from CAP_MKNOD, so it is as unprivileged as creating a regular file, while LANDLOCK_ACCESS_FS_MAKE_CHAR and LANDLOCK_ACCESS_FS_MAKE_BLOCK keep meaning the creation of devices that expose a kernel interface [1]. For the mknod(2) case, introduce a Landlock erratum. The creation of whiteout objects through mknod(2) was previously guarded using LANDLOCK_ACCESS_FS_MAKE_CHAR, and it is now guarded using LANDLOCK_ACCESS_FS_MAKE_REG. For the renameat2(2) case, fix a bug: Before this commit, renameat2(2) with RENAME_WHITEOUT would create a directory entry even when all LANDLOCK_

Announced Group revision 1
Original source ↗

CVE-2026-89560

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89560

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "39fc16597715125529df8f94e016fb00836ee3c1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "d739e32318479086efb8a6bcf5d37cf341b51f8f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "dfb10d989056181168ebc16781a8f39520e33200",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "efb4f24fc2b9bcef1c41ff3392894f1fa8fba2a0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "627ce4902df1d737e99306daae5a87c68b876d16",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "0c3204aacbe8c07f9e87e3028f28ec6c166a1075",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cb2c7d1a1776057c9a1f48ed1250d85e94d4850d",
        "lessThan": "672fa082d48b21e1fb62cdb184fee41513e53421",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "include/uapi/linux/landlock.h",
      "security/landlock/errata/abi-1.h",
      "security/landlock/fs.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.50",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "include/uapi/linux/landlock.h",
      "security/landlock/errata/abi-1.h",
      "security/landlock/fs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89560

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#35075 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement