bisecting cause commit starting from ee60e626d536da4c710b3634afe68fe7c6d69b59 building syzkaller on 49ca1f59e37fcf63dc38a6bd2b60fcc47a0a708e testing commit ee60e626d536da4c710b3634afe68fe7c6d69b59 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cd002552844078de5f980f0617be9ff80740714a31edf6602cf3196fbaa1b1fa all runs: crashed: WARNING: kmalloc bug in bpf 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 ee60e626d536da4c710b3634afe68fe7c6d69b59 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 7175 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 [ff0700f03609b9f0defacd4ce96d9519d721e0a2] Merge tag 'sound-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit ff0700f03609b9f0defacd4ce96d9519d721e0a2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 985af5550a9446a34655172dc735d0854b47742be09b9f973c4dbac08dcdaafb all runs: crashed: WARNING: kmalloc bug in bpf # git bisect bad ff0700f03609b9f0defacd4ce96d9519d721e0a2 Bisecting: 2697 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 [fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4] Merge tag 'net-next-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5aca587dcf3012cb326617f004c37f0c85a595286744cb9e486117aa2f8ab8c2 all runs: crashed: WARNING: kmalloc bug in bpf # git bisect bad fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4 Bisecting: 2251 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 [b7b98f868987cd3e86c9bd9a6db048614933d7a0] Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next testing commit b7b98f868987cd3e86c9bd9a6db048614933d7a0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a98343e23dd1dcd0335ca7d914e36bd0aa6fdb022225b6ae90e8d5d31f60b412 all runs: crashed: WARNING: kmalloc bug in bpf # git bisect bad b7b98f868987cd3e86c9bd9a6db048614933d7a0 Bisecting: 1156 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 [9fd3d5dced976640f588e0a866b9611db2d2cb37] net: ethernet: ave: Add compatible string and SoC-dependent data for NX1 SoC testing commit 9fd3d5dced976640f588e0a866b9611db2d2cb37 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 07e96f8e18ee39846ed71e239ab80306dfcd3dc8584d99e1423a26cbdc788e71 all runs: OK # git bisect good 9fd3d5dced976640f588e0a866b9611db2d2cb37 Bisecting: 578 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 [1c375ffb2efab992b74fb1801c2e0bb2051a6e6e] mlxsw: spectrum_router: Expose RIF MAC profiles to devlink resource testing commit 1c375ffb2efab992b74fb1801c2e0bb2051a6e6e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a568a1ea9a5f3f28008c52372344d1b50d52c3f9e8f1b339f28d3a684888e8da all runs: crashed: WARNING in nsim_dev_reload_destroy # git bisect bad 1c375ffb2efab992b74fb1801c2e0bb2051a6e6e Bisecting: 362 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 [9bc0b1aa8b7e54d62082749fc5404660690d17ce] Merge tag 'mt76-for-kvalo-2021-10-20' of https://github.com/nbd168/wireless testing commit 9bc0b1aa8b7e54d62082749fc5404660690d17ce compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2798c32f12738518c7ded89f1e74e01aa0aeadd1a108547ad9ebbfb9ce5e2410 all runs: OK # git bisect good 9bc0b1aa8b7e54d62082749fc5404660690d17ce Bisecting: 194 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 [07591ebec3cf2d6b78cb9b51a5a6f3ca731ec375] Merge branch 'net-don-t-write-directly-to-netdev-dev_addr' testing commit 07591ebec3cf2d6b78cb9b51a5a6f3ca731ec375 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 191d007342c814820fc112104a3ebab26a6bf40566b275279bfbe09ed16630b0 all runs: OK # git bisect good 07591ebec3cf2d6b78cb9b51a5a6f3ca731ec375 Bisecting: 97 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 [cf231b436f7ceaf0d87016eedf830677c0c1f7dc] net: dsa: lantiq_gswip: serialize access to the PCE registers testing commit cf231b436f7ceaf0d87016eedf830677c0c1f7dc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8d0a4b75bd95782adf30a80cea9d7028d283adb8965f4f9221e34e2d823672c9 all runs: crashed: WARNING in nsim_dev_reload_destroy # git bisect bad cf231b436f7ceaf0d87016eedf830677c0c1f7dc Bisecting: 48 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 [c8fb89a7a7d117fc1e2cbce6f0d3fd58008878fe] net: phylink: Convert some users of mdiobus_* to mdiodev_* testing commit c8fb89a7a7d117fc1e2cbce6f0d3fd58008878fe compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 315ae55fa852def19cfffdccbfbb146ecef0fa5b88ea324de121b5baaeb4b00c run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: crashed: WARNING in nsim_dev_reload_destroy run #2: crashed: WARNING in nsim_dev_reload_destroy run #3: crashed: WARNING in nsim_dev_reload_destroy run #4: crashed: WARNING in nsim_dev_reload_destroy run #5: crashed: WARNING in nsim_dev_reload_destroy run #6: crashed: WARNING in nsim_dev_reload_destroy run #7: crashed: WARNING in nsim_dev_reload_destroy run #8: crashed: WARNING in nsim_dev_reload_destroy run #9: crashed: WARNING in nsim_dev_reload_destroy # git bisect bad c8fb89a7a7d117fc1e2cbce6f0d3fd58008878fe Bisecting: 23 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 [10de5a599f92ef776886073a33ca7bbbe6b14d37] cfg80211: prepare for const netdev->dev_addr testing commit 10de5a599f92ef776886073a33ca7bbbe6b14d37 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6c35b68ba379eab5c15705c8982132e7fef631c4d2d476af95da37b99007a8b9 all runs: OK # git bisect good 10de5a599f92ef776886073a33ca7bbbe6b14d37 Bisecting: 11 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 [24f7cf9b851ee9c395225481308af4ab5065e20a] Merge tag 'mac80211-next-for-net-next-2021-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next testing commit 24f7cf9b851ee9c395225481308af4ab5065e20a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1bc2bfdd7de386906b0dd3028a1ec40f51cbd05416b244dc1422451609907690 all runs: OK # git bisect good 24f7cf9b851ee9c395225481308af4ab5065e20a Bisecting: 5 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 [22849b5ea5952d853547cc5e0651f34a246b2a4f] devlink: Remove not-executed trap policer notifications testing commit 22849b5ea5952d853547cc5e0651f34a246b2a4f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 06133be4e53e0e2b70d24b5e84110e509df38ad6f116ad31194ce87ec8bc4e4f all runs: crashed: WARNING in nsim_dev_reload_destroy # git bisect bad 22849b5ea5952d853547cc5e0651f34a246b2a4f Bisecting: 2 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 [f3956e309ecc57940de031987e49a92b131315f7] net: dsa: sja1105: Add of_node_put() before return testing commit f3956e309ecc57940de031987e49a92b131315f7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 568a7a6f1153468a2bcf9a958a5932a903b8fc7f45247fdb2f9d2c9e3f844ed9 all runs: OK # git bisect good f3956e309ecc57940de031987e49a92b131315f7 Bisecting: 0 revisions 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 [99ad92eff76491331a90d839dd6b7225cf8dd53e] devlink: Delete obsolete parameters publish API testing commit 99ad92eff76491331a90d839dd6b7225cf8dd53e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8b7d7bca00f4bb35d87e49584398c1eb56ffb8b8805d47b00c46ba15c83e6bc1 all runs: OK # git bisect good 99ad92eff76491331a90d839dd6b7225cf8dd53e warning: unable to access '/syzkaller/.config/git/attributes': Permission denied 22849b5ea5952d853547cc5e0651f34a246b2a4f is the first bad commit commit 22849b5ea5952d853547cc5e0651f34a246b2a4f Author: Leon Romanovsky Date: Thu Oct 21 17:16:14 2021 +0300 devlink: Remove not-executed trap policer notifications The trap policer logic is registered before devlink_register() and all the notifications are delayed. This patch removes not-possible notifications along with addition of code annotation logic. Signed-off-by: Leon Romanovsky Signed-off-by: Jakub Kicinski net/core/devlink.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) culprit signature: 06133be4e53e0e2b70d24b5e84110e509df38ad6f116ad31194ce87ec8bc4e4f parent signature: 8b7d7bca00f4bb35d87e49584398c1eb56ffb8b8805d47b00c46ba15c83e6bc1 revisions tested: 16, total time: 3h9m34.486935436s (build: 2h22m15.005569547s, test: 45m53.586646536s) first bad commit: 22849b5ea5952d853547cc5e0651f34a246b2a4f devlink: Remove not-executed trap policer notifications recipients (to): ["davem@davemloft.net" "jiri@nvidia.com" "kuba@kernel.org" "kuba@kernel.org" "leonro@nvidia.com" "netdev@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: WARNING in nsim_dev_reload_destroy netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8 at net/core/devlink.c:11299 devlink_trap_policers_unregister+0x8b/0xa0 net/core/devlink.c:11304 Modules linked in: CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:devlink_trap_policers_unregister+0x8b/0xa0 net/core/devlink.c:11299 Code: f6 38 48 01 f5 48 89 ee 4c 89 e7 83 eb 01 e8 2c fc ff ff 48 83 ed 38 83 fb ff 75 e9 5b 4c 89 ef 5d 41 5c 41 5d e9 85 05 d6 01 <0f> 0b eb b6 e8 cc 72 10 fb eb 96 66 2e 0f 1f 84 00 00 00 00 00 41 RSP: 0018:ffffc90000cd7a18 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffffc90000cd78b8 RDX: 1ffff110021d5bf2 RSI: ffffffff88cb4ce0 RDI: ffffffff892070e0 RBP: ffffffff895eb580 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000007a089 R12: ffff88801905c000 R13: ffff88801905c000 R14: dffffc0000000000 R15: ffff88801905c398 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b84d0f5b0 CR3: 000000000a88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nsim_dev_traps_exit+0x73/0x170 drivers/net/netdevsim/dev.c:851 nsim_dev_reload_destroy+0x1d0/0x2b0 drivers/net/netdevsim/dev.c:1559 nsim_dev_reload_down+0xab/0x130 drivers/net/netdevsim/dev.c:883 devlink_reload+0x1ae/0x5e0 net/core/devlink.c:4040 devlink_pernet_pre_exit+0x1cf/0x270 net/core/devlink.c:11472 ops_pre_exit_list net/core/net_namespace.c:158 [inline] cleanup_net+0x3a4/0x980 net/core/net_namespace.c:581 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