INFO: task hung in jbd2_log_do_checkpoint

Status: upstream: reported C repro on 2026/11/30 14:04
Subsystems: ext4
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+2cc28770f99213896a7c@syzkaller.appspotmail.com
First crash: 13d, last: 49m
✨ AI cause bisection: introduced by (AI job) :
commit 3f079114bf522f27f3680238b6429f3dd45535b6
Author: Jan Kara <jack@suse.cz>
Date: Tue Feb 28 05:13:19 2023 +0000

  ext4: Convert data=journal writeback to use ext4_writepages()

✨ AI-generated root cause summary:

In data=journal mode, ext4_do_writepages() calls mpage_prepare_extent_to_map() while accumulating writeback bios in mpd->io_submit.io_bio and only submits them via ext4_io_submit() after mpage_prepare_extent_to_map() returns. Inside mpage_prepare_extent_to_map(), mpage_submit_folio() marks folios with PG_writeback and queues them into mpd->io_submit.io_bio, while the folio can remain dirty (via mpage_journal_page_buffers() -> ext4_dirty_journalled_data() or folio_redirty_for_writepage() in ext4_bio_write_folio()). A subsequent iteration of mpage_prepare_extent_to_map() calls ext4_journal_ensure_credits() without first submitting mpd->io_submit.io_bio, which can restart the handle (jbd2__journal_restart() -> jbd2_log_do_checkpoint()) and block in jbd2_log_wait_commit() waiting for kjournald2 to commit. Meanwhile, kjournald2 in ext4_journalled_submit_inode_data_buffers() -> writeback_iter() -> folio_prepare_writeback() blocks in folio_wait_writeback() waiting for PG_writeback on the folio whose bio is still held unsubmitted by the writeback worker, deadlocking writeback and unmount.

▶ ▼ ✨ Full AI root cause analysis
Based on kernel commit 141b164bbe18:

Root Cause Analysis

The hung task reports show a circular-wait deadlock between the ext4 writeback worker (wb_workfn -> ext4_writepages() -> ext4_do_writepages()) and kjournald2 (jbd2_journal_commit_transaction()) when writing back an inode in data=journal mode (ext4_should_journal_data(inode) is true, either via -o data=journal or the EXT4_INODE_JOURNAL_DATA inode flag), which in turn stalls umount (cleanup_mnt() -> generic_shutdown_super() -> sync_filesystem() -> wb_wait_for_completion()).

Detailed Mechanism

  1. Writeback worker holds unsubmitted PG_writeback bios across mpage_prepare_extent_to_map():

    • In ext4_do_writepages() (fs/ext4/inode.c:2967-2968), when ext4_should_journal_data(inode) is true, mpd->can_map is set to 0.
    • At fs/ext4/inode.c:3018, ext4_do_writepages() invokes mpage_prepare_extent_to_map(mpd) with mpd->do_map = 0, and only calls ext4_io_submit(&mpd->io_submit) after mpage_prepare_extent_to_map() returns (fs/ext4/inode.c:3022).
    • Inside mpage_prepare_extent_to_map() (fs/ext4/inode.c:2753-2758), because ext4_should_journal_data(mpd->inode) is true, a journal handle is started (handle = ext4_journal_start(...)).
    • For each dirty folio processed in the !mpd->can_map branch (fs/ext4/inode.c:2854-2865):
      • mpage_submit_folio(mpd, folio) -> ext4_bio_write_folio(&mpd->io_submit, folio, len) (fs/ext4/page-io.c:465-552) calls __folio_start_writeback(folio, keep_towrite) (setting PG_writeback) and queues the buffers into mpd->io_submit.io_bio via io_submit_add_bh(), without submitting mpd->io_submit.io_bio to the block layer (unless an earlier bio happened to fill or split).
      • The folio can simultaneously remain marked dirty (PG_dirty / PAGECACHE_TAG_DIRTY) in either of two ways:
        1. If folio_test_checked(folio) is set (e.g., via ext4_journalled_dirty_folio() for DMA-pinned folios), mpage_journal_page_buffers() -> ext4_journal_folio_buffers() -> write_end_fn() -> ext4_dirty_journalled_data() calls folio_mark_dirty(folio) and ext4_jbd2_inode_add_write() attaches EXT4_I(inode)->jinode to handle->h_transaction->t_inode_list.
        2. With blocksize < pagesize, if the folio contains both checkpointable dirty buffers and a buffer_jbd(bh) && buffer_jbddirty(bh) buffer, ext4_bio_write_folio() (fs/ext4/page-io.c:517-522) calls folio_redirty_for_writepage(wbc, folio) and sets keep_towrite = true, leaving PG_dirty and PG_writeback both set on the folio.
  2. Writeback worker waits for journal commit while still holding mpd->io_submit.io_bio:

    • On a subsequent iteration of mpage_prepare_extent_to_map(), fs/ext4/inode.c:2788 calls ext4_journal_ensure_credits(handle, bpp, 0) (which uses ext4_journal_ensure_credits_fn(..., 0) with no pre-restart cleanup callback).
    • When the running transaction/handle lacks credits, jbd2__journal_restart() (fs/jbd2/transaction.c:760) starts committing the handle's transaction (jbd2_log_start_commit()) and calls start_this_handle() -> add_transaction_credits() (fs/jbd2/transaction.c:279) -> __jbd2_log_wait_for_space() (fs/jbd2/checkpoint.c:91) -> jbd2_log_do_checkpoint() (fs/jbd2/checkpoint.c:230) -> jbd2_log_wait_commit() (fs/jbd2/journal.c:687).
    • The writeback worker (kworker/u8:8) blocks in jbd2_log_wait_commit() waiting for kjournald2 to complete the transaction commit, while still holding the unsubmitted bio(s) in its stack-local mpd->io_submit.io_bio.
  3. kjournald2 waits for PG_writeback on the unsubmitted folio:

    • While committing the transaction in jbd2_journal_commit_transaction() (fs/jbd2/commit.c:572), kjournald2 calls journal_submit_data_buffers() -> ext4_journal_submit_inode_data_buffers() -> ext4_journalled_submit_inode_data_buffers() (fs/ext4/super.c:562-593).
    • ext4_journalled_submit_inode_data_buffers() iterates the inode's dirty range with writeback_iter() using wbc.sync_mode = WB_SYNC_ALL.
    • writeback_get_folio() -> folio_prepare_writeback() (mm/page-writeback.c:2388-2392) encounters the folio that has both PG_dirty and PG_writeback set and calls folio_wait_writeback(folio) because wbc->sync_mode == WB_SYNC_ALL.
    • Because the bio for that folio is still held unsubmitted in kworker/u8:8's mpd->io_submit.io_bio, PG_writeback will never clear, creating an unbreakable deadlock between kjournald2 and the writeback worker.

Note that the do_map == 1 loop in ext4_do_writepages() (fs/ext4/inode.c:3074-3105) explicitly documents this exact invariant—submitting all prepared I/O via ext4_io_submit(&mpd->io_submit) and releasing folio locks before stopping/waiting on a journal handle—whereas mpage_prepare_extent_to_map() in data=journal (!mpd->can_map) mode violates it by calling ext4_journal_ensure_credits() (potentially restarting the handle via jbd2__journal_restart()) without first submitting mpd->io_submit (e.g., via ext4_journal_ensure_credits_fn()).

▶ ▼ ✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
88a94d5a bisect-cause IsRelease: ❌ ❓ INFO: task hung in jbd2_log_do_checkpoint 2026/11/19 20:50 2026/11/19 20:50 2026/11/19 21:42 229865fb
1eb7cc35 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ FuzzingArtifact: ❌ MemoryCorruption: ❌ NetworkNeedsSetup: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in jbd2_log_do_checkpoint 2026/11/19 19:55 2026/11/19 19:56 2026/11/19 20:02 229865fb
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] INFO: task hung in jbd2_log_do_checkpoint 0 (1) 2026/11/30 14:04

Sample crash report:
INFO: task kworker/u8:5:142 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:5    state:D stack:0     pid:142   tgid:142   ppid:2      task_flags:0x4248060 flags:0x00000010
Workqueue: writeback wb_workfn (flush-7:0)
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5584 [inline]
 __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386
 __schedule_loop kernel/sched/core.c:7463 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7478
 jbd2_log_wait_commit+0x240/0x414 fs/jbd2/journal.c:687
 jbd2_log_do_checkpoint+0x7d0/0xac4 fs/jbd2/checkpoint.c:230
 __jbd2_log_wait_for_space+0x240/0x390 fs/jbd2/checkpoint.c:91
 add_transaction_credits fs/jbd2/transaction.c:279 [inline]
 start_this_handle+0xdc0/0x1bc0 fs/jbd2/transaction.c:403
 jbd2__journal_restart+0x1dc/0x624 fs/jbd2/transaction.c:797
 ext4_journal_restart fs/ext4/ext4_jbd2.h:267 [inline]
 ext4_journal_ensure_credits fs/ext4/ext4_jbd2.h:314 [inline]
 mpage_prepare_extent_to_map+0x644/0x13bc fs/ext4/inode.c:2788
 ext4_do_writepages+0x9ac/0x3618 fs/ext4/inode.c:3018
 ext4_writepages+0x198/0x2dc fs/ext4/inode.c:3166
 do_writepages+0x284/0x47c mm/page-writeback.c:2562
 __writeback_single_inode+0x144/0x1634 fs/fs-writeback.c:1809
 writeback_sb_inodes+0x790/0x15f4 fs/fs-writeback.c:2120
 wb_writeback+0x3bc/0xd40 fs/fs-writeback.c:2305
 wb_do_writeback fs/fs-writeback.c:2473 [inline]
 wb_workfn+0x318/0xc78 fs/fs-writeback.c:2518
 process_one_work kernel/workqueue.c:3495 [inline]
 process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578
 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
INFO: task syz-executor:4858 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:0     pid:4858  tgid:4858  ppid:1      task_flags:0x400140 flags:0x00800011
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5584 [inline]
 __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386
 __schedule_loop kernel/sched/core.c:7463 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7478
 wb_wait_for_completion+0x15c/0x210 fs/fs-writeback.c:227
 __writeback_inodes_sb_nr+0x1d0/0x23c fs/fs-writeback.c:2975
 writeback_inodes_sb_nr fs/fs-writeback.c:2992 [inline]
 writeback_inodes_sb+0x78/0x8c fs/fs-writeback.c:3007
 sync_filesystem+0xa0/0x210 fs/sync.c:54
 generic_shutdown_super+0x7c/0x2c0 fs/super.c:702
 kill_block_super+0x48/0xa4 fs/super.c:1852
 ext4_kill_sb+0x68/0xa8 fs/ext4/super.c:7578
 deactivate_locked_super+0xcc/0x128 fs/super.c:558
 deactivate_super+0xd4/0xf4 fs/super.c:586
 cleanup_mnt+0x190/0x220 fs/namespace.c:1396
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1403
 task_work_run+0x1cc/0x25c kernel/task_work.c:233
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 __exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
 exit_to_user_mode_loop+0x10c/0x17c kernel/entry/common.c:101
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
 arm64_syscall_exit_to_user_mode arch/arm64/kernel/entry-common.c:147 [inline]
 el0_svc+0x12c/0x1d8 arch/arm64/kernel/entry-common.c:798
 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606
INFO: task jbd2/loop0-8:4942 blocked in I/O wait for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jbd2/loop0-8    state:D stack:0     pid:4942  tgid:4942  ppid:2      task_flags:0x240040 flags:0x00000010
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5584 [inline]
 __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386
 __schedule_loop kernel/sched/core.c:7463 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7478
 io_schedule+0x1c/0xe0 kernel/sched/core.c:8150
 folio_wait_bit_common+0x69c/0xb38 mm/filemap.c:1327
 folio_wait_bit+0x30/0x40 mm/filemap.c:1483
 folio_wait_writeback+0x9c/0xf8 mm/page-writeback.c:3064
 folio_prepare_writeback mm/page-writeback.c:2391 [inline]
 writeback_get_folio mm/page-writeback.c:2427 [inline]
 writeback_iter+0x7c0/0xfa4 mm/page-writeback.c:2520
 ext4_journalled_submit_inode_data_buffers fs/ext4/super.c:586 [inline]
 ext4_journal_submit_inode_data_buffers+0x1dc/0x3e4 fs/ext4/super.c:600
 journal_submit_data_buffers fs/jbd2/commit.c:250 [inline]
 jbd2_journal_commit_transaction+0xb84/0x4e80 fs/jbd2/commit.c:572
 kjournald2+0x2ec/0x5dc fs/jbd2/journal.c:200
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854

Showing all locks held in the system:
locks held by kworker/u8:1/14: 3, last CPU#0:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff80008fa97c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff80008fa97c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000c952ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000c952ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000c952ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by khungtaskd/32: 1, on CPU#0:
 #0: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #0: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871
locks held by kworker/u8:2/42: 3, last CPU#1:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800090fe7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800090fe7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000cf86ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000cf86ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000cf86ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by kworker/u8:3/43: 3, last CPU#1:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800090ff7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800090ff7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000d5884cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000d5884cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000d5884cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by kworker/u9:0/52: 3, last CPU#0:
 #0: ffff0000c37db948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c37db948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800092097c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800092097c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000ec1f0ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1b0/0x380 net/bluetooth/hci_sync.c:339
locks held by kworker/u8:4/61: 3, last CPU#0:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800092177c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800092177c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000dc6d0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000dc6d0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000dc6d0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by kworker/u8:5/142: 3, last CPU#1:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800093037c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800093037c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000d0d44cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000d0d44cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000d0d44cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by kworker/u8:6/1164: 3, last CPU#0:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800094967c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800094967c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000f1e80cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000f1e80cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000f1e80cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by kworker/u8:7/3558: 3, last CPU#1:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff80009b317c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff80009b317c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000f7e34cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000f7e34cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000f7e34cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by getty/4494: 2, last CPU#0:
 #0: ffff0000cdda00a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
 #1: ffff8000932ee2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x350/0xffc drivers/tty/n_tty.c:2211
locks held by syz-executor/4858: 1, last CPU#0:
 #0: ffff0000d0238100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000d0238100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000d0238100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by syz-executor/4962: 1, last CPU#0:
 #0: ffff0000cedde100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000cedde100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000cedde100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by syz-executor/5009: 1, last CPU#1:
 #0: ffff0000c757c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000c757c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000c757c100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by syz-executor/5052: 1, last CPU#0:
 #0: ffff0000d262c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000d262c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000d262c100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by kworker/u8:8/5077: 3, last CPU#0:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff80009a1b7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff80009a1b7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000d2594cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000d2594cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000d2594cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by syz-executor/5094: 1, last CPU#0:
 #0: ffff0000d9bba100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000d9bba100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000d9bba100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by syz-executor/5141: 1, last CPU#0:
 #0: ffff0000cfeca100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000cfeca100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000cfeca100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by kworker/u8:10/5185: 3, last CPU#0:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800099ef7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800099ef7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000f4524cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000f4524cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000f4524cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by syz-executor/5188: 1, last CPU#0:
 #0: ffff0000f4b28100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000f4b28100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000f4b28100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by syz-executor/5238: 1, last CPU#0:
 #0: ffff0000cfd68100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000cfd68100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000cfd68100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by kworker/u8:12/5283: 3, last CPU#0:
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800099c07c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800099c07c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000f40b0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline]
 #2: ffff0000f40b0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline]
 #2: ffff0000f40b0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165
locks held by syz-executor/5286: 1, last CPU#1:
 #0: ffff0000f7b64100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000f7b64100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000f7b64100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585
locks held by kworker/u8:14/5332: 5, on CPU#1:
 #0: ffff0000ce73d148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #0: ffff0000ce73d148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578
 #1: ffff800099407c20 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline]
 #1: ffff800099407c20 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578
 #2: ffff0000d9ee71c8 (&hard_iface->bat_iv.ogm_buff_mutex){+.+.}-{4:4}, at: batadv_iv_ogm_schedule+0xb0/0xdf8 net/batman-adv/bat_iv_ogm.c:1010
 #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:870 [inline]
 #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:949 [inline]
 #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_schedule+0x344/0xdf8 net/batman-adv/bat_iv_ogm.c:1011
 #4: ffff800089ad5820 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #4: ffff800089ad5820 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:947 [inline]
 #4: ffff800089ad5820 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid+0xa4/0x214 include/linux/mmzone.h:2292
locks held by syz-executor/5334: 1, last CPU#1:
 #0: ffff0000cc554100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff0000cc554100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff0000cc554100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585

=============================================


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/30 13:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3fdeb5ad9354 e1f06033 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-gce-arm64 INFO: task hung in jbd2_log_do_checkpoint
2026/11/17 06:09 upstream 141b164bbe18 a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in jbd2_log_do_checkpoint
* Struck through repros no longer work on HEAD.