summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2024-02-06 20:03:24 +0300
committerJuergen Gross <jgross@suse.com>2024-02-13 11:06:48 +0300
commitbf5802238dc181b1f7375d358af1d01cd72d1c11 (patch)
tree82870de17d881908450fe5d78509b1dea56c8874 /net/switchdev/switchdev.c
parentb0f2f82c9c16427722b8782371c2efe82b1f815c (diff)
downloadlinux-bf5802238dc181b1f7375d358af1d01cd72d1c11.tar.xz
xen/gntalloc: Replace UAPI 1-element array
Without changing the structure size (since it is UAPI), add a proper flexible array member, and reference it in the kernel so that it will not be trip the array-bounds sanitizer[1]. Link: https://github.com/KSPP/linux/issues/113 [1] Cc: Juergen Gross <jgross@suse.com> Cc: Stefano Stabellini <sstabellini@kernel.org> Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Cc: Gustavo A. R. Silva <gustavoars@kernel.org> Cc: xen-devel@lists.xenproject.org Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20240206170320.work.437-kees@kernel.org Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions