WARNING in blkdev_put

Status: auto-obsoleted due to no activity on 2022/09/16 19:00
First crash: 1638d, last: 992d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: no output from test machine (log)
Repro: syz .config

Fix bisection: failed (bisect log)
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in blkdev_put C 4 1613d 1336d 0/3 public: reported C repro on 2019/04/14 00:00
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/16 16:29 16m retest repro upstream OK log
2020/09/11 09:37 15m master OK

Sample crash report:
loop3: p2 start 1279850000 is beyond EOD, truncated
loop2: p2 start 1279850000 is beyond EOD, truncated
 loop5: [CUMANA/ADFS] p1 [Linux] p2 [ADFS] p1 [Linux] p2
loop5: partition table partially beyond EOD, truncated
loop5: p1 size 135963288 extends beyond EOD, truncated
WARNING: CPU: 1 PID: 12785 at fs/block_dev.c:1826 blkdev_put+0x4bd/0x540 fs/block_dev.c:1826
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 12785 Comm: syz-executor0 Not tainted 4.17.0+ #103
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:blkdev_put+0x4bd/0x540 fs/block_dev.c:1826
Code: 1f e4 ff 48 8b 55 d0 e9 bb fc ff ff 4c 89 ff e8 e9 1f e4 ff e9 fa fc ff ff e8 ff 54 a6 ff 0f 0b e9 4c fc ff ff e8 f3 54 a6 ff <0f> 0b e9 bc fc ff ff e8 e7 1f e4 ff e9 9c fb ff ff 4c 89 f7 e8 da 
RSP: 0018:ffff8801d68875b0 EFLAGS: 00010293
RAX: ffff8801c73304c0 RBX: ffff8801a7cec040 RCX: ffffffff81d55115
RDX: 0000000000000000 RSI: ffffffff81d5545d RDI: 0000000000000005
RBP: ffff8801d68875e8 R08: ffff8801c73304c0 R09: fffffbfff11c24f0
R10: fffffbfff11c24f0 R11: ffffffff88e12783 R12: ffff8801a7cec058
R13: 000000000802009d R14: ffff8801a7cec100 R15: ffff8801a7cec0e8
 blkdev_close+0x8b/0xb0 fs/block_dev.c:1862
 __fput+0x35b/0x8b0 fs/file_table.c:209
 ____fput+0x15/0x20 fs/file_table.c:243
 task_work_run+0x1ec/0x2a0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x1b08/0x2750 kernel/exit.c:865
 do_group_exit+0x177/0x440 kernel/exit.c:968
 __do_sys_exit_group kernel/exit.c:979 [inline]
 __se_sys_exit_group kernel/exit.c:977 [inline]
 __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:977
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
RIP: 0033:0x455b29
Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007ffd05327218 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00000000000000dd RCX: 0000000000455b29
RDX: 0000000000000511 RSI: 0000000000731468 RDI: 0000000000000000
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2018/06/15 08:05 upstream b5d903c2d656 27c5f59f .config log report syz
ci-upstream-linux-next-kasan-gce-root 2018/12/02 19:26 linux-next 442b8cea2477 e0d8c853 .config log report
* Struck through repros no longer work on HEAD.