bisecting cause commit starting from 089866061428ec9bf67221247c936792078c41a4 building syzkaller on 1434eec0b84075b7246560cfa89f20cdb3d8077f testing commit 089866061428ec9bf67221247c936792078c41a4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7b24d4846e760fc071dad2710285ebaa9c5d5275e2955fd7494aa3d734a7dbca run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: crashed: INFO: task hung in __input_unregister_device run #11: crashed: INFO: task hung in __input_unregister_device run #12: crashed: INFO: task hung in __input_unregister_device run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing release v5.18 testing commit 4b0986a3613c92f4ec1bdc7f60ec66fea135991f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 331693ab2d57e7992b0973bf8b86e217a061ccc1c337f8c0efed1eaac539bfe3 run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky testing release v5.17 testing commit f443e374ae131c168a065ea1748feac6b2e76613 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 387e44659fd9d675b3c5ebc90ab439f4c23878b1bce696656cca06dd7b2a3600 run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: crashed: INFO: task hung in __input_unregister_device run #11: crashed: INFO: task hung in __input_unregister_device run #12: crashed: INFO: task hung in __input_unregister_device run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing release v5.16 testing commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aff85b94c78b419151b855c787840b928d9980747503ecf8442d224e9d11a41d run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: crashed: INFO: task hung in __input_unregister_device run #11: crashed: INFO: task hung in __input_unregister_device run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing release v5.15 testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5c4ea7939633ae374a29e9fed21281e7968b295e280e65b88864a0daf53396a7 all runs: OK # git bisect start df0cc57e057f18e44dac8e6c18aba47ab53202f9 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 7870 revisions left to test after this (roughly 13 steps) [2219b0ceefe835b92a8a74a73fe964aa052742a2] Merge tag 'soc-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 2219b0ceefe835b92a8a74a73fe964aa052742a2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7a84839b836123c3d77a5e8d3a3602e968f40844bd49cd416a08107dfc20b229 all runs: OK # git bisect good 2219b0ceefe835b92a8a74a73fe964aa052742a2 Bisecting: 3942 revisions left to test after this (roughly 12 steps) [206825f50f908771934e1fba2bfc2e1f1138b36a] Merge tag 'mtd/for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux testing commit 206825f50f908771934e1fba2bfc2e1f1138b36a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 779c7121d1472c6190c598ab10349d449455758fe67192b9fe18daa21af5979f all runs: OK # git bisect good 206825f50f908771934e1fba2bfc2e1f1138b36a Bisecting: 1971 revisions left to test after this (roughly 11 steps) [4e1fddc98d2585ddd4792b5e44433dcee7ece001] tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows testing commit 4e1fddc98d2585ddd4792b5e44433dcee7ece001 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d4fd7c50361b30114dbc2c08052f22b8ccf86a1c0b9b7f00b44e1cc5ead8fa54 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: EOF run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: crashed: INFO: task hung in __input_unregister_device run #11: crashed: INFO: task hung in __input_unregister_device run #12: crashed: INFO: task hung in __input_unregister_device run #13: crashed: INFO: task hung in __input_unregister_device run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 4e1fddc98d2585ddd4792b5e44433dcee7ece001 Bisecting: 989 revisions left to test after this (roughly 10 steps) [dbf49896187fd58c577fa1574a338e4f3672b4b2] Merge branch 'akpm' (patches from Andrew) testing commit dbf49896187fd58c577fa1574a338e4f3672b4b2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9de100e7bf5ecf5d25d867a223af3f4e9ba3162341a3a180315dc0aea0233c1c all runs: OK # git bisect good dbf49896187fd58c577fa1574a338e4f3672b4b2 Bisecting: 492 revisions left to test after this (roughly 9 steps) [0ecca62beb12eeb13965ed602905c8bf53ac93d0] Merge tag 'ceph-for-5.16-rc1' of git://github.com/ceph/ceph-client testing commit 0ecca62beb12eeb13965ed602905c8bf53ac93d0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c8c5380b89bef7550eb3295b1cfcc542ce0d1682342a35683d4b1b189551a1c8 run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: crashed: INFO: task hung in __input_unregister_device run #11: crashed: INFO: task hung in __input_unregister_device run #12: crashed: INFO: task hung in __input_unregister_device run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 0ecca62beb12eeb13965ed602905c8bf53ac93d0 Bisecting: 217 revisions left to test after this (roughly 8 steps) [304ac8032d3fa2d37750969cd4b8d5736a1829d9] Merge tag 'drm-next-2021-11-12' of git://anongit.freedesktop.org/drm/drm testing commit 304ac8032d3fa2d37750969cd4b8d5736a1829d9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8ce6502d726fd208a268bfad62b813989befca22c2a6b7b87518cd9d163f2d44 run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 304ac8032d3fa2d37750969cd4b8d5736a1829d9 Bisecting: 134 revisions left to test after this (roughly 7 steps) [f78e9de80f5ad15719a069a4e6c11e2777122188] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input testing commit f78e9de80f5ad15719a069a4e6c11e2777122188 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 58cc7a3af13634785b8f8f8758f64b0352df86559c7fe41a3c5042ede7ca1ea9 run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: crashed: INFO: task hung in __input_unregister_device run #10: crashed: INFO: task hung in __input_unregister_device run #11: crashed: INFO: task hung in __input_unregister_device run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad f78e9de80f5ad15719a069a4e6c11e2777122188 Bisecting: 55 revisions left to test after this (roughly 6 steps) [3b81bf78b7338bcc66581593e604e95addc546cc] Merge tag 'rtc-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux testing commit 3b81bf78b7338bcc66581593e604e95addc546cc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 88091fc6b2fed48e13a798f144c7741633330e6a5daef3a103516faf64a420bd all runs: OK # git bisect good 3b81bf78b7338bcc66581593e604e95addc546cc Bisecting: 27 revisions left to test after this (roughly 5 steps) [4ce73b052bdd64f6edba86d3a4e8608cca78c105] Input: ep93xx_keypad - use BIT() and GENMASK() macros testing commit 4ce73b052bdd64f6edba86d3a4e8608cca78c105 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aad0d48082c5bb9596573465674bc79add46407698bdddf4d6e05a1dc6dc31a6 all runs: OK # git bisect good 4ce73b052bdd64f6edba86d3a4e8608cca78c105 Bisecting: 13 revisions left to test after this (roughly 4 steps) [235300ed8c6ccf8d3044f4ad25b1e984d5dd20d0] Input: ili210x - use resolution from ili251x firmware testing commit 235300ed8c6ccf8d3044f4ad25b1e984d5dd20d0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7f180ad0f71ba352e3556f03f878a54e32d5c064ce6f6f9ac4cc956d8588d9de all runs: OK # git bisect good 235300ed8c6ccf8d3044f4ad25b1e984d5dd20d0 Bisecting: 6 revisions left to test after this (roughly 3 steps) [be896bd3b72b44126c55768f14c22a8729b0992e] Input: elantench - fix misreporting trackpoint coordinates testing commit be896bd3b72b44126c55768f14c22a8729b0992e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a4e7d412ee1f0f62665ec691c2acf509e1c976b139a4e986180ac5b5fa773d14 all runs: OK # git bisect good be896bd3b72b44126c55768f14c22a8729b0992e Bisecting: 3 revisions left to test after this (roughly 2 steps) [27931d38ce057f36e68bc68cd4bf4ba24bbb9c57] Input: ili210x - reduce sample period to 15ms testing commit 27931d38ce057f36e68bc68cd4bf4ba24bbb9c57 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a4e7d412ee1f0f62665ec691c2acf509e1c976b139a4e986180ac5b5fa773d14 all runs: OK # git bisect good 27931d38ce057f36e68bc68cd4bf4ba24bbb9c57 Bisecting: 1 revision left to test after this (roughly 1 step) [744d0090a5f6dfa4c81b53402ccdf08313100429] Input: iforce - fix control-message timeout testing commit 744d0090a5f6dfa4c81b53402ccdf08313100429 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 75d8aa0a7632fcbf4fff4fb13820ca2af7a73e45d9a5769c4d8a4de69bcdc600 run #0: crashed: INFO: task hung in __input_unregister_device run #1: crashed: INFO: task hung in __input_unregister_device run #2: crashed: INFO: task hung in __input_unregister_device run #3: crashed: INFO: task hung in __input_unregister_device run #4: crashed: INFO: task hung in __input_unregister_device run #5: crashed: INFO: task hung in __input_unregister_device run #6: crashed: INFO: task hung in __input_unregister_device run #7: crashed: INFO: task hung in __input_unregister_device run #8: crashed: INFO: task hung in __input_unregister_device run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 744d0090a5f6dfa4c81b53402ccdf08313100429 Bisecting: 0 revisions left to test after this (roughly 0 steps) [91e2e76695fe52339be4bc4722475641ab0fc75c] Input: wacom_i2c - use macros for the bit masks testing commit 91e2e76695fe52339be4bc4722475641ab0fc75c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a4e7d412ee1f0f62665ec691c2acf509e1c976b139a4e986180ac5b5fa773d14 all runs: OK # git bisect good 91e2e76695fe52339be4bc4722475641ab0fc75c 744d0090a5f6dfa4c81b53402ccdf08313100429 is the first bad commit commit 744d0090a5f6dfa4c81b53402ccdf08313100429 Author: Johan Hovold Date: Tue Nov 9 22:58:01 2021 -0800 Input: iforce - fix control-message timeout USB control-message timeouts are specified in milliseconds and should specifically not vary with CONFIG_HZ. Fixes: 487358627825 ("Input: iforce - use DMA-safe buffer when getting IDs from USB") Signed-off-by: Johan Hovold Cc: stable@vger.kernel.org # 5.3 Link: https://lore.kernel.org/r/20211025115501.5190-1-johan@kernel.org Signed-off-by: Dmitry Torokhov drivers/input/joystick/iforce/iforce-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) culprit signature: 75d8aa0a7632fcbf4fff4fb13820ca2af7a73e45d9a5769c4d8a4de69bcdc600 parent signature: a4e7d412ee1f0f62665ec691c2acf509e1c976b139a4e986180ac5b5fa773d14 Reproducer flagged being flaky revisions tested: 19, total time: 5h48m23.289655176s (build: 2h7m1.088748937s, test: 3h38m58.0852501s) first bad commit: 744d0090a5f6dfa4c81b53402ccdf08313100429 Input: iforce - fix control-message timeout recipients (to): ["dmitry.torokhov@gmail.com" "johan@kernel.org" "linux-kernel@vger.kernel.org"] recipients (cc): ["dmitry.torokhov@gmail.com" "linux-input@vger.kernel.org"] crash: INFO: task hung in __input_unregister_device INFO: task kworker/1:2:4572 blocked for more than 143 seconds. Not tainted 5.13.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:24328 pid: 4572 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x8e3/0x23a0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5285 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7d4/0x10c0 kernel/locking/mutex.c:1104 input_disconnect_device drivers/input/input.c:737 [inline] __input_unregister_device+0x1e/0x420 drivers/input/input.c:2184 input_unregister_device+0x7f/0xb0 drivers/input/input.c:2379 iforce_usb_disconnect+0x59/0xe0 drivers/input/joystick/iforce/iforce-usb.c:261 usb_unbind_interface+0x183/0x7e0 drivers/usb/core/driver.c:458 __device_release_driver+0x32f/0x660 drivers/base/dd.c:1181 device_release_driver_internal drivers/base/dd.c:1212 [inline] device_release_driver+0x21/0x30 drivers/base/dd.c:1235 bus_remove_device+0x298/0x550 drivers/base/bus.c:533 device_del+0x494/0xc10 drivers/base/core.c:3512 usb_disable_device+0x29c/0x660 drivers/usb/core/message.c:1413 usb_disconnect.cold+0x20c/0x681 drivers/usb/core/hub.c:2221 hub_port_connect drivers/usb/core/hub.c:5129 [inline] hub_port_connect_change drivers/usb/core/hub.c:5418 [inline] port_event drivers/usb/core/hub.c:5564 [inline] hub_event+0xb22/0x36d0 drivers/usb/core/hub.c:5646 process_one_work+0x84c/0x13b0 kernel/workqueue.c:2276 process_scheduled_works kernel/workqueue.c:2338 [inline] worker_thread+0x733/0xf80 kernel/workqueue.c:2424 kthread+0x36f/0x450 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Showing all locks held in the system: 1 lock held by khungtaskd/1634: #0: ffffffff8a970340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6335 6 locks held by kworker/1:2/4572: #0: ffff8881415ac138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881415ac138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8881415ac138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8881415ac138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff8881415ac138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff8881415ac138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x771/0x13b0 kernel/workqueue.c:2247 #1: ffffc9000a6bfdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x79e/0x13b0 kernel/workqueue.c:2251 #2: ffff88801fe61220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:742 [inline] #2: ffff88801fe61220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36d0 drivers/usb/core/hub.c:5592 #3: ffff888034712220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:742 [inline] #3: ffff888034712220 (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x4d/0x681 drivers/usb/core/hub.c:2212 #4: ffff8880340311a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:742 [inline] #4: ffff8880340311a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1001 [inline] #4: ffff8880340311a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal drivers/base/dd.c:1209 [inline] #4: ffff8880340311a8 (&dev->mutex){....}-{3:3}, at: device_release_driver+0x17/0x30 drivers/base/dd.c:1235 #5: ffff88802c9122c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_disconnect_device drivers/input/input.c:737 [inline] #5: ffff88802c9122c0 (&dev->mutex#2){+.+.}-{3:3}, at: __input_unregister_device+0x1e/0x420 drivers/input/input.c:2184 2 locks held by acpid/4797: #0: ffff88803475c158 (&joydev->mutex){+.+.}-{3:3}, at: joydev_close_device drivers/input/joydev.c:220 [inline] #0: ffff88803475c158 (&joydev->mutex){+.+.}-{3:3}, at: joydev_release+0x16b/0x250 drivers/input/joydev.c:252 #1: ffff88802c9122c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x3b/0x190 drivers/input/input.c:679 2 locks held by getty/5129: #0: ffff888147733098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900016162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xa65/0xf90 drivers/tty/n_tty.c:2179 3 locks held by kworker/0:5/5464: 2 locks held by udevd/5777: #0: ffff88802f4b5110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open_device drivers/input/evdev.c:393 [inline] #0: ffff88802f4b5110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open+0x2af/0x630 drivers/input/evdev.c:487 #1: ffff88802c9122c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_open_device+0x45/0x290 drivers/input/input.c:609 2 locks held by syz-executor.0/6047: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1634 Comm: khungtaskd Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0xa5/0xe6 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x30/0x99 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11f/0x170 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0x956/0xc30 kernel/hung_task.c:294 kthread+0x36f/0x450 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:108 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x161/0x1c0 drivers/acpi/processor_idle.c:513