mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
ANDROID: mm: page_pinner: use put_user_page at copy_string
copy_string calls __get_user_pages by copy_strings. Thus, let's use put_user_page to close the false positive. Page pinned via pid 905, ts 13725666111 ns PFN 104188 Block 203 type Movable Flags 0xfffffc0080036(referenced|uptodate|lru|active|swapbacked) try_grab_page+0x144/0x160 follow_page_mask+0x4a1/0x630 __get_user_pages+0x24e/0x760 __get_user_pages_remote+0xd4/0x320 get_arg_page+0x3e/0xa0 copy_strings.isra.0+0x201/0x380 do_execveat_common+0x17a/0x1c0 __x64_sys_execve+0x39/0x50 do_syscall_64+0x33/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae Bug: 183414571 Signed-off-by: Minchan Kim <minchan@google.com> Change-Id: I4c515d12f75496741cd80a24cf6ea971006f0bce
This commit is contained in:
Reference in New Issue
Block a user