syzbot


BUG: soft lockup in kjournald2 (2)

Status: closed as dup on 2021/09/17 07:37
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+50f834e0ee66561f76fe@syzkaller.appspotmail.com
First crash: 1169d, last: 1074d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: soft lockup in handle_mm_fault (2) arm 84 1103d 1172d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: soft lockup in kjournald2 (2) 1 (2) 2021/09/17 07:37
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in kjournald2 1 159d 159d 0/2 auto-obsoleted due to no activity on 2024/09/12 19:40
upstream BUG: soft lockup in kjournald2 mm 28 1183d 1335d 0/28 closed as dup on 2021/03/27 07:12
android-6-1 BUG: soft lockup in kjournald2 (2) 1 150d 150d 0/2 auto-obsoleted due to no activity on 2024/09/21 17:37
android-6-1 BUG: soft lockup in kjournald2 1 293d 293d 0/2 auto-obsoleted due to no activity on 2024/05/02 01:34
upstream INFO: rcu detected stall in kjournald2 (2) mm C error 32 12h42m 49d 0/28 upstream: reported C repro on 2024/10/03 07:16
upstream INFO: rcu detected stall in kjournald2 mm 1 934d 934d 0/28 auto-closed as invalid on 2022/07/30 15:32
linux-6.1 INFO: rcu detected stall in kjournald2 1 358d 358d 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 24s! [jbd2/vda-8:1948]
Modules linked in:
irq event stamp: 414966
hardirqs last  enabled at (414965): [<ffff8000146b6f08>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:82 [inline]
hardirqs last  enabled at (414965): [<ffff8000146b6f08>] exit_to_kernel_mode+0x38/0x210 arch/arm64/kernel/entry-common.c:92
hardirqs last disabled at (414966): [<ffff8000146b9844>] __el1_irq arch/arm64/kernel/entry-common.c:435 [inline]
hardirqs last disabled at (414966): [<ffff8000146b9844>] el1_interrupt+0x24/0x50 arch/arm64/kernel/entry-common.c:460
softirqs last  enabled at (414888): [<ffff8000100109ec>] _stext+0x9ec/0x101c
softirqs last disabled at (414803): [<ffff8000101626e8>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (414803): [<ffff8000101626e8>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (414803): [<ffff8000101626e8>] __irq_exit_rcu+0x3d8/0x5d0 kernel/softirq.c:636
CPU: 1 PID: 1948 Comm: jbd2/vda-8 Not tainted 5.15.0-syzkaller-04577-gcc0356d6a02e #0
Hardware name: linux,dummy-virt (DT)
pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:23
lr : clear_highpage include/linux/highmem.h:218 [inline]
lr : kernel_init_free_pages.part.0+0x80/0x1fc mm/page_alloc.c:1278
sp : ffff80001c7e6ff0
x29: ffff80001c7e6ff0 x28: 0000000000000003 x27: 0000000000000001
x26: fffffc0000176f00 x25: dfff800000000000 x24: ffff8000158710b0
x23: ffff000009b64f80 x22: ffff000009b64f88 x21: 00000000000014f0
x20: 0000000000000003 x19: ffff60000136cc8e x18: ffff00006aa66c08
x17: 0000000000000000 x16: 0000000000000000 x15: ffff00006aa66c3c
x14: 1ffff000038fcdc4 x13: 0000000000000013 x12: ffff7f800002ede7
x11: 1fffff800002ede6 x10: ffff7f800002ede6 x9 : 0000000000000000
x8 : ffff600000bb7a00 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : fffffc0000000000 x3 : ffff800015871000
x2 : 0000000000000004 x1 : 0000000000000040 x0 : ffff000005dbca00
Call trace:
 clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:21
 kernel_init_free_pages mm/page_alloc.c:1275 [inline]
 post_alloc_hook+0x1ac/0x25c mm/page_alloc.c:2416
 prep_new_page mm/page_alloc.c:2426 [inline]
 get_page_from_freelist+0x17c4/0x2250 mm/page_alloc.c:4155
 __alloc_pages+0x1a8/0x22e0 mm/page_alloc.c:5381
 alloc_pages+0x23c/0x3b0 mm/mempolicy.c:2191
 folio_alloc+0x1c/0x60 mm/mempolicy.c:2201
 filemap_alloc_folio mm/filemap.c:1021 [inline]
 __filemap_get_folio+0x424/0x950 mm/filemap.c:1935
 pagecache_get_page+0x20/0x100 mm/folio-compat.c:125
 find_or_create_page include/linux/pagemap.h:390 [inline]
 grow_dev_page fs/buffer.c:949 [inline]
 grow_buffers fs/buffer.c:1014 [inline]
 __getblk_slow+0x158/0x650 fs/buffer.c:1041
 __getblk_gfp+0x78/0xa0 fs/buffer.c:1334
 __getblk include/linux/buffer_head.h:382 [inline]
 jbd2_journal_get_descriptor_buffer+0xf0/0x3e4 fs/jbd2/journal.c:1014
 write_one_revoke_record fs/jbd2/revoke.c:610 [inline]
 jbd2_journal_write_revoke_records+0x4c4/0xa50 fs/jbd2/revoke.c:554
 jbd2_journal_commit_transaction+0xb84/0x41c0 fs/jbd2/commit.c:596
 kjournald2+0x190/0x730 fs/jbd2/journal.c:213
 kthread+0x3dc/0x48c kernel/kthread.c:327
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:756

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/03 03:50 upstream cc0356d6a02e 17f3edd2 .config console log report info ci-qemu2-arm64 BUG: soft lockup in kjournald2
2021/10/16 07:26 upstream 8fe31e0995f0 0c5d9412 .config console log report info ci-qemu2-arm64 BUG: soft lockup in kjournald2
2021/10/15 23:58 upstream 8fe31e0995f0 0c5d9412 .config console log report info ci-qemu2-arm64 BUG: soft lockup in kjournald2
2021/09/30 20:15 upstream 02d5e016800d 0f01403d .config console log report info ci-qemu2-arm64 BUG: soft lockup in kjournald2
2021/09/08 21:12 upstream ac08b1c68d1b e2776ee4 .config console log report info ci-qemu2-arm64 BUG: soft lockup in kjournald2
2021/12/13 00:41 upstream 90d9fbc16b69 49ca1f59 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in kjournald2
* Struck through repros no longer work on HEAD.