CVE-2026-64294
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| perf | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
7 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9caccd41541a6f7d6279928d9f971f6642c361af, 9caccd41541a6f7d6279928d9f971f6642c361af, 9caccd41541a6f7d6279928d9f971f6642c361af |
| Linux | Linux | 5.12, 0, 5.15.217 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.1.186-228.374 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| Linux | Linux | 9caccd41541a6f7d6279928d9f971f6642c361af, 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