Junglewise Threat Intelligence

CVE-2026-64294: Linux Kernel incorrect idmap validation in mincore and madvise

CVE-2026-64294 · Severity: info · CVSS 3.3 · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's memory management system could allow local users to bypass certain security checks related to file ownership. This issue occurs when using 'idmapped mounts,' a feature that allows files to appear as if they are owned by different users than they are on disk. While primarily affecting side-channel protections, it could lead to unauthorized information disclosure or unexpected behavior in how the system manages memory for specific files.

Technical details

A vulnerability exists in the Linux kernel's memory management (mm) subsystem where inode ownership checks in mincore() and madvise(MADV_PAGEOUT) are performed against the default 'nop_mnt_idmap' instead of the specific idmap of the mount. This root cause stems from the introduction of idmapped mounts, where the kernel failed to propagate the correct mapping to side-channel protection checks. A local attacker can exploit this to bypass 'owner_or_capable' checks on files within idmapped mounts. While often mitigated by secondary permission checks, it specifically impacts scenarios involving read-only files (e.g., mode 0444) where the owner should have access that is incorrectly denied or granted. The fix introduces 'file_owner_or_capable()' to ensure the correct mount idmap is utilized.

Affected products

  • Linux Linux Kernel 5.12 to 6.12.96

Timeline

  • 2026-06-25: disclosed: Initial patch submitted by Pedro Falcato
  • 2026-07-18: patched: Commits merged into stable branches
  • 2026-07-25: advisory: CVE-2026-64294 published

References

Related threats