bisecting fixing commit since bb8872a1e6bc911869a729240781076ed950764b
building syzkaller on d5a3ae1f760e7cb2cd5a721d9645ae22eae114fe
testing commit bb8872a1e6bc911869a729240781076ed950764b
compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: ec1fc9ecc0837668d261c51c7e27be81bca12da8ff39b116d8bd8c4d56d6dd25
all runs: crashed: WARNING in bpf_cgroup_link_release
testing current HEAD f92fcb5c00dc924a4661d5bf68de7937040f26b8
testing commit f92fcb5c00dc924a4661d5bf68de7937040f26b8
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: 41493871884f244041f54dde4b8b1f137aa98a8ec0b064ec5651d762768f8602
all runs: crashed: WARNING in bpf_cgroup_link_release
revisions tested: 2, total time: 17m35.271289523s (build: 10m38.002915911s, test: 6m7.07614521s)
the crash still happens on HEAD
commit msg: Merge branch 'ice-avoid-sleeping-scheduling-in-atomic-contexts'
crash: WARNING in bpf_cgroup_link_release
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd9496789f R14: 00007f6ca64f7300 R15: 0000000000022000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2830 at kernel/bpf/cgroup.c:899 bpf_cgroup_link_release.part.0+0x1fa/0x2e0 kernel/bpf/cgroup.c:895
Modules linked in:
CPU: 0 PID: 2830 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bpf_cgroup_link_release.part.0+0x1fa/0x2e0 kernel/bpf/cgroup.c:899
Code: 48 c7 c7 e0 03 14 88 c6 05 ce 5a 1e 09 01 e8 26 18 fc 05 e9 39 ff ff ff 5b 48 c7 c7 20 73 af 89 5d 41 5c 41 5d e9 66 94 25 06 <0f> 0b e9 7f fe ff ff e8 ca 15 23 00 e9 d6 fe ff ff e8 c0 15 23 00
RSP: 0018:ffffc900018efc78 EFLAGS: 00010282
RAX: 00000000fffffff4 RBX: ffff88816eebda00 RCX: 0000000000000001
RDX: 1ffff1102f09e533 RSI: ffffffff880be460 RDI: ffffffff88562a60
RBP: ffff888178c6a000 R08: 0000000000000001 R09: ffffffff89ba1153
R10: ffff8881784f2998 R11: ffff8881784f2990 R12: ffff88816eebda68
R13: 00000000ffffffa1 R14: ffffc900018efde8 R15: 0000000000000022
FS: 00007f6ca64f7700(0000) GS:ffff8881f6200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6ca64f6f78 CR3: 000000017d4e7002 CR4: 00000000003706f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bpf_cgroup_link_release kernel/bpf/cgroup.c:888 [inline]
bpf_cgroup_link_detach+0x2e/0x40 kernel/bpf/cgroup.c:920
link_detach kernel/bpf/syscall.c:4396 [inline]
__sys_bpf+0x1963/0x43b0 kernel/bpf/syscall.c:4726
__do_sys_bpf kernel/bpf/syscall.c:4741 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4739 [inline]
__x64_sys_bpf+0x70/0xb0 kernel/bpf/syscall.c:4739
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x465109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6ca64f7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 000000000055cf00 RCX: 0000000000465109
RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000022
RBP: 00007f6ca64f71d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd9496789f R14: 00007f6ca64f7300 R15: 0000000000022000
irq event stamp: 4179
hardirqs last enabled at (4185): [] console_trylock_spinning kernel/printk/printk.c:1867 [inline]
hardirqs last enabled at (4185): [] vprintk_emit+0x2fe/0x3c0 kernel/printk/printk.c:2244
hardirqs last disabled at (4190): [] console_trylock_spinning kernel/printk/printk.c:1846 [inline]
hardirqs last disabled at (4190): [] vprintk_emit+0x2ad/0x3c0 kernel/printk/printk.c:2244
softirqs last enabled at (4162): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last enabled at (4162): [] __irq_exit_rcu+0x194/0x220 kernel/softirq.c:637
softirqs last disabled at (4223): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last disabled at (4223): [] __irq_exit_rcu+0x194/0x220 kernel/softirq.c:637
---[ end trace 0000000000000000 ]---