bisecting cause commit starting from a4e6f95a891ac08bd09d62e3e6dae239b150f4c1 building syzkaller on d82cb92782c3ba0f68f7393b069afb07adfbc585 testing commit a4e6f95a891ac08bd09d62e3e6dae239b150f4c1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2907fb21a847b17bc00fb4f9429675600342d19d4a005b4c01893b7db64cec99 run #0: crashed: INFO: task hung in wg_netns_pre_exit run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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 reproducer seems to be flaky testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8c219514f33cf5f7e995cffb6643e798eb9f0e406da2dbcbb7423680d5a3f503 all runs: OK # git bisect start a4e6f95a891ac08bd09d62e3e6dae239b150f4c1 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 6521 revisions left to test after this (roughly 13 steps) [1b4f3dfb4792f03b139edf10124fcbeb44e608e6] Merge tag 'usb-serial-5.15-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next testing commit 1b4f3dfb4792f03b139edf10124fcbeb44e608e6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2a21ff9c3775a869ed875a487dbb63bb481a58752b4a2427f39fc52291f831d7 all runs: OK # git bisect good 1b4f3dfb4792f03b139edf10124fcbeb44e608e6 Bisecting: 3198 revisions left to test after this (roughly 12 steps) [a9c9a6f741cdaa2fa9ba24a790db8d07295761e3] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d2c4887cbb9a6a5826d7ddae6a0b820627ad83f91ca882c7fbc9275a198505e2 all runs: OK # git bisect good a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 Bisecting: 1603 revisions left to test after this (roughly 11 steps) [cc09ee80c3b18ae1a897a30a17fe710b2b2f620a] Merge tag 'mm-slub-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux testing commit cc09ee80c3b18ae1a897a30a17fe710b2b2f620a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a84514acc7adc2fa44b1d827f8abeddb098e164d4d5354148f69cc6266ebbcac run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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: boot failed: KFENCE: use-after-free in kvm_fastop_exception run #19: boot failed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good cc09ee80c3b18ae1a897a30a17fe710b2b2f620a Bisecting: 799 revisions left to test after this (roughly 10 steps) [8d4a0b5d0813c990637fa9f3c9bea5dab1fedb8f] Merge tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6 testing commit 8d4a0b5d0813c990637fa9f3c9bea5dab1fedb8f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 419ac4a47ac5d7e5a83d12f2fe31de8350e3188056c79490fea6beda99b38fd8 run #0: crashed: KASAN: use-after-free Read in __d_alloc run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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 8d4a0b5d0813c990637fa9f3c9bea5dab1fedb8f Bisecting: 402 revisions left to test after this (roughly 9 steps) [35776f10513c0d523c5dd2f1b415f642497779e2] Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm testing commit 35776f10513c0d523c5dd2f1b415f642497779e2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0da81dbb5f5b7a0b38b26c2f1351e1c93346da17a56fa2899fc3a398bbc15afe all runs: OK # git bisect good 35776f10513c0d523c5dd2f1b415f642497779e2 Bisecting: 213 revisions left to test after this (roughly 8 steps) [926de8c4326c14fcf35f1de142019043597a4fac] Merge tag 'acpi-5.15-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 926de8c4326c14fcf35f1de142019043597a4fac compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1aa9f73e7ae8833acaef6cfb4f193b49f38161920d5be86bab45d190bbaa2a43 run #0: basic kernel testing failed: KFENCE: use-after-free in kvm_fastop_exception run #1: crashed: INFO: task hung in wg_netns_pre_exit run #2: crashed: KASAN: use-after-free Read in __d_alloc run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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 926de8c4326c14fcf35f1de142019043597a4fac Bisecting: 94 revisions left to test after this (roughly 7 steps) [a668acb8f01fc0d1e3877cddecbe319ef2ef651c] Merge tag 'drm-next-2021-09-10' of git://anongit.freedesktop.org/drm/drm testing commit a668acb8f01fc0d1e3877cddecbe319ef2ef651c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b5868793980a009706decbb4fbe23b72aa9922e94f36eb0fc6db09c92be20d3a run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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: boot failed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good a668acb8f01fc0d1e3877cddecbe319ef2ef651c Bisecting: 47 revisions left to test after this (roughly 6 steps) [72d6625570c16b9c097d4b9f16c2016974f83366] habanalabs: modify multi-CS to wait on stream masters testing commit 72d6625570c16b9c097d4b9f16c2016974f83366 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 710baddd74bc9de8ede1d0c0f518a3217fca77b66a80c2c147a2d8d9a5d0debd all runs: OK # git bisect good 72d6625570c16b9c097d4b9f16c2016974f83366 Bisecting: 25 revisions left to test after this (roughly 5 steps) [589e5cab170843b2f7f8260168ab2d77163d4384] Merge tag 'iommu-fixes-v5.15-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu testing commit 589e5cab170843b2f7f8260168ab2d77163d4384 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b5868793980a009706decbb4fbe23b72aa9922e94f36eb0fc6db09c92be20d3a run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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: boot failed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good 589e5cab170843b2f7f8260168ab2d77163d4384 Bisecting: 13 revisions left to test after this (roughly 4 steps) [e99f23c5bf59219d0cd9b6e0d7d4c1b641a98704] Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit e99f23c5bf59219d0cd9b6e0d7d4c1b641a98704 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b5868793980a009706decbb4fbe23b72aa9922e94f36eb0fc6db09c92be20d3a run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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: boot failed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good e99f23c5bf59219d0cd9b6e0d7d4c1b641a98704 Bisecting: 5 revisions left to test after this (roughly 3 steps) [be2d24336f8876d60d8a4634f1a1e4753c4be124] Merge branches 'pm-cpufreq', 'pm-sleep' and 'pm-em' testing commit be2d24336f8876d60d8a4634f1a1e4753c4be124 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 196cd9f30886d84e44e0e7b484df1721b2c1034494419fb85ec303a325645a8a run #0: crashed: KASAN: use-after-free Read in __d_alloc run #1: crashed: INFO: task hung in process_one_work run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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: boot failed: KFENCE: use-after-free in kvm_fastop_exception # git bisect bad be2d24336f8876d60d8a4634f1a1e4753c4be124 Bisecting: 5 revisions left to test after this (roughly 2 steps) [46573fd6369f098f15e11768850b6430f374905f] cpufreq: intel_pstate: hybrid: Rework HWP calibration testing commit 46573fd6369f098f15e11768850b6430f374905f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d66dabbc2c22e9ca5f55c004befb5d32de5b867a465a79a56dc824040a613ccd all runs: OK # git bisect good 46573fd6369f098f15e11768850b6430f374905f Bisecting: 3 revisions left to test after this (roughly 2 steps) [d62aab8ff711dc3a4c07684ea33042347f79b630] Documentation: power: include kernel-doc in Energy Model doc testing commit d62aab8ff711dc3a4c07684ea33042347f79b630 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b2ba8f13407105bd52da347a64379232e54fe73e1b35db7012ecd7afe741a619 all runs: OK # git bisect good d62aab8ff711dc3a4c07684ea33042347f79b630 Bisecting: 1 revision left to test after this (roughly 1 step) [4a9344cd0aa4499beb3772bbecb40bb78888c0e1] PM: sleep: core: Avoid setting power.must_resume to false testing commit 4a9344cd0aa4499beb3772bbecb40bb78888c0e1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 70d86ebc8513e38aa91bcca4b5af292bd3d9d936b9cbb8c0d0709046caf78f8e run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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: boot failed: possible deadlock in blktrans_open # git bisect good 4a9344cd0aa4499beb3772bbecb40bb78888c0e1 Bisecting: 0 revisions left to test after this (roughly 0 steps) [3d53afea525f5812da782624014e7910ba731b34] MAINTAINERS: Change Rafael's e-mail address testing commit 3d53afea525f5812da782624014e7910ba731b34 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e67a3b513fd8033aa98252701b756a8bb79bcc4eb17f84770b2ab29175f2f284 run #0: basic kernel testing failed: KFENCE: use-after-free in kvm_fastop_exception run #1: basic kernel testing failed: failed to copy test binary to VM: timedout ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.0:./syz-fuzzer"] Warning: Permanently added '10.128.10.0' (ECDSA) to the list of known hosts. run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK 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 good 3d53afea525f5812da782624014e7910ba731b34 be2d24336f8876d60d8a4634f1a1e4753c4be124 is the first bad commit commit be2d24336f8876d60d8a4634f1a1e4753c4be124 Merge: 3d53afea525f 46573fd6369f 4a9344cd0aa4 d62aab8ff711 Author: Rafael J. Wysocki Date: Fri Sep 10 20:26:08 2021 +0200 Merge branches 'pm-cpufreq', 'pm-sleep' and 'pm-em' * pm-cpufreq: cpufreq: intel_pstate: hybrid: Rework HWP calibration ACPI: CPPC: Introduce cppc_get_nominal_perf() * pm-sleep: PM: sleep: core: Avoid setting power.must_resume to false PM: sleep: wakeirq: drop useless parameter from dev_pm_attach_wake_irq() * pm-em: Documentation: power: include kernel-doc in Energy Model doc PM: EM: fix kernel-doc comments Documentation/power/energy-model.rst | 15 ++- drivers/acpi/cppc_acpi.c | 47 ++++++--- drivers/base/power/main.c | 2 +- drivers/base/power/wakeirq.c | 11 +-- drivers/cpufreq/intel_pstate.c | 185 ++++++++++++++--------------------- include/acpi/cppc_acpi.h | 5 + include/linux/energy_model.h | 8 +- 7 files changed, 128 insertions(+), 145 deletions(-) Reproducer flagged being flaky revisions tested: 17, total time: 4h53m36.877780349s (build: 2h2m33.996520823s, test: 2h49m6.369517431s) first bad commit: be2d24336f8876d60d8a4634f1a1e4753c4be124 Merge branches 'pm-cpufreq', 'pm-sleep' and 'pm-em' recipients (to): ["rafael.j.wysocki@intel.com"] recipients (cc): [] crash: INFO: task hung in process_one_work INFO: task kworker/0:6:8994 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:27472 pid: 8994 ppid: 2 flags:0x00004000 Workqueue: events nsim_dev_trap_report_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 nsim_dev_trap_report_work+0x58/0xb50 drivers/net/netdevsim/dev.c:757 process_one_work+0x87f/0x1450 kernel/workqueue.c:2297 worker_thread+0x598/0x1040 kernel/workqueue.c:2444 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8ab76740 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 7 locks held by kworker/u4:5/1129: #0: ffff888014ddb138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888014ddb138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888014ddb138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888014ddb138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888014ddb138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888014ddb138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc90004cefdb8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffffffff8c219350 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x97/0x980 net/core/net_namespace.c:553 #3: ffffffff8c255508 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x73/0x2c0 net/core/devlink.c:11533 #4: ffff88806005d658 (&nsim_bus_dev->nsim_bus_reload_lock){+.+.}-{3:3}, at: nsim_dev_reload_down+0x4f/0x140 drivers/net/netdevsim/dev.c:870 #5: ffff88806005e400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1359 [inline] #5: ffff88806005e400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0x117/0x2d0 drivers/net/netdevsim/dev.c:1561 #6: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x5db/0x910 net/core/dev.c:10594 3 locks held by kworker/0:2/1274: #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc900053afdb8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x5/0x50 net/core/link_watch.c:251 1 lock held by in:imklog/6231: #0: ffff88801ca8b270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9c/0xb0 fs/file.c:990 3 locks held by kworker/1:5/6901: #0: ffff8881475f8538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881475f8538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8881475f8538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff8881475f8538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff8881475f8538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff8881475f8538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc9000288fdb8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x5/0x10 net/ipv6/addrconf.c:4590 3 locks held by kworker/0:6/8994: #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff88800fc64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2268 #1: ffffc9000d1f7db8 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2272 #2: ffff88806005e400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x58/0xb50 drivers/net/netdevsim/dev.c:757 1 lock held by syz-executor.3/10602: #0: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x36/0x150 drivers/net/tun.c:3397 1 lock held by syz-executor.4/10608: #0: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x36/0x150 drivers/net/tun.c:3397 1 lock held by vivid-009-sdr-c/10640: 1 lock held by syz-executor.0/10646: 2 locks held by syz-executor.5/10704: #0: ffffffff8c219350 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x286/0x5c0 net/core/net_namespace.c:466 #1: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x248/0x800 net/ipv4/ip_tunnel.c:1069 2 locks held by syz-executor.1/10705: #0: ffffffff8c219350 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x286/0x5c0 net/core/net_namespace.c:466 #1: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:798 [inline] #1: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x1b6/0x350 net/smc/smc_pnet.c:867 2 locks held by syz-executor.2/10708: #0: ffffffff8c219350 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x286/0x5c0 net/core/net_namespace.c:466 #1: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:798 [inline] #1: ffffffff8c22bc08 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x1b6/0x350 net/smc/smc_pnet.c:867 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11a/0x160 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x88c/0xbf0 kernel/hung_task.c:295 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10655 Comm: vivid-001-sdr-c Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0xde/0x180 mm/kasan/generic.c:189 Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c RSP: 0018:ffffc9000598fa98 EFLAGS: 00000046 RAX: fffffbfff1dbfb26 RBX: fffffbfff1dbfb27 RCX: ffffffff8152d02d RDX: fffffbfff1dbfb27 RSI: 0000000000000008 RDI: ffffffff8edfd930 RBP: fffffbfff1dbfb26 R08: 0000000000000000 R09: ffffffff8edfd937 R10: fffffbfff1dbfb26 R11: 0000000000000001 R12: ffff88801f2409f8 R13: ffff88801f240000 R14: 0000000000000001 R15: 68af3ce7b4a771ac FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc329e4ab4 CR3: 000000000a88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3701 [inline] validate_chain kernel/locking/lockdep.c:3757 [inline] __lock_acquire+0x15ad/0x5410 kernel/locking/lockdep.c:5015 lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 do_write_seqcount_begin_nested include/linux/seqlock.h:520 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] vtime_task_switch_generic+0xb5/0x5a0 kernel/sched/cputime.c:768 vtime_task_switch include/linux/vtime.h:95 [inline] finish_task_switch.isra.0+0x495/0xa10 kernel/sched/core.c:4808 context_switch kernel/sched/core.c:4943 [inline] __schedule+0x915/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 vivid_thread_sdr_cap+0x715/0xba0 drivers/media/test-drivers/vivid/vivid-sdr-cap.c:206 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 74 f2 je 0xfffffff4 2: 48 89 c2 mov %rax,%rdx 5: b8 01 00 00 00 mov $0x1,%eax a: 48 85 d2 test %rdx,%rdx d: 75 56 jne 0x65 f: 5b pop %rbx 10: 5d pop %rbp 11: 41 5c pop %r12 13: c3 retq 14: 48 85 d2 test %rdx,%rdx 17: 74 5e je 0x77 19: 48 01 ea add %rbp,%rdx 1c: eb 09 jmp 0x27 1e: 48 83 c0 01 add $0x1,%rax 22: 48 39 d0 cmp %rdx,%rax 25: 74 50 je 0x77 27: 80 38 00 cmpb $0x0,(%rax) * 2a: 74 f2 je 0x1e <-- trapping instruction 2c: eb d4 jmp 0x2 2e: 41 bc 08 00 00 00 mov $0x8,%r12d 34: 48 89 ea mov %rbp,%rdx 37: 45 29 dc sub %r11d,%r12d 3a: 4d 8d 1c 2c lea (%r12,%rbp,1),%r11 3e: eb 0c jmp 0x4c