An issue was discovered in the Linux kernel before 5.7.3, related to mm/gup.c and mm/huge_memory.c. The get_user_pages (aka gup) implementation, when used for a copy-on-write page, does not properly consider the semantics of read operations and therefore can grant unintended write access. Reference: https://bugs.chromium.org/p/project-zero/issues/detail?id=2045 Upstream commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=17839856fd588f4ab6b789f482ed3ffd7c403e1f
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 1903251]
This was fixed for Fedora with the 5.6.19 stable kernel updates.