diff options
| author | Marco Elver <[email protected]> | 2021-05-05 01:40:18 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 18:27:27 +0000 |
| commit | 94868a1e127bbe0e03a4467f27196cd668cbc344 (patch) | |
| tree | c2e4043df74a4ca224270c4f8ab3772e89fa7007 /drivers/net/xen-netback/interface.c | |
| parent | mm/process_vm_access.c: remove duplicate include (diff) | |
| download | kernel-94868a1e127bbe0e03a4467f27196cd668cbc344.tar.gz kernel-94868a1e127bbe0e03a4467f27196cd668cbc344.zip | |
kfence: zero guard page after out-of-bounds access
After an out-of-bounds accesses, zero the guard page before re-protecting
in kfence_guarded_free(). On one hand this helps make the failure mode of
subsequent out-of-bounds accesses more deterministic, but could also
prevent certain information leaks.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Marco Elver <[email protected]>
Acked-by: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Jann Horn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
