On Fri, 16 Sep 2022, at 04:03, Kumar Kartikeya Dwivedi wrote: > Just for completeness, this was also pointed out by Andy back in 2019: > https://lore.kernel.org/bpf/CALCETrVtPs8gY-H4gmzSqPboid3CB++n50SvYd6RU9YVde_-Ow@xxxxxxxxxxxxxx Thanks for that link, it's sad that the discussion got bogged down, it would've been great to fix this back then. For reference, Andy came up with the same proposed fix to require R/W when pinning: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=bpf/perms&id=3a5ddc41c25e00e8590f6da414bcf0ed7626ffe1 The following also seems relevant / desirable: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=bpf/perms&id=3bb110117c983f781f545e69ce35d4fcdd0c543b