syzbot


linux-next boot error: general protection fault in bio_add_hw_page

Status: auto-closed as invalid on 2021/06/26 04:06
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+27916005c4a9d0d06bce@syzkaller.appspotmail.com
First crash: 1097d, last: 1096d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] linux-next boot error: general protection fault in bio_add_hw_page 1 (2) 2021/04/27 01:13

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc00000000c5: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000628-0x000000000000062f]
CPU: 0 PID: 43 Comm: kworker/u4:2 Not tainted 5.12.0-next-20210426-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound async_run_entry_fn
RIP: 0010:bio_max_size block/bio.c:260 [inline]
RIP: 0010:bio_full include/linux/bio.h:124 [inline]
RIP: 0010:bio_full include/linux/bio.h:119 [inline]
RIP: 0010:bio_add_hw_page+0x198/0x830 block/bio.c:778
Code: 48 c1 e9 03 80 3c 01 00 0f 85 b1 05 00 00 48 b9 00 00 00 00 00 fc ff df 48 8b 43 08 48 8d b8 28 06 00 00 48 89 fe 48 c1 ee 03 <80> 3c 0e 00 0f 85 9d 05 00 00 48 8b 80 28 06 00 00 48 b9 00 00 00
RSP: 0000:ffffc90000eaf6a8 EFLAGS: 00010206
RAX: 0000000000000000 RBX: ffff88801575e200 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 00000000000000c5 RDI: 0000000000000628
RBP: 0000000000000024 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff83b75207 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88801b826f00 R14: 0000000000000000 R15: ffffea00004e3b40
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000bc8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 bio_add_pc_page+0xb8/0x100 block/bio.c:812
 bio_map_kern block/blk-map.c:374 [inline]
 blk_rq_map_kern+0x2bd/0x750 block/blk-map.c:642
 __scsi_execute+0x4c1/0x600 drivers/scsi/scsi_lib.c:224
 scsi_execute_req include/scsi/scsi_device.h:462 [inline]
 scsi_probe_lun drivers/scsi/scsi_scan.c:610 [inline]
 scsi_probe_and_add_lun+0x521/0x34e0 drivers/scsi/scsi_scan.c:1104
 __scsi_scan_target+0x21f/0xdb0 drivers/scsi/scsi_scan.c:1578
 scsi_scan_channel drivers/scsi/scsi_scan.c:1666 [inline]
 scsi_scan_channel+0x148/0x1e0 drivers/scsi/scsi_scan.c:1642
 scsi_scan_host_selected+0x2df/0x3b0 drivers/scsi/scsi_scan.c:1695
 do_scsi_scan_host+0x1e8/0x260 drivers/scsi/scsi_scan.c:1834
 do_scan_async+0x3e/0x500 drivers/scsi/scsi_scan.c:1844
 async_run_entry_fn+0x9d/0x550 kernel/async.c:127
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace d1f93b5cbe0396d6 ]---
RIP: 0010:bio_max_size block/bio.c:260 [inline]
RIP: 0010:bio_full include/linux/bio.h:124 [inline]
RIP: 0010:bio_full include/linux/bio.h:119 [inline]
RIP: 0010:bio_add_hw_page+0x198/0x830 block/bio.c:778
Code: 48 c1 e9 03 80 3c 01 00 0f 85 b1 05 00 00 48 b9 00 00 00 00 00 fc ff df 48 8b 43 08 48 8d b8 28 06 00 00 48 89 fe 48 c1 ee 03 <80> 3c 0e 00 0f 85 9d 05 00 00 48 8b 80 28 06 00 00 48 b9 00 00 00
RSP: 0000:ffffc90000eaf6a8 EFLAGS: 00010206
RAX: 0000000000000000 RBX: ffff88801575e200 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 00000000000000c5 RDI: 0000000000000628
RBP: 0000000000000024 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff83b75207 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88801b826f00 R14: 0000000000000000 R15: ffffea00004e3b40
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000bc8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/27 04:05 linux-next 3f1fee3e7237 805b5003 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/27 04:05 linux-next 3f1fee3e7237 805b5003 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/27 04:05 linux-next 3f1fee3e7237 805b5003 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/26 15:14 linux-next 3f1fee3e7237 e60b7df1 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/26 15:14 linux-next 3f1fee3e7237 e60b7df1 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/26 15:14 linux-next 3f1fee3e7237 e60b7df1 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/26 07:10 linux-next 3f1fee3e7237 2a82f1b3 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/26 07:10 linux-next 3f1fee3e7237 2a82f1b3 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
2021/04/26 07:10 linux-next 3f1fee3e7237 2a82f1b3 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: general protection fault in bio_add_hw_page
* Struck through repros no longer work on HEAD.