diff options
author | Mark Rutland <[email protected]> | 2020-04-14 11:42:48 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2020-04-15 11:13:16 +0100 |
commit | 9cc3d0c6915aee5140f8335d41bbc3ff1b79aa4e (patch) | |
tree | 3ca84d6bbd95b959b81c126a847e6f52e249aa68 /scripts/gdb/linux/timerlist.py | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff) |
arm64: vdso: don't free unallocated pages
The aarch32_vdso_pages[] array never has entries allocated in the C_VVAR
or C_VDSO slots, and as the array is zero initialized these contain
NULL.
However in __aarch32_alloc_vdso_pages() when
aarch32_alloc_kuser_vdso_page() fails we attempt to free the page whose
struct page is at NULL, which is obviously nonsensical.
This patch removes the erroneous page freeing.
Fixes: 7c1deeeb0130 ("arm64: compat: VDSO setup for compat layer")
Cc: <[email protected]> # 5.3.x-
Cc: Vincenzo Frascino <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions