Re: [PATCH net] isdn: fix kernel-infoleak in capi_unlocked_ioctl

2019-01-02 Thread David Miller
From: Eric Dumazet Date: Wed, 2 Jan 2019 09:20:27 -0800 > Since capi_ioctl() copies 64 bytes after calling > capi20_get_manufacturer() we need to ensure to not leak > information to user. ... > Signed-off-by: Eric Dumazet > Reported-by: syzbot > Cc: Karsten Keil Applied and queued up for -st

[PATCH net] isdn: fix kernel-infoleak in capi_unlocked_ioctl

2019-01-02 Thread Eric Dumazet
Since capi_ioctl() copies 64 bytes after calling capi20_get_manufacturer() we need to ensure to not leak information to user. BUG: KMSAN: kernel-infoleak in _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32 CPU: 0 PID: 11245 Comm: syz-executor633 Not tainted 4.20.0-rc7+ #2 Hardware name: Google Google C