kernel BUG at fs/direct-io.c:LINE!

Status: auto-closed as invalid on 2020/02/16 10:21
First crash: 984d, last: 984d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 kernel BUG at fs/direct-io.c:LINE! 1 996d 996d 0/3 auto-closed as invalid on 2020/02/04 06:56

Sample crash report:
 proc_reg_read+0xfa/0x170 fs/proc/inode.c:217
 do_loop_readv_writev fs/read_write.c:695 [inline]
 do_loop_readv_writev fs/read_write.c:682 [inline]
 do_iter_read+0x3e2/0x5b0 fs/read_write.c:919
 vfs_readv+0xd3/0x130 fs/read_write.c:981
------------[ cut here ]------------
kernel BUG at fs/direct-io.c:744!
 kernel_readv fs/splice.c:361 [inline]
 default_file_splice_read+0x421/0x7b0 fs/splice.c:416
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 9221 Comm: syz-executor.4 Not tainted 4.14.150 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888055122600 task.stack: ffff8880551b0000
RIP: 0010:dio_new_bio fs/direct-io.c:744 [inline]
RIP: 0010:dio_new_bio fs/direct-io.c:733 [inline]
RIP: 0010:dio_send_cur_page fs/direct-io.c:827 [inline]
RIP: 0010:submit_page_section fs/direct-io.c:883 [inline]
RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline]
RIP: 0010:do_blockdev_direct_IO+0x637c/0x7fd0 fs/direct-io.c:1336
RSP: 0018:ffff8880551b74c0 EFLAGS: 00010212
RAX: 0000000000040000 RBX: 0000000080000010 RCX: ffffc90005a13000
RDX: 00000000000017a2 RSI: ffffffff819bea6c RDI: ffff88809eac81cc
RBP: ffff8880551b77d8 R08: ffff888055122600 R09: 0000000000000003
R10: ffff8880551b7410 R11: ffff888055122600 R12: 0000000000000000
R13: 0000000000344118 R14: ffffea000200f0c0 R15: ffff88809eac81c0
 do_splice_to+0x105/0x170 fs/splice.c:880
FS:  00007f5d48dec700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000
 splice_direct_to_actor+0x222/0x7b0 fs/splice.c:952
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ff23000 CR3: 000000009a664000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_splice_direct+0x18d/0x230 fs/splice.c:1061
 do_sendfile+0x4db/0xbd0 fs/read_write.c:1441
 __blockdev_direct_IO+0xa1/0xca fs/direct-io.c:1422
 SYSC_sendfile64 fs/read_write.c:1502 [inline]
 SyS_sendfile64+0x102/0x110 fs/read_write.c:1488
 ext4_direct_IO_write fs/ext4/inode.c:3703 [inline]
 ext4_direct_IO+0x70d/0x1890 fs/ext4/inode.c:3833
 generic_file_direct_write+0x1e7/0x430 mm/filemap.c:2949
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 __generic_file_write_iter+0x2bc/0x5b0 mm/filemap.c:3128
 ext4_file_write_iter+0x2ac/0xe90 fs/ext4/file.c:268
RIP: 0033:0x459a59
RSP: 002b:00007f6f789bcc78 EFLAGS: 00000246
 call_write_iter include/linux/fs.h:1777 [inline]
 do_iter_readv_writev+0x418/0x670 fs/read_write.c:675
 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f6f789bcc90 RCX: 0000000000459a59
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
 do_iter_write fs/read_write.c:954 [inline]
 do_iter_write+0x154/0x540 fs/read_write.c:935
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000080000003 R11: 0000000000000246 R12: 00007f6f789bd6d4
R13: 00000000004c74af R14: 00000000004dd190 R15: 0000000000000006
 vfs_iter_write+0x77/0xb0 fs/read_write.c:967
 iter_file_splice_write+0x572/0xad0 fs/splice.c:749
 do_splice_from fs/splice.c:851 [inline]
 do_splice fs/splice.c:1147 [inline]
 SYSC_splice fs/splice.c:1402 [inline]
 SyS_splice+0xd92/0x1430 fs/splice.c:1382
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
RIP: 0033:0x459a59
RSP: 002b:00007f5d48debc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459a59
RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5d48dec6d4
R13: 00000000004c954e R14: 00000000004dffb0 R15: 00000000ffffffff
Code: ea 03 80 3c 02 00 0f 85 d2 1b 00 00 4c 01 a3 68 10 00 00 e9 d0 d8 ff ff e8 a2 09 c1 ff 0f 0b e8 9b 09 c1 ff 0f 0b e8 94 09 c1 ff <0f> 0b e8 8d 09 c1 ff 4c 8b a4 24 10 02 00 00 e9 9e df ff ff e8 
RIP: dio_new_bio fs/direct-io.c:744 [inline] RSP: ffff8880551b74c0
RIP: dio_new_bio fs/direct-io.c:733 [inline] RSP: ffff8880551b74c0
RIP: dio_send_cur_page fs/direct-io.c:827 [inline] RSP: ffff8880551b74c0
RIP: submit_page_section fs/direct-io.c:883 [inline] RSP: ffff8880551b74c0
RIP: do_direct_IO fs/direct-io.c:1097 [inline] RSP: ffff8880551b74c0
RIP: do_blockdev_direct_IO+0x637c/0x7fd0 fs/direct-io.c:1336 RSP: ffff8880551b74c0
kobject: 'sit0' (ffff88805a776cb0): kobject_cleanup, parent           (null)
kobject: 'sit0' (ffff88805a776cb0): calling ktype release
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
kobject: 'sit0': free name
kobject: 'loop3' (ffff8880a49fc0a0): kobject_uevent_env
kobject: 'loop3' (ffff8880a49fc0a0): fill_kobj_path: path = '/devices/virtual/block/loop3'
kobject: 'rx-0' (ffff8880a9a4e250): kobject_cleanup, parent ffff888090f8b348
kobject: 'rx-0' (ffff8880a9a4e250): auto cleanup 'remove' event
kobject: 'loop1' (ffff8880a4984620): kobject_uevent_env
kobject: 'rx-0' (ffff8880a9a4e250): kobject_uevent_env
kobject: 'loop1' (ffff8880a4984620): fill_kobj_path: path = '/devices/virtual/block/loop1'
kobject: 'rx-0' (ffff8880a9a4e250): kobject_uevent_env: uevent_suppress caused the event to drop!
PM: Basic memory bitmaps created
kobject: 'loop3' (ffff8880a49fc0a0): kobject_uevent_env
kobject: 'rx-0' (ffff8880a9a4e250): auto cleanup kobject_del
kobject: 'loop3' (ffff8880a49fc0a0): fill_kobj_path: path = '/devices/virtual/block/loop3'
kobject: 'rx-0' (ffff8880a9a4e250): calling ktype release
uinput: write device info first
PM: Basic memory bitmaps freed
kobject: 'input8' (ffff888055224620): kobject_cleanup, parent           (null)
kobject: 'rx-0': free name
kobject: 'input8' (ffff888055224620): calling ktype release
kobject: 'loop1' (ffff8880a4984620): kobject_uevent_env
kobject: 'loop1' (ffff8880a4984620): fill_kobj_path: path = '/devices/virtual/block/loop1'
kobject: 'input8': free name
kobject: 'tx-0' (ffff888097d43d58): kobject_cleanup, parent ffff888090f8b348
kobject: 'tx-0' (ffff888097d43d58): auto cleanup 'remove' event
kobject: 'input9' (ffff8880a7d498e0): kobject_cleanup, parent           (null)
kobject: 'tx-0' (ffff888097d43d58): kobject_uevent_env
kobject: 'input9' (ffff8880a7d498e0): calling ktype release
kobject: 'input9': free name
---[ end trace 32b51525b3c0019d ]---
kobject: 'tx-0' (ffff888097d43d58): kobject_uevent_env: uevent_suppress caused the event to drop!

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2019/10/19 10:20 linux-4.14.y b98aebd29824 8c88c9c1 .config log report