bisecting cause commit starting from ea922272cbe547bdf58da2aaf240d59782c6a009 building syzkaller on d018dd31bfa66650daec4d49dc7b264a827e7834 testing commit ea922272cbe547bdf58da2aaf240d59782c6a009 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 809f1a57c69417fa61351a3b9c49b36d1a48a5b91504d50ef001b66b89ffc4ac run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #1: crashed: WARNING in ref_tracker_dir_exit run #2: crashed: WARNING in ref_tracker_dir_exit run #3: crashed: WARNING in ref_tracker_dir_exit run #4: crashed: WARNING in ref_tracker_dir_exit run #5: crashed: WARNING in ref_tracker_dir_exit run #6: crashed: WARNING in ref_tracker_dir_exit run #7: crashed: WARNING in ref_tracker_dir_exit run #8: basic kernel testing failed: WARNING in ref_tracker_free run #9: crashed: WARNING in ref_tracker_dir_exit run #10: crashed: WARNING in ref_tracker_dir_exit run #11: crashed: WARNING in ref_tracker_dir_exit run #12: crashed: WARNING in ref_tracker_dir_exit run #13: crashed: WARNING in ref_tracker_dir_exit run #14: crashed: WARNING in ref_tracker_dir_exit run #15: crashed: WARNING in ref_tracker_dir_exit run #16: crashed: WARNING in ref_tracker_dir_exit run #17: crashed: WARNING in ref_tracker_dir_exit run #18: crashed: WARNING in ref_tracker_dir_exit run #19: crashed: WARNING in ref_tracker_dir_exit 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: 23b867ff5df3d6cb6b498368a18ae79abf8004bbd96dea98ad38033811273ce5 all runs: OK # git bisect start ea922272cbe547bdf58da2aaf240d59782c6a009 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 10439 revisions left to test after this (roughly 13 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [241d7a9a41355e795762046d8551c6093cc74203] Merge branch 'for-5.16/upstream-fixes' into for-next testing commit 241d7a9a41355e795762046d8551c6093cc74203 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 495c2a62073890d33023f6b6dd6be879f91f7f84c3087987e388327e157d0735 all runs: OK # git bisect good 241d7a9a41355e795762046d8551c6093cc74203 Bisecting: 5215 revisions left to test after this (roughly 12 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [142d269fced540178597d5021b7b5217fed185cb] Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git testing commit 142d269fced540178597d5021b7b5217fed185cb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6782b4fb6f78a02f0cc9dedce8a36829a4e56a561e9cbd26b09781826e5d2ec6 all runs: OK # git bisect good 142d269fced540178597d5021b7b5217fed185cb Bisecting: 2515 revisions left to test after this (roughly 11 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [c0cfbb5410b8b2f8943b2c09a8cf4821f7087fef] Merge branch 'drm-next' of git://git.freedesktop.org/git/drm/drm.git testing commit c0cfbb5410b8b2f8943b2c09a8cf4821f7087fef compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a5ad5891706775bf87198385aafa39113a1326f5ec4db313eeff8ff3b2c10675 run #0: basic kernel testing failed: WARNING in ref_tracker_free run #1: crashed: WARNING in ref_tracker_dir_exit run #2: crashed: WARNING in ref_tracker_dir_exit run #3: crashed: WARNING in ref_tracker_dir_exit run #4: crashed: WARNING in ref_tracker_dir_exit run #5: crashed: WARNING in ref_tracker_dir_exit run #6: crashed: WARNING in ref_tracker_dir_exit run #7: crashed: WARNING in ref_tracker_dir_exit run #8: crashed: WARNING in ref_tracker_dir_exit run #9: crashed: WARNING in ref_tracker_dir_exit # git bisect bad c0cfbb5410b8b2f8943b2c09a8cf4821f7087fef Bisecting: 1054 revisions left to test after this (roughly 10 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [55025b118674369a36b5213e54544d7fc194bb4f] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git testing commit 55025b118674369a36b5213e54544d7fc194bb4f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 91441b4e22cd78b5c519539f7171b0d2d977b8f8d7976dd07ca8dbf0bcde6b18 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #1: basic kernel testing failed: WARNING in ref_tracker_free run #2: crashed: WARNING in ref_tracker_dir_exit run #3: crashed: WARNING in ref_tracker_dir_exit run #4: crashed: WARNING in ref_tracker_dir_exit run #5: crashed: WARNING in ref_tracker_dir_exit run #6: crashed: WARNING in ref_tracker_dir_exit run #7: crashed: WARNING in ref_tracker_dir_exit run #8: crashed: WARNING in ref_tracker_dir_exit run #9: crashed: WARNING in ref_tracker_dir_exit # git bisect bad 55025b118674369a36b5213e54544d7fc194bb4f Bisecting: 822 revisions left to test after this (roughly 10 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [330c6d3bfa268794bf692165d0f781f1c2d4d83e] can: bittiming: replace CAN units with the generic ones from linux/units.h testing commit 330c6d3bfa268794bf692165d0f781f1c2d4d83e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 206f4317176fd02cc286cc25db94f4aed02b8eded1432c177c486864e147c88f run #0: crashed: WARNING in ref_tracker_dir_exit run #1: basic kernel testing failed: WARNING in ref_tracker_free run #2: crashed: WARNING in ref_tracker_dir_exit run #3: crashed: WARNING in ref_tracker_dir_exit run #4: crashed: WARNING in ref_tracker_dir_exit run #5: crashed: WARNING in ref_tracker_dir_exit run #6: crashed: WARNING in ref_tracker_dir_exit run #7: crashed: WARNING in ref_tracker_dir_exit run #8: crashed: WARNING in ref_tracker_dir_exit run #9: crashed: WARNING in ref_tracker_dir_exit # git bisect bad 330c6d3bfa268794bf692165d0f781f1c2d4d83e Bisecting: 410 revisions left to test after this (roughly 9 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [75e47206512bf98ad3d5cd4ef18f3d92b9050a45] tsnep: Fix set MAC address testing commit 75e47206512bf98ad3d5cd4ef18f3d92b9050a45 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6d6abbc617d04e6431e3a06c9ad258f57f4113a354e0b07dded473ba6f6fff36 all runs: OK # git bisect good 75e47206512bf98ad3d5cd4ef18f3d92b9050a45 Bisecting: 205 revisions left to test after this (roughly 8 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [358e3edb31d5f49a39be25e8059c96b99cf101a6] net: hns3: refactor function hclge_set_channels() testing commit 358e3edb31d5f49a39be25e8059c96b99cf101a6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 492b3eeeb8ae1f7455d53d58bb545a8c79b29dbd30eee03201b4efc32c145911 all runs: OK # git bisect good 358e3edb31d5f49a39be25e8059c96b99cf101a6 Bisecting: 103 revisions left to test after this (roughly 7 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [adc76fc97bd8bd7236c57569650bbe6f9c2be024] Merge branch 'net-second-round-of-netdevice-refcount-tracking' testing commit adc76fc97bd8bd7236c57569650bbe6f9c2be024 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1b6379a25f94fb70f7a1dc432528b8ef1b248b7c0a7d33f9a784866134c04218 all runs: crashed: WARNING in ref_tracker_dir_exit # git bisect bad adc76fc97bd8bd7236c57569650bbe6f9c2be024 Bisecting: 50 revisions left to test after this (roughly 6 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [80e8921b2b72c300ca56a01729004d30bedb82cd] net: add net device refcount tracker to struct netdev_rx_queue testing commit 80e8921b2b72c300ca56a01729004d30bedb82cd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f586bb6d8ce7af6df379992c756ea16992775b1f7dcca37f2e8678ecc16ec222 all runs: OK # git bisect good 80e8921b2b72c300ca56a01729004d30bedb82cd Bisecting: 25 revisions left to test after this (roughly 5 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [1c5526968e270e4efccfa1da21d211a4915cdeda] net/smc: Clear memory when release and reuse buffer testing commit 1c5526968e270e4efccfa1da21d211a4915cdeda compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: dd7b03561756600bb9c9473d0a8f5a350f018e0eadbe72480eab090900b86b9a run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM 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 # git bisect good 1c5526968e270e4efccfa1da21d211a4915cdeda Bisecting: 12 revisions left to test after this (roughly 4 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [08f0b22d731fa86957749c649d6ef6ebc07e8ad2] net: eql: add net device refcount tracker testing commit 08f0b22d731fa86957749c649d6ef6ebc07e8ad2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0de6cbfde9829f91a94fb14f05b4738149b820ce6e986cce02d7b83110535f0d all runs: OK # git bisect good 08f0b22d731fa86957749c649d6ef6ebc07e8ad2 Bisecting: 6 revisions left to test after this (roughly 3 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [66ce07f7802b68616a008d390f2e6783d68fb79f] ax25: add net device refcount tracker testing commit 66ce07f7802b68616a008d390f2e6783d68fb79f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d5a9061433ef99783e7217ac745e49fb45eeb2883788a36532e4265bc2a8d959 all runs: OK # git bisect good 66ce07f7802b68616a008d390f2e6783d68fb79f Bisecting: 3 revisions left to test after this (roughly 2 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [b60645248af3b2485c7695f04e5ecfbc129eb1f7] net/smc: add net device tracker to struct smc_pnetentry testing commit b60645248af3b2485c7695f04e5ecfbc129eb1f7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b6739634d9e1c97f4487936267985b3eb24600f19e5ea9994029b70ca3d8e893 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM 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 # git bisect good b60645248af3b2485c7695f04e5ecfbc129eb1f7 Bisecting: 1 revision left to test after this (roughly 1 step) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [e7c8ab8419d7a06bad7cb0b0289b5426029ac221] openvswitch: add net device refcount tracker to struct vport testing commit e7c8ab8419d7a06bad7cb0b0289b5426029ac221 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f566cbca74f8c8ff8033e2be47ee94aa8d439c8f54c3af5a18d91d51a6398288 all runs: crashed: WARNING in ref_tracker_dir_exit # git bisect bad e7c8ab8419d7a06bad7cb0b0289b5426029ac221 Bisecting: 0 revisions left to test after this (roughly 0 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [e4b8954074f6d0db01c8c97d338a67f9389c042f] netlink: add net device refcount tracker to struct ethnl_req_info testing commit e4b8954074f6d0db01c8c97d338a67f9389c042f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8d8783d94207c1409da619815895725cd07d6029cd149ea279c33c78552f5465 all runs: crashed: WARNING in ref_tracker_dir_exit # git bisect bad e4b8954074f6d0db01c8c97d338a67f9389c042f warning: unable to access '/syzkaller/.config/git/attributes': Permission denied e4b8954074f6d0db01c8c97d338a67f9389c042f is the first bad commit commit e4b8954074f6d0db01c8c97d338a67f9389c042f Author: Eric Dumazet Date: Mon Dec 6 17:30:37 2021 -0800 netlink: add net device refcount tracker to struct ethnl_req_info Signed-off-by: Eric Dumazet Signed-off-by: Jakub Kicinski net/ethtool/netlink.c | 8 +++++--- net/ethtool/netlink.h | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) culprit signature: 8d8783d94207c1409da619815895725cd07d6029cd149ea279c33c78552f5465 parent signature: b6739634d9e1c97f4487936267985b3eb24600f19e5ea9994029b70ca3d8e893 revisions tested: 17, total time: 3h34m50.550922418s (build: 2h45m50.183474384s, test: 47m18.696307023s) first bad commit: e4b8954074f6d0db01c8c97d338a67f9389c042f netlink: add net device refcount tracker to struct ethnl_req_info recipients (to): ["davem@davemloft.net" "edumazet@google.com" "kuba@kernel.org" "kuba@kernel.org" "netdev@vger.kernel.org"] recipients (cc): ["hkallweit1@gmail.com" "linux-kernel@vger.kernel.org"] crash: WARNING in ref_tracker_dir_exit call_netdevice_notifiers_extack net/core/dev.c:1931 [inline] call_netdevice_notifiers net/core/dev.c:1945 [inline] netdev_features_change net/core/dev.c:1290 [inline] netdev_update_features net/core/dev.c:9385 [inline] netdev_update_features+0xa3/0xb0 net/core/dev.c:9382 hsr_add_port+0x3a1/0x670 net/hsr/hsr_slave.c:193 hsr_dev_finalize+0x439/0x700 net/hsr/hsr_device.c:531 hsr_newlink+0x29b/0x660 net/hsr/hsr_netlink.c:102 __rtnl_newlink+0xd16/0x13e0 net/core/rtnetlink.c:3457 rtnl_newlink+0x5a/0x90 net/core/rtnetlink.c:3505 rtnetlink_rcv_msg+0x31d/0x8d0 net/core/rtnetlink.c:5570 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2492 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1341 netlink_sendmsg+0x775/0xc10 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:724 __sys_sendto+0x1a4/0x270 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:2044 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1012 at lib/ref_tracker.c:38 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] WARNING: CPU: 1 PID: 1012 at lib/ref_tracker.c:38 ref_tracker_dir_exit.cold+0x163/0x1b4 lib/ref_tracker.c:37 Modules linked in: CPU: 1 PID: 1012 Comm: kworker/u4:4 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit.cold+0x163/0x1b4 lib/ref_tracker.c:38 Code: c1 e8 03 80 3c 18 00 74 08 4c 89 e7 e8 bd 66 60 f9 4d 39 f4 49 8b 04 24 4d 89 e7 75 3f 48 8b 74 24 08 48 89 ef e8 34 8e 33 00 <0f> 0b e9 57 8c 62 fb 4c 89 ff e8 95 66 60 f9 e9 a3 fe ff ff e8 7b RSP: 0018:ffffc90004af79c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff88cb5680 RDI: 0000000000000001 RBP: ffff8880746325b8 R08: 0000000000000001 R09: ffffffff8ee6ea0f R10: 0000000000000001 R11: 000000000007a08a R12: ffff888074632600 R13: ffff888074632600 R14: ffff888074632600 R15: ffff888074632600 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffe2eadd60 CR3: 000000007e93e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_netdev+0x293/0x4f0 net/core/dev.c:10276 netdev_run_todo+0x74c/0x930 net/core/dev.c:9953 default_device_exit_batch+0x2aa/0x360 net/core/dev.c:10934 cleanup_net+0x423/0x980 net/core/net_namespace.c:593 process_one_work+0x87f/0x1450 kernel/workqueue.c:2298 worker_thread+0x598/0x1040 kernel/workqueue.c:2445 kthread+0x3ab/0x480 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295