diff options
author | 2023-06-03 10:52:40 -0400 | |
---|---|---|
committer | 2023-06-23 10:31:51 -0400 | |
commit | 13f4a697f8b4feb705569f9336127e9e2f9ac596 (patch) | |
tree | b06d5d26f3bafba66b50edbc6cd5cf99aa145dd7 /scripts/generate_rust_analyzer.py | |
parent | dm ioctl: Check dm_target_spec is sufficiently aligned (diff) | |
download | wireguard-linux-13f4a697f8b4feb705569f9336127e9e2f9ac596.tar.xz wireguard-linux-13f4a697f8b4feb705569f9336127e9e2f9ac596.zip |
dm ioctl: Avoid pointer arithmetic overflow
Especially on 32-bit systems, it is possible for the pointer
arithmetic to overflow and cause a userspace pointer to be
dereferenced in the kernel.
Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions