syzbot


general protection fault in bdev_read_page

Status: closed as invalid on 2017/10/31 12:51
Reported-by: syzbot+ad92c93c0ac840556ed80b25f7b9e626bd59ec77@syzkaller.appspotmail.com
First crash: 2494d, last: 2457d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in bdev_read_page C 16 23d 1368d 0/2 upstream: reported C repro on 2020/08/22 05:04
android-5-10 general protection fault in bdev_read_page 1 916d 916d 0/2 auto-closed as invalid on 2022/02/15 00:11
upstream general protection fault in bdev_read_page (2) fs C error inconclusive 16 961d 1415d 0/26 auto-obsoleted due to no activity on 2023/04/16 11:07

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 13105 Comm: syz-executor6 Not tainted 4.13.0-rc5+ #43
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d770a380 task.stack: ffff8801c9660000
RIP: 0010:bdev_read_page+0x38/0x210 fs/block_dev.c:671
RSP: 0018:ffff8801c96668a8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90004289000
RDX: 000000000000001c RSI: ffffffff81b792a0 RDI: 00000000000000e0
RBP: ffff8801c96668d8 R08: ffff8801c9666dc0 R09: ffff8801c9666cc0
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffc400ebb851c000 R14: ffffea00070eda80 R15: 0000000000000000
FS:  00007f35ab829700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4f523bb1e1 CR3: 00000001d76b7000 CR4: 00000000001426f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000020000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 do_mpage_readpage+0x14f9/0x19d0 fs/mpage.c:281
 mpage_readpages+0x626/0x8a0 fs/mpage.c:382
 blkdev_readpages+0x2c/0x40 fs/block_dev.c:589
 read_pages mm/readahead.c:121 [inline]
 __do_page_cache_readahead+0x6c6/0xc00 mm/readahead.c:199
 ra_submit mm/internal.h:66 [inline]
 ondemand_readahead+0x514/0xa70 mm/readahead.c:478
 page_cache_sync_readahead+0xaa/0x100 mm/readahead.c:510
 do_generic_file_read mm/filemap.c:1939 [inline]
 generic_file_read_iter+0x163b/0x26b0 mm/filemap.c:2202
 blkdev_read_iter+0x105/0x170 fs/block_dev.c:1917
 call_read_iter include/linux/fs.h:1737 [inline]
 generic_file_splice_read+0x3f9/0x7b0 fs/splice.c:307
 do_splice_to+0x10a/0x160 fs/splice.c:896
 splice_direct_to_actor+0x242/0x820 fs/splice.c:968
 do_splice_direct+0x29b/0x3c0 fs/splice.c:1077
 do_sendfile+0x5c9/0xe80 fs/read_write.c:1412
 SYSC_sendfile64 fs/read_write.c:1467 [inline]
 SyS_sendfile64+0xbd/0x160 fs/read_write.c:1459
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x4512e9
RSP: 002b:00007f35ab828c08 EFLAGS: 00000216 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000718000 RCX: 00000000004512e9
RDX: 00000000200ddff8 RSI: 0000000000000016 RDI: 0000000000000016
RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000216 R12: 00000000004b9a1a
R13: 00000000ffffffff R14: 000000002002ef88 R15: 0000000000000000
Code: 89 f5 53 48 89 fb 48 83 ec 08 48 89 55 d0 e8 f0 6a b6 ff 48 8d bb e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 78 01 00 00 4c 8b a3 e0 00 00 00 48 b8 00 00 
RIP: bdev_read_page+0x38/0x210 fs/block_dev.c:671 RSP: ffff8801c96668a8
---[ end trace 54b52733891cd110 ]---

Crashes (2149):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/08/21 05:40 upstream 7f680d7ec315 f238fbd4 .config console log report ci-upstream-kasan-gce
2017/08/20 12:25 upstream 58d4e450a490 f238fbd4 .config console log report ci-upstream-kasan-gce
2017/08/14 12:11 upstream ef954844c7ac 6a0246bf .config console log report ci-upstream-kasan-gce
2017/08/14 02:13 upstream c9dc281d91ae 360f0528 .config console log report ci-upstream-kasan-gce
2017/08/12 20:55 upstream 043cd07c555f 360f0528 .config console log report ci-upstream-kasan-gce
2017/08/12 18:03 upstream 043cd07c555f 360f0528 .config console log report ci-upstream-kasan-gce
2017/08/12 03:33 upstream 8001a975f955 a0330c0f .config console log report ci-upstream-kasan-gce
2017/08/09 11:51 upstream bfa738cf3dfa 7e288c05 .config console log report ci-upstream-kasan-gce
2017/08/08 17:59 upstream 623ce3456671 ec649f0f .config console log report ci-upstream-kasan-gce
2017/08/03 00:10 upstream 33611ba0fed7 f5040a63 .config console log report ci-upstream-kasan-gce
2017/08/01 08:48 upstream 2e7ca2064cbb 864b7ea2 .config console log report ci-upstream-kasan-gce
2017/07/29 02:04 upstream 0b5477d9dabd 078d5f87 .config console log report ci-upstream-kasan-gce
2017/07/27 16:43 upstream da08f35b0f82 b0d23a5c .config console log report ci-upstream-kasan-gce
2017/07/25 11:24 upstream 520eccdfe187 e78d03e2 .config console log report ci-upstream-kasan-gce
2017/08/23 21:41 linux-next cc6d46bb99b5 f238fbd4 .config console log report ci-upstream-next-kasan-gce
2017/08/20 08:07 linux-next bb70832dd42b f238fbd4 .config console log report ci-upstream-next-kasan-gce
2017/08/15 19:54 linux-next 497247033eb1 6a0246bf .config console log report skylake-linux-next-kasan-qemu
2017/08/14 11:55 linux-next 91dfed74eabc 360f0528 .config console log report ci-upstream-next-kasan-gce
2017/08/13 14:39 linux-next 91dfed74eabc 360f0528 .config console log report ci-upstream-next-kasan-gce
2017/08/13 12:05 linux-next 91dfed74eabc 360f0528 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.