diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-11 00:15:29 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-04-13 21:15:51 +0200 |
commit | ab502103ae3ce4c0fc393e598455efede3e523c9 (patch) | |
tree | 76cc3109c004c93473f70759b100ac083ff03649 /arch/xtensa | |
parent | mm/usercopy: Detect vmalloc overruns (diff) | |
download | linux-ab502103ae3ce4c0fc393e598455efede3e523c9.tar.xz linux-ab502103ae3ce4c0fc393e598455efede3e523c9.zip |
mm/usercopy: Detect large folio overruns
Move the compound page overrun detection out of
CONFIG_HARDENED_USERCOPY_PAGESPAN and convert it to use folios so it's
enabled for more people.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220110231530.665970-4-willy@infradead.org
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions