syzbot


INFO: task hung in add_transaction_credits

Status: auto-closed as invalid on 2019/02/22 14:56
First crash: 2390d, last: 2390d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in add_transaction_credits 1 597d 597d 0/3 auto-obsoleted due to no activity on 2023/08/04 14:01
android-414 INFO: task hung in add_transaction_credits C 11 2237d 2054d 0/1 public: reported C repro on 2019/04/10 16:14
android-49 INFO: task hung in add_transaction_credits C 4 2241d 2050d 0/3 public: reported C repro on 2019/04/14 00:00
upstream INFO: task hung in add_transaction_credits ext4 C 13 2234d 2308d 0/28 closed as dup on 2018/09/24 00:42

Sample crash report:
sd 0:0:1:0: device reset
sd 0:0:1:0: [sda] tag#341 abort
sd 0:0:1:0: [sda] tag#340 abort
sd 0:0:1:0: [sda] tag#106 abort
sd 0:0:1:0: device reset
INFO: task init:1 blocked for more than 120 seconds.
      Not tainted 4.4.131-g033c952 #37
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
init            D ffff8801d99b7600 24064     1      0 0x00000004
 ffff8801d99b7600 0000000000000046 0000000000000292 0000000041b58ab3
 ffff8801d99a8800 ffff8801db21fdb8 ffff8801db21fde0 ffff8801db21f4d8
 ffff8801db21f4c0 ffffffff84417840 ffff8801d99a8000 0000000000000000
Call Trace:
 [<ffffffff838b1d3a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff81814006>] wait_transaction_locked+0x166/0x1f0 fs/jbd2/transaction.c:162
 [<ffffffff81814579>] add_transaction_credits+0x4a9/0x8d0 fs/jbd2/transaction.c:190
 [<ffffffff81814de4>] start_this_handle+0x344/0xdf0 fs/jbd2/transaction.c:357
 [<ffffffff81816660>] jbd2__journal_start+0x1e0/0x7d0 fs/jbd2/transaction.c:458
 [<ffffffff817979f5>] __ext4_journal_start_sb+0x135/0x500 fs/ext4/ext4_jbd2.c:76
 [<ffffffff816f5d76>] __ext4_journal_start fs/ext4/ext4_jbd2.h:310 [inline]
 [<ffffffff816f5d76>] ext4_dirty_inode+0x56/0xa0 fs/ext4/inode.c:5344
 [<ffffffff8159f0b8>] __mark_inode_dirty+0x408/0x1360 fs/fs-writeback.c:2055
 [<ffffffff8156f915>] generic_update_time+0x1a5/0x270 fs/inode.c:1578
 [<ffffffff8156fd45>] update_time fs/inode.c:1594 [inline]
 [<ffffffff8156fd45>] file_update_time+0x285/0x3c0 fs/inode.c:1798
 [<ffffffff81423e78>] __generic_file_write_iter+0x1c8/0x550 mm/filemap.c:2623
 [<ffffffff816c48d5>] ext4_file_write_iter+0x405/0xc60 fs/ext4/file.c:171
 [<ffffffff8151c5fd>] new_sync_write fs/read_write.c:478 [inline]
 [<ffffffff8151c5fd>] __vfs_write+0x30d/0x3f0 fs/read_write.c:491
 [<ffffffff8151e1e1>] vfs_write+0x191/0x4e0 fs/read_write.c:538
 [<ffffffff815207e9>] SYSC_write fs/read_write.c:585 [inline]
 [<ffffffff815207e9>] SyS_write+0xd9/0x1c0 fs/read_write.c:577
 [<ffffffff838bfd65>] entry_SYSCALL_64_fastpath+0x22/0x9e
2 locks held by init/1:
 #0:  (sb_writers#3){.+.+.+}, at: [<ffffffff8151e3c3>] file_start_write include/linux/fs.h:2541 [inline]
 #0:  (sb_writers#3){.+.+.+}, at: [<ffffffff8151e3c3>] vfs_write+0x373/0x4e0 fs/read_write.c:537
 #1:  (&sb->s_type->i_mutex_key#9){+.+.+.}, at: [<ffffffff816c4748>] ext4_file_write_iter+0x278/0xc60 fs/ext4/file.c:116
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.131-g033c952 #37
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffffffff84417840 task.stack: ffffffff84400000
RIP: 0010:[<ffffffff810cc306>]  [<ffffffff810cc306>] native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
RSP: 0018:ffffffff84407dc8  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff84a05aa8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8441811c
RBP: ffffffff84407dc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: fffffbfff074890c R15: ffffffff84a05aa8
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa455a88000 CR3: 00000001ca340000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff84407e00 ffffffff81025da5 ffffffff84408000 0000000000000000
 0000000000000000 fffffbfff074890c ffffffff84a05aa8 ffffffff84407e10
 ffffffff810272f0 ffffffff84407e28 ffffffff8121b9e7 dffffc0000000000
Call Trace:
 [<ffffffff81025da5>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81025da5>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff810272f0>] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:281
 [<ffffffff8121b9e7>] default_idle_call+0x57/0x70 kernel/sched/idle.c:93
 [<ffffffff8121c18f>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff8121c18f>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff8121c18f>] cpu_startup_entry+0x6af/0x780 kernel/sched/idle.c:301
 [<ffffffff838acea1>] rest_init+0x188/0x18e init/main.c:410
 [<ffffffff84a4b8a1>] start_kernel+0x6b3/0x6e7 init/main.c:682
 [<ffffffff84a4a30f>] x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:196
 [<ffffffff84a4a450>] x86_64_start_kernel+0x13f/0x162 arch/x86/kernel/head64.c:185
Code: 00 00 00 00 00 55 48 89 e5 fa 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 66 0f 1f 84 
NMI backtrace for cpu 1
CPU: 1 PID: 492 Comm: khungtaskd Not tainted 4.4.131-g033c952 #37
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d8c9c800 task.stack: ffff8801d9320000
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8801d9327cc8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8801d9327cf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: 0000000000000002 R15: ffffffff8446f7a0
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa44c823cf0 CR3: 00000001ca340000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8446f7a0 ffffffff84a189e0 0000000000000007 fffffbfff0942bec
 0000000000000040 ffff8801d9327d10 ffffffff810b5d61 ffffffff83c0b1a0
 0000000000000003 ffff8801d9327d68 ffffffff81e19003 ffffffff8140d96f
Call Trace:
 [<ffffffff810b5d61>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81e19003>] nmi_trigger_all_cpu_backtrace.cold.4+0x70/0xad lib/nmi_backtrace.c:85
 [<ffffffff810b5e04>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8141a059>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8141a059>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8141a059>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8141a059>] watchdog.cold.1+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff81190768>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c0195>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e2 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 f2 09 da 80 cf 04 41 83 fe 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 62 

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/09 13:47 https://android.googlesource.com/kernel/common android-4.4 033c952f2e7d 12c7428a .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.