bisecting cause commit starting from 311ef88adfa3b69c40234bf3000d1269e718919a building syzkaller on f3f7d9c8c3dfa1406a5f5a5f5f45a351f533139f testing commit 311ef88adfa3b69c40234bf3000d1269e718919a with gcc (GCC) 8.1.0 all runs: crashed: WARNING: ODEBUG bug in free_netdev testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 with gcc (GCC) 8.1.0 all runs: OK # git bisect start 311ef88adfa3b69c40234bf3000d1269e718919a v5.3 Bisecting: 7878 revisions left to test after this (roughly 13 steps) [a9f8b38a071b468276a243ea3ea5a0636e848cf2] Merge tag 'for-linus-5.4-1' of git://github.com/cminyard/linux-ipmi testing commit a9f8b38a071b468276a243ea3ea5a0636e848cf2 with gcc (GCC) 8.1.0 all runs: OK # git bisect good a9f8b38a071b468276a243ea3ea5a0636e848cf2 Bisecting: 3939 revisions left to test after this (roughly 12 steps) [77461ba1d17673da47eeb5cccb928e10cf97a01e] fs/ocfs2/dir.c: remove set but not used variables testing commit 77461ba1d17673da47eeb5cccb928e10cf97a01e with gcc (GCC) 8.1.0 run #0: crashed: WARNING: ODEBUG bug in netdev_freemem 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 bad 77461ba1d17673da47eeb5cccb928e10cf97a01e Bisecting: 1925 revisions left to test after this (roughly 11 steps) [578d2342ec702e5fb8a77983fabb3754ae3e9660] Merge tag 'drm-next-5.4-2019-08-23' of git://people.freedesktop.org/~agd5f/linux into drm-next testing commit 578d2342ec702e5fb8a77983fabb3754ae3e9660 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 578d2342ec702e5fb8a77983fabb3754ae3e9660 Bisecting: 984 revisions left to test after this (roughly 10 steps) [227c3e9eb5cf3552c2cc83225df6d14adb05f8e8] Merge tag 'compiler-attributes-for-linus-v5.4' of git://github.com/ojeda/linux testing commit 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 Bisecting: 499 revisions left to test after this (roughly 9 steps) [6cb2e9ee51b5f1539f027346a02904e282b87d4d] Merge tag 'libnvdimm-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm testing commit 6cb2e9ee51b5f1539f027346a02904e282b87d4d with gcc (GCC) 8.1.0 all runs: OK # git bisect good 6cb2e9ee51b5f1539f027346a02904e282b87d4d Bisecting: 274 revisions left to test after this (roughly 8 steps) [f7c3bf8fa7e5a8e45f4a8e82be6466157854b59b] Merge tag 'gfs2-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 testing commit f7c3bf8fa7e5a8e45f4a8e82be6466157854b59b with gcc (GCC) 8.1.0 all runs: OK # git bisect good f7c3bf8fa7e5a8e45f4a8e82be6466157854b59b Bisecting: 141 revisions left to test after this (roughly 7 steps) [e0703556644a531e50b5dc61b9f6ea83af5f6604] Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux testing commit e0703556644a531e50b5dc61b9f6ea83af5f6604 with gcc (GCC) 8.1.0 all runs: OK # git bisect good e0703556644a531e50b5dc61b9f6ea83af5f6604 Bisecting: 90 revisions left to test after this (roughly 6 steps) [b99a3120f9a30e1429d8d634e18da8dff93340c6] rtc: meson: mark PM functions as __maybe_unused testing commit b99a3120f9a30e1429d8d634e18da8dff93340c6 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip b99a3120f9a30e1429d8d634e18da8dff93340c6 Bisecting: 90 revisions left to test after this (roughly 6 steps) [80ba93639b5dfde6b7897499b69fefc733a94a59] rtc: ds1672: remove unnecessary check testing commit 80ba93639b5dfde6b7897499b69fefc733a94a59 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 80ba93639b5dfde6b7897499b69fefc733a94a59 Bisecting: 90 revisions left to test after this (roughly 6 steps) [225dcadf8ee869d4429373ef04fdce49ac3fc266] fs/ocfs2/namei.c: remove set but not used variables testing commit 225dcadf8ee869d4429373ef04fdce49ac3fc266 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 225dcadf8ee869d4429373ef04fdce49ac3fc266 Bisecting: 0 revisions left to test after this (roughly 0 steps) [236dcc2ae4945e00201dbab9b8f76905849b7515] fs/ocfs2/file.c: remove set but not used variables testing commit 236dcc2ae4945e00201dbab9b8f76905849b7515 with gcc (GCC) 8.1.0 run #0: crashed: WARNING: ODEBUG bug in netdev_freemem run #1: crashed: WARNING: ODEBUG bug in netdev_freemem 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 bad 236dcc2ae4945e00201dbab9b8f76905849b7515 236dcc2ae4945e00201dbab9b8f76905849b7515 is the first bad commit commit 236dcc2ae4945e00201dbab9b8f76905849b7515 Author: zhengbin Date: Mon Sep 23 15:33:27 2019 -0700 fs/ocfs2/file.c: remove set but not used variables Fixes gcc '-Wunused-but-set-variable' warning: fs/ocfs2/file.c: In function ocfs2_prepare_inode_for_write: fs/ocfs2/file.c:2143:9: warning: variable end set but not used [-Wunused-but-set-variable] Link: http://lkml.kernel.org/r/1566522588-63786-3-git-send-email-joseph.qi@linux.alibaba.com Signed-off-by: zhengbin Signed-off-by: Joseph Qi Reported-by: Hulk Robot Reviewed-by: Joseph Qi Reviewed-by: Changwei Ge Cc: Mark Fasheh Cc: Joel Becker Cc: Junxiao Bi Cc: Gang He Cc: Jun Piao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds :040000 040000 ee0dcc27bdef7d5f8648bf2cea50ee42234c7012 c0bd22722dea790cf9dcc130fae16fde9a9c3c3b M fs revisions tested: 13, total time: 3h40m8.704014152s (build: 1h16m5.603492833s, test: 2h19m39.962605436s) first bad commit: 236dcc2ae4945e00201dbab9b8f76905849b7515 fs/ocfs2/file.c: remove set but not used variables cc: ["akpm@linux-foundation.org" "chge@linux.alibaba.com" "ghe@suse.com" "jlbec@evilplan.org" "joseph.qi@linux.alibaba.com" "junxiao.bi@oracle.com" "mark@fasheh.com" "piaojun@huawei.com" "torvalds@linux-foundation.org" "zhengbin13@huawei.com"] crash: WARNING: ODEBUG bug in netdev_freemem ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 arch/x86/include/asm/paravirt.h:756 WARNING: CPU: 1 PID: 2541 at lib/debugobjects.c:484 debug_print_object+0x168/0x210 lib/debugobjects.c:481 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 2541 Comm: kworker/u4:4 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x113/0x167 lib/dump_stack.c:113 panic+0x223/0x4dc kernel/panic.c:219 __warn.cold.10+0x1b/0x37 kernel/panic.c:576 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028 RIP: 0010:debug_print_object+0x168/0x210 lib/debugobjects.c:481 Code: 43 87 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 92 00 00 00 48 8b 14 dd a0 a3 43 87 4c 89 fe 48 c7 c7 a0 98 43 87 e8 9a d8 34 fe <0f> 0b 83 05 23 f4 f2 05 01 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffff8880a23ef850 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff89dd90e0 RBP: ffff8880a23ef890 R08: ffffed1015d64101 R09: ffffed1015d64101 R10: ffffed1015d64100 R11: ffff8880aeb20807 R12: 0000000000000001 R13: ffffffff883ae900 R14: ffffffff81596a70 R15: ffffffff8743a000 __debug_check_no_obj_freed lib/debugobjects.c:963 [inline] debug_check_no_obj_freed+0x2db/0x436 lib/debugobjects.c:994 kfree+0xf6/0x2c0 mm/slab.c:3755 kvfree+0x2c/0x30 mm/util.c:488 netdev_freemem+0x47/0x60 net/core/dev.c:9148 netdev_release+0x6c/0x90 net/core/net-sysfs.c:1635 device_release+0x6a/0x1c0 drivers/base/core.c:1100 kobject_cleanup lib/kobject.c:693 [inline] kobject_release lib/kobject.c:722 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put.cold.8+0x229/0x27c lib/kobject.c:739 netdev_run_todo+0x459/0x6a0 net/core/dev.c:9053 rtnl_unlock+0x9/0x10 net/core/rtnetlink.c:112 default_device_exit_batch+0x2e9/0x3d0 net/core/dev.c:9836 ops_exit_list.isra.6+0xd3/0x120 net/core/net_namespace.c:175 cleanup_net+0x430/0x950 net/core/net_namespace.c:594 process_one_work+0x856/0x1630 kernel/workqueue.c:2269 worker_thread+0x85/0xb60 kernel/workqueue.c:2415 kthread+0x331/0x3f0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Kernel Offset: disabled Rebooting in 86400 seconds..