Skip to content
Heist/ feed
High

fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy() fscrypt_ioctl_set_policy() calls inode_owner_or_capable() with &nop_mnt_idmap before allowing an encryption policy to be set, instead of the idmap of the mount the ioctl was issued on. fscrypt is used by filesystems that support idmapped mounts (e.g. ext4, f2fs), so on such a mount this compares the caller's fsuid against the unmapped on-disk owner rather than the mapped owner: the actual owner can be wrongly denied with -EACCES and an unrelated caller wrongly allowed. Use file_mnt_idmap(filp) instead.

Announced Source revision 1
Original source ↗

CVE-2026-74595

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-74595

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": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "174633a468817a49bd474bcfc9067c84e54efe68",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "0baeb730044981f5ec5fb7d62a3763835ea606f6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "33b7e810ce09955aa02f3b632455cf5e7ac990a9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "6a67c460b12315033268dce597546984fe5739e7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "653e888a24c87b8bbeab44d7e558a1c1a3641088",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "98516ba8b817f34e86bdd7a5b7a383cff75c3ddf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "14f3db5542e62bcf6fe088a09760ac52d55306c5",
        "lessThan": "cf6c993c0feca7984797e634deba3c80342e199a",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/crypto/policy.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.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.217",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.184",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.152",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.104",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.45",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/crypto/policy.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74595

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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