Ilya Dryomov ad32fe8801 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>
2020-12-28 20:34:32 +01:00
..
2020-12-21 10:28:02 -08:00
2020-10-30 11:59:54 -07:00
2020-12-16 11:01:04 -08:00
2020-12-16 11:01:04 -08:00
2020-12-16 11:01:04 -08:00
2020-10-30 11:43:42 -07:00
2020-10-30 11:34:09 -07:00
2020-12-12 10:07:56 -08:00
2020-12-17 10:24:47 -08:00
2020-11-12 17:00:13 -08:00
2020-12-16 11:01:04 -08:00
2020-11-17 15:22:06 -04:00
2020-11-23 17:44:11 -08:00
2020-12-17 12:15:03 -08:00
2020-12-12 10:07:56 -08:00
2020-12-16 11:01:04 -08:00
2020-10-29 19:27:45 +01:00
2020-10-29 19:27:45 +01:00
2020-12-16 12:44:05 -08:00