diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2021-01-12 10:16:43 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-01-13 22:15:13 +0100 |
commit | b42b3a2744b3e8f427de79896720c72823af91ad (patch) | |
tree | 43c6f7295a83253c8e9052ae5cda3286ce54bb51 /fs/anon_inodes.c | |
parent | a95d25dd7b94a5ba18246da09b4218f132fed60e (diff) | |
download | linux-b42b3a2744b3e8f427de79896720c72823af91ad.tar.bz2 |
can: isotp: isotp_getname(): fix kernel information leak
Initialize the sockaddr_can structure to prevent a data leak to user space.
Suggested-by: Cong Wang <xiyou.wangcong@gmail.com>
Reported-by: syzbot+057884e2f453e8afebc8@syzkaller.appspotmail.com
Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol")
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/r/20210112091643.11789-1-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions