syzbot


WARNING in atp_close (3)
Status: fixed on 2022/03/08 16:11
Reported-by: syzbot+b88c5eae27386b252bbd@syzkaller.appspotmail.com
Fix commit: 9f3ccdc3f6ef Input: appletouch - initialize work before device registration
First crash: 241d, last: 145d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in atp_close 1 532d 528d 0/22 auto-closed as invalid on 2021/04/11 22:28
upstream WARNING in atp_close (2) 1 407d 403d 0/22 auto-closed as invalid on 2021/06/15 14:49
Patch testing requests:
Created Duration User Patch Repo Result
2021/12/30 13:13 19m paskripkin@gmail.com patch upstream OK

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1152 at kernel/workqueue.c:3074 __flush_work+0x93f/0xb20 kernel/workqueue.c:3074
Modules linked in:
CPU: 1 PID: 1152 Comm: acpid Not tainted 5.15.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__flush_work+0x93f/0xb20 kernel/workqueue.c:3074
Code: ff 41 89 c4 89 8d 88 fe ff ff e8 4c 9d 55 00 48 0f ba 2b 03 e9 55 fa ff ff e8 7d 62 26 00 0f 0b e9 4c fc ff ff e8 71 62 26 00 <0f> 0b 45 31 f6 e9 3d fc ff ff e8 a2 99 55 00 e9 25 fb ff ff e8 58
RSP: 0018:ffffc90000287b38 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88811b42e290 RCX: 0000000000000000
RDX: ffff888110543680 RSI: ffffffff811b65af RDI: 0000000000000003
RBP: ffffc90000287cd0 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff811b5d15 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff92000050f9d R14: 0000000000000001 R15: ffff88811b42e2a8
FS:  00007f81838cb740(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f894189201d CR3: 000000010d04e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3170
 atp_close+0x5e/0xa0 drivers/input/mouse/appletouch.c:812
 input_close_device+0x156/0x1f0 drivers/input/input.c:687
 evdev_close_device drivers/input/evdev.c:414 [inline]
 evdev_release+0x34c/0x410 drivers/input/evdev.c:456
 __fput+0x288/0x9f0 fs/file_table.c:280
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
 exit_to_user_mode_prepare+0x215/0x220 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f81839b3fc3
Code: 48 ff ff ff b8 ff ff ff ff e9 3e ff ff ff 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8
RSP: 002b:00007ffe5cb7c8f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007ffe5cb7cb68 RCX: 00007f81839b3fc3
RDX: 0000000000000000 RSI: 000000000000001e RDI: 000000000000000a
RBP: 000000000000000a R08: 00007ffe5cb7cb7c R09: 00007ffe5cb7ca68
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe5cb7ca68
R13: 00007ffe5cb7cb68 R14: 0000000000000020 R15: 0000000000000000

Crashes (125):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-usb 2021/10/23 00:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c26f1c109d21 282f03fb .config log report syz C WARNING in atp_close
ci-upstream-kasan-gce 2022/01/01 05:29 upstream 4f3d93c6eaff e1768e9c .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/30 23:40 upstream eec4df26e24e 2e49f10d .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/30 12:53 upstream eec4df26e24e 2e49f10d .config log report info WARNING in atp_close
ci-upstream-kasan-gce-smack-root 2021/12/28 16:45 upstream a8ad9a2434dc 6b3c5e64 .config log report info WARNING in atp_close
ci-upstream-kasan-gce 2021/12/28 07:50 upstream a8ad9a2434dc 6b3c5e64 .config log report info WARNING in atp_close
ci-upstream-kasan-gce 2021/12/26 12:41 upstream 438645193e59 e4f103c4 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-smack-root 2021/12/19 14:41 upstream 3f667b5d4053 44068e19 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/19 09:46 upstream 3f667b5d4053 44068e19 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/17 10:05 upstream fa36bbe6d43f 44068e19 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-selinux-root 2021/12/16 07:21 upstream 2b14864acbaa 572bcb40 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/14 03:05 upstream 5472f14a3742 5d14b1ea .config log report info WARNING in atp_close
ci-upstream-kasan-gce 2021/12/14 02:02 upstream 5472f14a3742 5d14b1ea .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/13 14:30 upstream 2585cf9dfaad 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-selinux-root 2021/12/10 17:21 upstream c741e49150db 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/10 13:22 upstream c741e49150db 4d4ce9bc .config log report info WARNING in atp_close
ci-upstream-kasan-gce-smack-root 2021/12/10 02:02 upstream c741e49150db 4d4ce9bc .config log report info WARNING in atp_close
ci-upstream-kasan-gce-smack-root 2021/12/10 00:59 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-smack-root 2021/12/09 23:57 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-upstream-kasan-gce 2021/12/09 23:52 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-smack-root 2021/12/09 23:20 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/09 23:02 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-root 2021/12/09 22:57 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-qemu-upstream 2021/10/26 07:58 upstream 3906fe9bb7f1 c1132b49 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/30 07:54 upstream eec4df26e24e 6cc879d4 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/17 13:05 upstream 6441998e2e37 44068e19 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/16 09:46 upstream 2b14864acbaa 572bcb40 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/11 14:59 upstream 6f513529296f 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/11 13:37 upstream 6f513529296f 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/10 22:28 upstream b8a98b6bf66a 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/10 16:04 upstream c741e49150db 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/10 03:07 upstream c741e49150db 4d4ce9bc .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/09 23:54 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-upstream-kasan-gce-386 2021/12/09 23:13 upstream c741e49150db b54aa474 .config log report info WARNING in atp_close
ci-qemu-upstream-386 2021/10/19 02:55 upstream 519d81956ee2 24dc29db .config log report info WARNING in atp_close
ci-upstream-linux-next-kasan-gce-root 2022/01/03 14:31 linux-next ea586a076e8a e1768e9c .config log report info WARNING in atp_close
ci-upstream-linux-next-kasan-gce-root 2022/01/01 18:03 linux-next ea586a076e8a e1768e9c .config log report info WARNING in atp_close
ci-upstream-linux-next-kasan-gce-root 2021/12/30 06:50 linux-next ea586a076e8a 6cc879d4 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/20 21:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 236c9ad1f870 62bd192b .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/20 19:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 236c9ad1f870 62bd192b .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/18 17:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f2b42379c576 44068e19 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/14 05:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cdf8e2de16c0 5d14b1ea .config log report info WARNING in atp_close
ci-upstream-linux-next-kasan-gce-root 2021/12/13 17:57 linux-next ea922272cbe5 49ca1f59 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/13 08:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 49ca1f59 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/13 06:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 49ca1f59 .config log report info WARNING in atp_close
ci-upstream-linux-next-kasan-gce-root 2021/12/11 03:21 linux-next ea922272cbe5 49ca1f59 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/08 16:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 a4a2a501 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/08 07:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 0230ba3e .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/06 13:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 579a8754 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/03 22:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 76c4c95dac0d c7c20675 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/12/02 22:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4d012040161c 61f86278 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/11/30 12:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4d012040161c 80270552 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/11/30 01:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4d012040161c d0830353 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/11/25 20:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c4bc515d73b5 63eeac02 .config log report info WARNING in atp_close
ci2-upstream-usb 2021/11/24 04:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c4bc515d73b5 545ab074 .config log report info WARNING in atp_close
ci-upstream-linux-next-kasan-gce-root 2021/09/28 23:56 linux-next bf5b1e621a51 d82cb927 .config log report info WARNING in atp_close