BUG: KASAN: null-ptr-deref in copy_to_user arch/x86/include/asm/uaccess.h:731 [inline] BUG: KASAN: null-ptr-deref in snd_timer_user_read+0x594/0x710 sound/core/timer.c:2006 Read of size 32 at addr (null) by task syz-executor0/18815 CPU: 0 PID: 18815 Comm: syz-executor0 Not tainted 4.9.141+ #1 ffff8801c7137968 ffffffff81b42e79 0000000000000000 0000000000000020 0000000000000000 ffff8801c7137b38 ffff8801b011af00 ffff8801c71379b0 ffffffff81500bed ffffffff8224e014 0000000000000286 59db60f495d390a6 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_report_error mm/kasan/report.c:353 [inline] [] kasan_report.cold.6+0x6d/0x2fe mm/kasan/report.c:412 [] check_memory_region_inline mm/kasan/kasan.c:318 [inline] [] check_memory_region+0x14d/0x1b0 mm/kasan/kasan.c:325 [] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:330 [] copy_to_user arch/x86/include/asm/uaccess.h:731 [inline] [] snd_timer_user_read+0x594/0x710 sound/core/timer.c:2006 SELinux: ebitmap: start bit 0 comes after start bit 646635264 [] do_loop_readv_writev.part.1+0xd5/0x280 fs/read_write.c:718 [] do_loop_readv_writev fs/read_write.c:707 [inline] [] do_readv_writev+0x56e/0x7b0 fs/read_write.c:873 [] vfs_readv+0x84/0xc0 fs/read_write.c:897 [] do_readv+0xe6/0x260 fs/read_write.c:923 [] SYSC_readv fs/read_write.c:1010 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1007 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ================================================================== Kernel panic - not syncing: panic_on_warn set ... hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000C: unknown main item tag 0x0 SELinux: ebitmap: start bit 0 comes after start bit 646635264 hid-generic 0000:0000:FFFFFFF7.000C: hidraw0: HID v0.00 Device [syz1] on syz1 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: unknown main item tag 0x0 hid-generic 0000:0000:0000.000D: hidraw0: HID v0.00 Device [syz1] on syz0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: unknown main item tag 0x0 hid-generic 0000:0000:FFFFFFF7.000E: hidraw1: HID v0.00 Device [syz1] on syz1 SELinux: ebitmap: start bit 0 comes after start bit 646635264 SELinux: ebitmap: start bit 0 comes after start bit 646635264 SELinux: ebitmap: start bit 0 comes after start bit 646635264 CPU: 0 PID: 18815 Comm: syz-executor0 Tainted: G B 4.9.141+ #1 ffff8801c7137890 ffffffff81b42e79 ffffffff82e37630 00000000ffffffff 0000000000000000 0000000000000000 ffff8801b011af00 ffff8801c7137950 ffffffff813f7125 0000000041b58ab3 ffffffff82e2b62b ffffffff813f6f66 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] panic+0x1bf/0x39f kernel/panic.c:179 [] kasan_end_report+0x47/0x4f mm/kasan/report.c:180 [] kasan_report_error mm/kasan/report.c:360 [inline] [] kasan_report.cold.6+0x76/0x2fe mm/kasan/report.c:412 [] check_memory_region_inline mm/kasan/kasan.c:318 [inline] [] check_memory_region+0x14d/0x1b0 mm/kasan/kasan.c:325 [] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:330 [] copy_to_user arch/x86/include/asm/uaccess.h:731 [inline] [] snd_timer_user_read+0x594/0x710 sound/core/timer.c:2006 [] do_loop_readv_writev.part.1+0xd5/0x280 fs/read_write.c:718 [] do_loop_readv_writev fs/read_write.c:707 [inline] [] do_readv_writev+0x56e/0x7b0 fs/read_write.c:873 [] vfs_readv+0x84/0xc0 fs/read_write.c:897 [] do_readv+0xe6/0x260 fs/read_write.c:923 [] SYSC_readv fs/read_write.c:1010 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1007 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Kernel Offset: disabled Rebooting in 86400 seconds..