VDB

CVE-2026-64294

CVE-2026-64294 PUBLISHED

mm: do file ownership checks with the proper mount idmap

Reported by linux · Published July 25, 2026

In the Linux kernel, the following vulnerability has been resolved: mm: do file ownership checks with the proper mount idmap Ever since idmapped mounts were introduced, inode ownership checks (for side-channel protection) in mincore() and madvise(MADV_PAGEOUT) were done against the nop_mnt_idmap, which completely ignores the file's mount's idmap. This results in odd edgecases like: 1) mount/bind-mount with an idmap userA:userB:1 2) userB runs an owner_or_capable() check on file that is owned by userA on-disk/in-memory, but owned by userB after idmap translation 3) owner_or_capable() mysteriously fails as the correct idmap wasn't supplied In the case of mincore/madvise MADV_PAGEOUT, this is usually benign, because file_permission(file, MAY_WRITE) will probably succeed, as it uses the proper idmap internally, but it does not need to be the case on e.g a 0444 file where even the owner itself doesn't have permissions to write to it. Since this is clearly not trivial to get right, introduce a file_owner_or_capable() that can carry the correct semantics, and switch the various users in mm to it. The issue was found by manual code inspection & an off-list discussion with Jan Kara.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.100-125.179.amzn2023
perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-develAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-develAmazon Linux1:6.12.100-125.179.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
python3-perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.18-headersAmazon Linux1:6.18.39-79.141.amzn2023

7 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux9caccd41541a6f7d6279928d9f971f6642c361af, 9caccd41541a6f7d6279928d9f971f6642c361af, 9caccd41541a6f7d6279928d9f971f6642c361af
LinuxLinux5.12, 0, 5.15.217
amazon:2023kernel-headers0
amazon:2023kernel6.12-tools0
amazon:2023perf0
amazon:2023kernel-tools0
amazon:2023perf6.120
amazon:2023kernel-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023python3-perf0
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.180
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel6.180
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
LinuxLinux9caccd41541a6f7d6279928d9f971f6642c361af, 7.2, 7.1.4

…and 19 more

Timeline

  • Jul 25, 2026 EPSS Score (11 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64294
vulnetix vdb fixes CVE-2026-64294

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64294/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›