---
id: CVE-2026-74595
title: |-
  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 all…
summary: |-
  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 all…
severity: none
published: '2026-08-22'
updated: '2026-08-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74595'
references:
  - url: 'https://git.kernel.org/stable/c/33b7e810ce09955aa02f3b632455cf5e7ac990a9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/653e888a24c87b8bbeab44d7e558a1c1a3641088'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6a67c460b12315033268dce597546984fe5739e7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/98516ba8b817f34e86bdd7a5b7a383cff75c3ddf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cf6c993c0feca7984797e634deba3c80342e199a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
ingestedAt: '2026-08-23T09:45:33.507Z'
epss: 0.00121
epssPercentile: 0.01671
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
