syzbot


kernel BUG at ./include/linux/highmem.h:LINE!

Status: auto-closed as invalid on 2019/12/31 15:49
Subsystems: exfat
[Documentation on labels]
Reported-by: syzbot+9256cdd80b48e98d3902@syzkaller.appspotmail.com
First crash: 1671d, last: 1668d
Discussions (1)
Title Replies (including bot) Last reply
kernel BUG at ./include/linux/highmem.h:LINE! 0 (1) 2019/09/03 19:05

Sample crash report:
------------[ cut here ]------------
kernel BUG at ./include/linux/highmem.h:224!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 12136 Comm: syz-executor.1 Not tainted 5.3.0-rc6+ #96
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:zero_user_segments include/linux/highmem.h:224 [inline]
RIP: 0010:zero_user include/linux/highmem.h:245 [inline]
RIP: 0010:guard_bio_eod+0x632/0x640 fs/buffer.c:3043
Code: e8 ff e9 47 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c a7 fe ff ff 4c 89 f7 e8 08 42 e8 ff e9 9a fe ff ff e8 be 4a af ff <0f> 0b 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56
RSP: 0018:ffff88805a21eef8 EFLAGS: 00010287
RAX: ffffffff81c44222 RBX: 000000000001f000 RCX: 0000000000040000
RDX: ffffc9000835b000 RSI: 000000000000a31a RDI: 000000000000a31b
RBP: ffff88805a21ef48 R08: ffffffff81c44055 R09: fffffbfff117be95
R10: fffffbfff117be95 R11: 0000000000000000 R12: 000000000001ee00
R13: 0000000000000200 R14: ffff88805d43f9c8 R15: 1ffff1100ba87f39
FS:  00007fdc54c12700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33b27000 CR3: 00000000a133f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 mpage_bio_submit fs/mpage.c:65 [inline]
 mpage_readpages+0x519/0x5a0 fs/mpage.c:410
 fat_readpages+0x2c/0x40 fs/fat/inode.c:210
 read_pages+0xb0/0x3e0 mm/readahead.c:126
 __do_page_cache_readahead+0x480/0x530 mm/readahead.c:212
 ondemand_readahead+0x6e1/0xcf0 mm/internal.h:62
 page_cache_async_readahead+0x2af/0x340 mm/readahead.c:574
 generic_file_buffered_read mm/filemap.c:2079 [inline]
 generic_file_read_iter+0x6a6/0x21b0 mm/filemap.c:2344
 call_read_iter include/linux/fs.h:1864 [inline]
 new_sync_read fs/read_write.c:414 [inline]
 __vfs_read+0x59e/0x730 fs/read_write.c:427
 integrity_kernel_read+0x113/0x190 security/integrity/iint.c:200
 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:352 [inline]
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:381 [inline]
 ima_calc_file_hash+0xaef/0x1b20 security/integrity/ima/ima_crypto.c:446
 ima_collect_measurement+0x220/0x4a0 security/integrity/ima/ima_api.c:239
 process_measurement+0xbdb/0x16c0 security/integrity/ima/ima_main.c:311
 ima_file_check+0x9b/0xe0 security/integrity/ima/ima_main.c:422
 do_last fs/namei.c:3420 [inline]
 path_openat+0x1760/0x4460 fs/namei.c:3533
 do_filp_open+0x192/0x3d0 fs/namei.c:3563
 do_sys_open+0x29f/0x560 fs/open.c:1089
 __do_sys_open fs/open.c:1107 [inline]
 __se_sys_open fs/open.c:1102 [inline]
 __x64_sys_open+0x87/0x90 fs/open.c:1102
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459879
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fdc54c11c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879
RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000000
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc54c126d4
R13: 00000000004f907f R14: 00000000004dac90 R15: 00000000ffffffff
Modules linked in:
---[ end trace e800889d40ef691d ]---
RIP: 0010:zero_user_segments include/linux/highmem.h:224 [inline]
RIP: 0010:zero_user include/linux/highmem.h:245 [inline]
RIP: 0010:guard_bio_eod+0x632/0x640 fs/buffer.c:3043
Code: e8 ff e9 47 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c a7 fe ff ff 4c 89 f7 e8 08 42 e8 ff e9 9a fe ff ff e8 be 4a af ff <0f> 0b 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56
RSP: 0018:ffff88805a21eef8 EFLAGS: 00010287
RAX: ffffffff81c44222 RBX: 000000000001f000 RCX: 0000000000040000
RDX: ffffc9000835b000 RSI: 000000000000a31a RDI: 000000000000a31b
RBP: ffff88805a21ef48 R08: ffffffff81c44055 R09: fffffbfff117be95
R10: fffffbfff117be95 R11: 0000000000000000 R12: 000000000001ee00
R13: 0000000000000200 R14: ffff88805d43f9c8 R15: 1ffff1100ba87f39
FS:  00007fdc54c12700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33b27000 CR3: 00000000a133f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/02 15:48 upstream 9f159ae07f07 db7c31ca .config console log report ci-upstream-kasan-gce-smack-root
2019/08/30 20:16 upstream 6525771f58cb fd37b39e .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.