syzbot


KASAN: use-after-free Read in n_tty_receive_buf_common
Status: upstream: reported C repro on 2019/12/06 10:55
Reported-by: syzbot+59997e8d5cbdc486e6f6@syzkaller.appspotmail.com
Fix commit: vt: selection, close sel_buffer race
Patched on: [ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 72d, last: 4h51m

Cause bisection: the bug happens on the oldest tested release
Crash: no output from test machine (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Bisected Count Last Reported Patched Status
linux-4.19 KASAN: use-after-free Read in n_tty_receive_buf_common C 30 2d12h 74d 0/1 upstream: reported C repro on 2019/12/04 11:30
linux-4.14 KASAN: use-after-free Read in n_tty_receive_buf_common C 23 1d20h 74d 0/1 upstream: reported C repro on 2019/12/04 12:35

Sample crash report:

Crashes (67):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-selinux-root 2020/02/17 04:14 upstream 11a48a5a 1f448cd6 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/02/15 18:42 upstream 2019fc96 5d7b90f1 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-smack-root 2020/02/14 12:53 upstream b19e8c68 5d7b90f1 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/02 16:08 upstream 738d2902 25a0186e .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/02 15:41 upstream 738d2902 25a0186e .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/15 12:15 upstream 07c4b9e9 eef6e580 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/15 10:04 upstream 07c4b9e9 eef6e580 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/15 04:48 upstream 07c4b9e9 eef6e580 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/15 00:40 upstream e31736d9 eef6e580 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/13 17:14 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/13 11:52 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/13 11:27 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/13 10:58 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/13 06:18 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/13 05:48 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/13 04:14 upstream ae4b064e 08003f64 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/09 16:10 upstream e42617b8 b31eda3d .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/09 06:20 upstream 9455d25f 1508f453 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/26 16:27 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/26 06:16 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/26 03:51 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/26 02:09 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/25 23:54 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/25 10:13 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/25 03:15 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/24 11:12 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/24 09:29 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/24 00:47 linux-next 7ddd09fc be5c2c81 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/23 00:40 linux-next 7ddd09fc 8b967267 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/21 14:51 linux-next 7ddd09fc bc586918 .config log report syz C gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/29 17:51 upstream bf8d1cd4 af6b8ef8 .config log report syz gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/29 12:57 upstream bf8d1cd4 af6b8ef8 .config log report syz gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/14 15:47 upstream e31736d9 eef6e580 .config log report syz gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/06 10:40 upstream b0d4beaa 98b4ef2d .config log report syz gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2020/01/05 07:42 linux-next 7ddd09fc 68256974 .config log report syz gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/12 03:51 upstream 359c92c0 a75b198c .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-smack-root 2020/02/11 08:56 upstream 0a679e13 084454ae .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/31 22:48 upstream ccaaaf6f c30117b2 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-smack-root 2020/01/31 05:20 upstream 9f68e365 5ed23f9a .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/28 08:34 upstream d5226fa6 56cd6c9b .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/26 15:00 upstream 2821e26f f4e7270e .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/24 07:10 upstream 4703d911 2e95ab33 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/22 03:54 upstream d96d875e 8eda0b95 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/15 11:46 upstream 95e20af9 fa12bd3c .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/14 22:06 upstream e033e7d4 fa12bd3c .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-smack-root 2020/01/14 20:56 upstream e033e7d4 fa12bd3c .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/14 13:28 upstream b3a987b0 32881205 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-smack-root 2020/01/13 23:47 upstream b3a987b0 99565c1a .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/13 18:12 upstream b3a987b0 99565c1a .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-qemu-upstream 2020/01/12 19:43 upstream 040a3c33 53faa9fe .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/10 12:11 upstream e69ec487 4de4e9f0 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/24 19:50 upstream 46cf053e be5c2c81 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/20 23:48 upstream 6398b9fc bc586918 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/20 08:07 upstream 7e0165b2 e30cbdae .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/20 08:06 upstream 7e0165b2 e30cbdae .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/20 07:59 upstream 7e0165b2 e30cbdae .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/18 14:27 upstream 2187f215 f2fe0772 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/12 16:00 upstream 687dec9b d973f528 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/11 22:06 upstream 6794862a 101194eb .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/11 08:14 upstream 6794862a 101194eb .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/11 04:46 upstream 6794862a 101194eb .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/08 10:20 upstream ad910e36 1508f453 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/24 06:40 linux-next 7ddd09fc be5c2c81 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/23 11:46 linux-next 7ddd09fc be5c2c81 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/08 10:24 linux-next 558c2bf5 1508f453 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/08 10:20 linux-next 558c2bf5 1508f453 .config log report gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org