ci starts bisection 2023-02-13 15:04:38.401295646 +0000 UTC m=+16914.894355695 bisecting cause commit starting from c68f345b7c425b38656e1791a0486769a8797016 building syzkaller on 4d66ad72335dded5c9a6652adf7b767b2dbd1de4 ensuring issue is reproducible on original commit c68f345b7c425b38656e1791a0486769a8797016 testing commit c68f345b7c425b38656e1791a0486769a8797016 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5cd49f28b7175bbc268ccb10be4a632967bf69dd728f8092672be8f53bbc7599 all runs: crashed: unregister_netdevice: waiting for DEV to become free testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 312d9fee0da11d6193a6254f40fa6d2ccbaa8fc6a213d366609148173d6c585e all runs: OK # git bisect start c68f345b7c425b38656e1791a0486769a8797016 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 9154 revisions left to test after this (roughly 13 steps) [1ca06f1c1acecbe02124f14a37cce347b8c1a90c] Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa testing commit 1ca06f1c1acecbe02124f14a37cce347b8c1a90c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3dd2224f45a4c2cd4b0ff6b778138a3c1844f86c51eda385e49e270e453ea842 all runs: OK # git bisect good 1ca06f1c1acecbe02124f14a37cce347b8c1a90c Bisecting: 4647 revisions left to test after this (roughly 12 steps) [4ff17c448a7b0f437a17622d67f1c5c609c3a0e9] libperf: Fix install_pkgconfig target testing commit 4ff17c448a7b0f437a17622d67f1c5c609c3a0e9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 681ccd77e9400877d45f99a8b7e1f78b4573abc3e80ba4a28eeeb4e30e9a9b55 all runs: OK # git bisect good 4ff17c448a7b0f437a17622d67f1c5c609c3a0e9 Bisecting: 2327 revisions left to test after this (roughly 11 steps) [04065c12072b6124475c7c4f6ad7484475a2f66e] Merge tag 'fs.mount.propagation.fix.v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping testing commit 04065c12072b6124475c7c4f6ad7484475a2f66e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9492fa3053e10631b8743768976a8d354b74b90e5994d117d760990f24b0d80d all runs: OK # git bisect good 04065c12072b6124475c7c4f6ad7484475a2f66e Bisecting: 1164 revisions left to test after this (roughly 10 steps) [880ca43e5c334c32a8af125e456d1a23314aa416] Merge tag 'hardening-v6.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux testing commit 880ca43e5c334c32a8af125e456d1a23314aa416 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d305ca882dedb923aa51f94f2953ffaba310a8a097df3a7720f11becbb6985e5 all runs: OK # git bisect good 880ca43e5c334c32a8af125e456d1a23314aa416 Bisecting: 575 revisions left to test after this (roughly 9 steps) [28b4387f0ec08d48634fcc3e3687c93edc1503f9] Merge tag 'net-6.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 28b4387f0ec08d48634fcc3e3687c93edc1503f9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fdf59e2eac5d0fffa94f16fc8dacd61ab0a1d4562e01c7d119e64d97b38b839b all runs: OK # git bisect good 28b4387f0ec08d48634fcc3e3687c93edc1503f9 Bisecting: 287 revisions left to test after this (roughly 8 steps) [ce93fdb5f2ca5c9e2a9668411cc39091507f8dc9] net: phylink: move phy_device_free() to correctly release phy device testing commit ce93fdb5f2ca5c9e2a9668411cc39091507f8dc9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0f8fb98e1d1ebeb19c1fdd08b011b354b65942758c7cf54f303381d4c636da0d all runs: OK # git bisect good ce93fdb5f2ca5c9e2a9668411cc39091507f8dc9 Bisecting: 159 revisions left to test after this (roughly 7 steps) [870c3a9a2bc48bea0f954172aaff7ed489acaf64] Merge tag 'fbdev-for-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev testing commit 870c3a9a2bc48bea0f954172aaff7ed489acaf64 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2f7803ed825097eb0f69a99e756d2b2ccbc178c6a947c4a6166b4488cce39943 all runs: OK # git bisect good 870c3a9a2bc48bea0f954172aaff7ed489acaf64 Bisecting: 83 revisions left to test after this (roughly 6 steps) [0b028189d1019ca352da108643b8f1503ee25a0e] Merge tag 'for-linus-2023020901' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit 0b028189d1019ca352da108643b8f1503ee25a0e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c39f443009164016f84000bdf1ef8eff6b9e88c7f12187e01a571fff22793ba4 all runs: OK # git bisect good 0b028189d1019ca352da108643b8f1503ee25a0e Bisecting: 43 revisions left to test after this (roughly 5 steps) [b963d9d5b9437a6b99504987310f98537c9e77d4] selftests: Fix failing VXLAN VNI filtering test testing commit b963d9d5b9437a6b99504987310f98537c9e77d4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a994eefb92227fa1b9538fc63a1ad22329dfdc673a79f2f9f2b3db670ca2e8b3 run #0: crashed: INFO: trying to register non-static key in net_free run #1: crashed: unregister_netdevice: waiting for DEV to become free run #2: crashed: unregister_netdevice: waiting for DEV to become free run #3: crashed: INFO: trying to register non-static key in net_free run #4: crashed: INFO: trying to register non-static key in net_free run #5: crashed: INFO: trying to register non-static key in net_free run #6: crashed: INFO: trying to register non-static key in net_free run #7: crashed: unregister_netdevice: waiting for DEV to become free run #8: crashed: INFO: trying to register non-static key in net_free run #9: crashed: unregister_netdevice: waiting for DEV to become free # git bisect bad b963d9d5b9437a6b99504987310f98537c9e77d4 Bisecting: 19 revisions left to test after this (roughly 4 steps) [9b275176270efd18f2f4e328b32be1bad34c4c0d] igc: Add ndo_tx_timeout support testing commit 9b275176270efd18f2f4e328b32be1bad34c4c0d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d5afb63b1c9b5a5e8b0d0114731918f100394de893cc9ca4d128d4fc4d23e5ac run #0: crashed: INFO: trying to register non-static key in net_free run #1: crashed: INFO: trying to register non-static key in net_free run #2: crashed: INFO: trying to register non-static key in net_free run #3: crashed: INFO: trying to register non-static key in net_free run #4: crashed: INFO: trying to register non-static key in net_free run #5: crashed: INFO: trying to register non-static key in net_free run #6: crashed: INFO: trying to register non-static key in net_free run #7: crashed: INFO: trying to register non-static key in net_free run #8: crashed: unregister_netdevice: waiting for DEV to become free run #9: crashed: unregister_netdevice: waiting for DEV to become free # git bisect bad 9b275176270efd18f2f4e328b32be1bad34c4c0d Bisecting: 9 revisions left to test after this (roughly 3 steps) [d7d94b2612f5dc25d61dc7bf58aafe7b31f40191] net: microchip: sparx5: fix PTP init/deinit not checking all ports testing commit d7d94b2612f5dc25d61dc7bf58aafe7b31f40191 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 95d0324fff2c22614cbd0f26f40a2e0e1a7b8c77ca6e0881d9be8bbb48fd2f46 all runs: OK # git bisect good d7d94b2612f5dc25d61dc7bf58aafe7b31f40191 Bisecting: 4 revisions left to test after this (roughly 2 steps) [565b4824c39fa335cba2028a09d7beb7112f3c9a] devlink: change port event netdev notifier from per-net to global testing commit 565b4824c39fa335cba2028a09d7beb7112f3c9a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 958d105bfa166a39b12e740be0bebc5b1780e5e9965dbe4a0bd3f5dd9ddb3b09 run #0: crashed: unregister_netdevice: waiting for DEV to become free run #1: crashed: INFO: trying to register non-static key in net_free run #2: crashed: INFO: trying to register non-static key in net_free run #3: crashed: INFO: trying to register non-static key in net_free run #4: crashed: INFO: trying to register non-static key in net_free run #5: crashed: INFO: trying to register non-static key in net_free run #6: crashed: unregister_netdevice: waiting for DEV to become free run #7: crashed: INFO: trying to register non-static key in net_free run #8: crashed: unregister_netdevice: waiting for DEV to become free run #9: crashed: unregister_netdevice: waiting for DEV to become free # git bisect bad 565b4824c39fa335cba2028a09d7beb7112f3c9a Bisecting: 2 revisions left to test after this (roughly 1 step) [0b6d6425103a676e2b6a81f3fd35d7ea4f9b90ec] net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware testing commit 0b6d6425103a676e2b6a81f3fd35d7ea4f9b90ec gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d50c7d8b6a34adf6a064d75a7cc12c9a653011aef6b08d5f413371055f226bf6 all runs: OK # git bisect good 0b6d6425103a676e2b6a81f3fd35d7ea4f9b90ec Bisecting: 0 revisions left to test after this (roughly 1 step) [bbb253b206b9c417928a6c827d038e457f3012e9] selftests: ocelot: tc_flower_chains: make test_vlan_ingress_modify() more comprehensive testing commit bbb253b206b9c417928a6c827d038e457f3012e9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 02471b1e62001cfdaa9b40d787fe0fe30b80830b0bf3786d285c6dd68d7d6c86 all runs: OK # git bisect good bbb253b206b9c417928a6c827d038e457f3012e9 565b4824c39fa335cba2028a09d7beb7112f3c9a is the first bad commit commit 565b4824c39fa335cba2028a09d7beb7112f3c9a Author: Jiri Pirko Date: Mon Feb 6 10:41:51 2023 +0100 devlink: change port event netdev notifier from per-net to global Currently only the network namespace of devlink instance is monitored for port events. If netdev is moved to a different namespace and then unregistered, NETDEV_PRE_UNINIT is missed which leads to trigger following WARN_ON in devl_port_unregister(). WARN_ON(devlink_port->type != DEVLINK_PORT_TYPE_NOTSET); Fix this by changing the netdev notifier from per-net to global so no event is missed. Fixes: 02a68a47eade ("net: devlink: track netdev with devlink_port assigned") Signed-off-by: Jiri Pirko Reviewed-by: Jacob Keller Link: https://lore.kernel.org/r/20230206094151.2557264-1-jiri@resnulli.us Signed-off-by: Paolo Abeni net/core/devlink.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) culprit signature: 958d105bfa166a39b12e740be0bebc5b1780e5e9965dbe4a0bd3f5dd9ddb3b09 parent signature: 02471b1e62001cfdaa9b40d787fe0fe30b80830b0bf3786d285c6dd68d7d6c86 revisions tested: 16, total time: 6h1m8.855955386s (build: 3h47m21.593297522s, test: 2h10m26.895228456s) first bad commit: 565b4824c39fa335cba2028a09d7beb7112f3c9a devlink: change port event netdev notifier from per-net to global recipients (to): ["jacob.e.keller@intel.com" "jiri@nvidia.com" "pabeni@redhat.com"] recipients (cc): [] crash: unregister_netdevice: waiting for DEV to become free unregister_netdevice: waiting for lo to become free. Usage count = 2 leaked reference. __netdev_tracker_alloc include/linux/netdevice.h:4020 [inline] netdev_hold include/linux/netdevice.h:4049 [inline] ipv6_add_dev+0x3c1/0x1160 net/ipv6/addrconf.c:401 addrconf_notify+0x464/0x1340 net/ipv6/addrconf.c:3552 notifier_call_chain+0x94/0x170 kernel/notifier.c:87 call_netdevice_notifiers_extack net/core/dev.c:1982 [inline] call_netdevice_notifiers net/core/dev.c:1996 [inline] register_netdevice+0xcc1/0x1400 net/core/dev.c:10078 register_netdev+0x1b/0x40 net/core/dev.c:10173 loopback_net_init+0x70/0x130 drivers/net/loopback.c:219 ops_init+0x96/0x580 net/core/net_namespace.c:135 setup_net+0x74a/0xd60 net/core/net_namespace.c:333 copy_net_ns+0x2a8/0x540 net/core/net_namespace.c:483 create_new_namespaces+0x35a/0x920 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x8a/0x1a0 kernel/nsproxy.c:228 ksys_unshare+0x30d/0x6b0 kernel/fork.c:3202 __do_sys_unshare kernel/fork.c:3273 [inline] __se_sys_unshare kernel/fork.c:3271 [inline] __x64_sys_unshare+0x2c/0x40 kernel/fork.c:3271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd