linux/net/mctp
Eugene Syromiatnikov 1e4b50f06d mctp: handle the struct sockaddr_mctp padding fields
In order to have the padding fields actually usable in the future,
there have to be checks that user space doesn't supply non-zero garbage
there.  It is also worth setting these padding fields to zero, unless
it is known that they have been already zeroed.

Cc: stable@vger.kernel.org # v5.15
Fixes: 5a20dd46b8 ("mctp: Be explicit about struct sockaddr_mctp padding")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Acked-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-11-04 19:17:34 -07:00
..
test mctp: Add input reassembly tests 2021-10-03 14:35:41 +01:00
af_mctp.c mctp: handle the struct sockaddr_mctp padding fields 2021-11-04 19:17:34 -07:00
device.c mctp: Pass flow data & flow release events to drivers 2021-10-29 13:23:51 +01:00
Kconfig mctp: Add flow extension to skb 2021-10-29 13:23:51 +01:00
Makefile mctp: Add test utils 2021-10-03 14:35:41 +01:00
neigh.c mctp: Add refcounts to mctp_dev 2021-09-29 11:00:11 +01:00
route.c mctp: Pass flow data & flow release events to drivers 2021-10-29 13:23:51 +01:00