syzbot


BUG: soft lockup in kjournald2 (2)

Status: auto-obsoleted due to no activity on 2024/09/21 17:37
Reported-by: syzbot+cbdf26b2cdc1b697bd67@syzkaller.appspotmail.com
First crash: 162d, last: 162d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in kjournald2 1 171d 171d 0/2 auto-obsoleted due to no activity on 2024/09/12 19:40
upstream BUG: soft lockup in kjournald2 mm 28 1195d 1347d 0/28 closed as dup on 2021/03/27 07:12
android-6-1 BUG: soft lockup in kjournald2 1 305d 305d 0/2 auto-obsoleted due to no activity on 2024/05/02 01:34
upstream BUG: soft lockup in kjournald2 (2) mm 6 1086d 1173d 0/28 closed as dup on 2021/09/17 07:37
upstream INFO: rcu detected stall in kjournald2 (2) mm C error 40 3d08h 61d 0/28 upstream: reported C repro on 2024/10/03 07:16
upstream INFO: rcu detected stall in kjournald2 mm 1 947d 947d 0/28 auto-closed as invalid on 2022/07/30 15:32
linux-6.1 INFO: rcu detected stall in kjournald2 1 371d 371d 0/3 auto-obsoleted due to no activity on 2024/03/07 10:54

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [jbd2/sda1-8:65]
Modules linked in:
CPU: 1 PID: 65 Comm: jbd2/sda1-8 Not tainted 6.1.78-syzkaller-00021-g1a72e2f692ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:queued_write_lock_slowpath+0x15c/0x547 kernel/locking/qrwlock.c:85
Code: 00 00 bb ff 00 00 00 43 0f b6 44 3d 00 84 c0 74 38 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 2b 4c 89 f7 e8 48 fc bb fc eb 21 f3 90 <43> 0f b6 44 3d 00 84 c0 74 15 44 89 f1 80 e1 07 80 c1 03 38 c1 7c
RSP: 0018:ffffc90000947720 EFLAGS: 00000206
RAX: 0000000000000300 RBX: 00000000000000ff RCX: ffffffff850074cc
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88810e42305c
RBP: ffffc900009477d0 R08: dffffc0000000000 R09: ffffed1021c8460c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000128eee
R13: 1ffff11021c8460b R14: ffff88810e42305c R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ee2f000 CR3: 000000011d838000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 queued_write_lock include/asm-generic/qrwlock.h:101 [inline]
 __raw_write_lock include/linux/rwlock_api_smp.h:210 [inline]
 _raw_write_lock+0x10a/0x170 kernel/locking/spinlock.c:300
 jbd2_journal_commit_transaction+0x45bb/0x5f20 fs/jbd2/commit.c:1092
 kjournald2+0x437/0x7a0 fs/jbd2/journal.c:210
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1782 Comm: syz-executor.4 Not tainted 6.1.78-syzkaller-00021-g1a72e2f692ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:irqtime_account_irq+0x174/0x260
Code: 74 08 4c 89 f7 e8 bc b7 67 00 4d 01 3e 49 83 c6 08 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 9f b7 67 00 4d 01 3e <31> db eb 4f b3 01 a9 00 01 00 00 48 8b 4d c8 49 bc 00 00 00 00 00
RSP: 0018:ffffc900000070d0 EFLAGS: 00000002
RAX: 1ffff1103ee04e62 RBX: ffff8881f7027290 RCX: dffffc0000000000
RDX: 1ffffffff0f25c00 RSI: ffffffff85c9d300 RDI: ffffffff85c9d2c0
RBP: ffffc90000007110 R08: ffffffff8792e000 R09: ffffffff8792e008
R10: ffffffff8792e018 R11: ffffffff8792e010 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff8881f7027310 R15: 000000000000308a
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f225000 CR3: 0000000135a55000 CR4: 00000000003506b0
DR0: 0000000100000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 account_hardirq_exit include/linux/vtime.h:159 [inline]
 __irq_exit_rcu+0x18/0xf0 kernel/softirq.c:697
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x49/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:sock_wfree+0x1/0x500 net/core/sock.c:2427
Code: e1 07 80 c1 03 38 c1 0f 8c 7f fc ff ff 48 89 df e8 84 3f bb fd e9 72 fc ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 89 fb 49 be 00
RSP: 0018:ffffc90000007218 EFLAGS: 00000246
RAX: ffffffff8402097b RBX: 1ffff11025d74174 RCX: ffff8881161abcc0
RDX: 0000000000000301 RSI: 0000000000000000 RDI: ffff88812eba0b40
RBP: ffffc90000007250 R08: ffffffff84020969 R09: ffffed1025d74187
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88812eba0b40 R15: ffff88812eba0ba0
 skb_release_all net/core/skbuff.c:854 [inline]
 __kfree_skb net/core/skbuff.c:870 [inline]
 kfree_skb_reason+0xa2/0x250 net/core/skbuff.c:893
 kfree_skb include/linux/skbuff.h:1232 [inline]
 macsec_start_xmit+0x7be/0x3030 drivers/net/macsec.c:3419
 __netdev_start_xmit include/linux/netdevice.h:4908 [inline]
 netdev_start_xmit include/linux/netdevice.h:4922 [inline]
 xmit_one net/core/dev.c:3634 [inline]
 dev_hard_start_xmit+0x1de/0x630 net/core/dev.c:3650
 __dev_queue_xmit+0x18a4/0x36e0 net/core/dev.c:4300
 dev_queue_xmit include/linux/netdevice.h:3076 [inline]
 neigh_hh_output include/net/neighbour.h:536 [inline]
 neigh_output include/net/neighbour.h:550 [inline]
 ip6_finish_output2+0x100d/0x1820 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:201 [inline]
 ip6_finish_output+0x50f/0xa60 net/ipv6/ip6_output.c:212
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:233
 dst_output include/net/dst.h:444 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x7cf/0xdc0 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3968
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1480
 expire_timers kernel/time/timer.c:1525 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1796
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1809
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:start_this_handle+0x42c/0x2080 fs/jbd2/transaction.c:397
Code: 31 ff 48 89 de e8 f4 4a 6e ff 45 85 ed 74 09 48 85 db 0f 84 c1 16 00 00 48 8b 54 24 50 49 89 d5 49 c1 ed 03 43 0f b6 44 25 00 <84> c0 0f 85 22 12 00 00 8b 1a 89 de 83 e6 04 31 ff e8 2e 4a 6e ff
RSP: 0018:ffffc90009a67240 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881161abcc0
RDX: ffff88811336b914 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90009a67540 R08: ffffffff82072d4c R09: ffffed1021c8460c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff1102266d722 R14: ffff88810e423010 R15: ffff88810e423064
 jbd2__journal_start+0x2ea/0x720 fs/jbd2/transaction.c:520
 __ext4_journal_start_sb+0x24d/0x4b0 fs/ext4/ext4_jbd2.c:105
 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline]
 ext4_evict_inode+0x9c5/0x1550 fs/ext4/inode.c:251
 evict+0x2a3/0x630 fs/inode.c:666
 iput_final fs/inode.c:1791 [inline]
 iput+0x642/0x870 fs/inode.c:1817
 dentry_unlink_inode+0x34f/0x440 fs/dcache.c:401
 __dentry_kill+0x447/0x650 fs/dcache.c:607
 dentry_kill+0xc0/0x2a0
 dput+0x40/0x80 fs/dcache.c:914
 path_put+0x39/0x60 fs/namei.c:560
 free_fs_struct fs/fs_struct.c:91 [inline]
 exit_fs+0xeb/0x150 fs/fs_struct.c:108
 do_exit+0xba6/0x2b80 kernel/exit.c:871
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd98e87d0a9
Code: Unable to access opcode bytes at 0x7fd98e87d07f.
RSP: 002b:00007fd98f6a2178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007fd98e9b3f88 RCX: 00007fd98e87d0a9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fd98e9b3f8c
RBP: 00007fd98e9b3f80 R08: 00007fff79dca0b0 R09: 00007fd98f6a26c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd98e9b3f8c
R13: 000000000000000b R14: 00007fff79d81830 R15: 00007fff79d81918
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/23 17:30 android14-6.1 1a72e2f692ac edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in kjournald2
* Struck through repros no longer work on HEAD.