diff options
| author | Li RongQing <[email protected]> | 2020-04-02 07:52:10 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-04-06 19:48:05 +0000 |
| commit | db5c97f02373917efe2c218ebf8e3d8b19e343b6 (patch) | |
| tree | 20fda0873765ba42e4ab7b59f6ee1de2e933fde1 /tools/lib/bpf/netlink.c | |
| parent | bpf, lsm: Fix the file_mprotect LSM test. (diff) | |
| download | kernel-db5c97f02373917efe2c218ebf8e3d8b19e343b6.tar.gz kernel-db5c97f02373917efe2c218ebf8e3d8b19e343b6.zip | |
xsk: Fix out of boundary write in __xsk_rcv_memcpy
first_len is the remainder of the first page we're copying.
If this size is larger, then out of page boundary write will
otherwise happen.
Fixes: c05cd3645814 ("xsk: add support to allow unaligned chunk placement")
Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jonathan Lemon <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
