summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/Kbuild
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2020-12-15 18:40:59 +0300
committerIlya Dryomov <idryomov@gmail.com>2020-12-28 22:34:32 +0300
commitad32fe8801c38f7b1a8b3814bd1f006cb2b5e781 (patch)
tree46228c2e49170ff805d30480189fdd0025cd780b /arch/s390/include/asm/Kbuild
parent60267ba35c744d851dcd2d22ebaa240ca6aaa15f (diff)
downloadlinux-ad32fe8801c38f7b1a8b3814bd1f006cb2b5e781.tar.xz
libceph: fix auth_signature buffer allocation in secure mode
auth_signature frame is 68 bytes in plain mode and 96 bytes in secure mode but we are requesting 68 bytes in both modes. By luck, this doesn't actually result in any invalid memory accesses because the allocation is satisfied out of kmalloc-96 slab and so exactly 96 bytes are allocated, but KASAN rightfully complains. Fixes: cd1a677cad99 ("libceph, ceph: implement msgr2.1 protocol (crc and secure modes)") Reported-by: Luis Henriques <lhenriques@suse.de> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'arch/s390/include/asm/Kbuild')
0 files changed, 0 insertions, 0 deletions