syzbot


general protection fault in blk_update_request

Status: upstream: reported on 2024/11/02 00:15
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+1d38eedcb25a3b5686a7@syzkaller.appspotmail.com
First crash: 373d, last: 17d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [block?] general protection fault in blk_update_request 0 (1) 2024/11/02 00:15
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: use-after-free Read in blk_update_request block jfs C inconclusive inconclusive 5 1407d 1644d 0/28 auto-obsoleted due to no activity on 2022/09/26 04:43
linux-6.1 KASAN: use-after-free Read in blk_update_request 1 390d 390d 0/3 auto-obsoleted due to no activity on 2024/07/30 10:38

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xe01ffbf110170c75: 0000 [#1] SMP KASAN PTI
KASAN: maybe wild-memory-access in range [0x00ffff8880b863a8-0x00ffff8880b863af]
CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.15.0-rc3-syzkaller-00008-ga33b5a08cbbd #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:kasan_byte_accessible+0x12/0x20 mm/kasan/generic.c:199
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 c3 cc cc cc cc 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000147730 EFLAGS: 00010003
RAX: dffffc0000000000 RBX: 00ffff8880b863ad RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c2a6d1e RDI: 001ffff110170c75
RBP: ffffffff93651020 R08: 0000000000000001 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed10052b9e2e R12: 0000000000000001
R13: 0000000000000000 R14: ffffffff8c2a6d1e R15: 00ffff8880b863ad
FS:  0000000000000000(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c1f3b7bac CR3: 0000000032388000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __kasan_check_byte+0x14/0x40 mm/kasan/common.c:556
 kasan_check_byte include/linux/kasan.h:399 [inline]
 lock_acquire+0x89/0x2f0 kernel/locking/lockdep.c:5840
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 __queue_work+0x785/0x10a0 kernel/workqueue.c:-1
 queue_work_on+0x1c4/0x380 kernel/workqueue.c:2392
 blk_update_request+0x5e5/0x1160 block/blk-mq.c:983
 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1145
 blk_flush_complete_seq+0x6bd/0xcf0 block/blk-flush.c:191
 flush_end_io+0xab4/0xdc0 block/blk-flush.c:250
 __blk_mq_end_request+0x492/0x5d0 block/blk-mq.c:1135
 blk_complete_reqs block/blk-mq.c:1220 [inline]
 blk_done_softirq+0x100/0x150 block/blk-mq.c:1225
 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
 run_ksoftirqd+0xcf/0x130 kernel/softirq.c:968
 smpboot_thread_fn+0x576/0xaa0 kernel/smpboot.c:164
 kthread+0x7b7/0x940 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_byte_accessible+0x12/0x20 mm/kasan/generic.c:199
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 c3 cc cc cc cc 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000147730 EFLAGS: 00010003
RAX: dffffc0000000000 RBX: 00ffff8880b863ad RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c2a6d1e RDI: 001ffff110170c75
RBP: ffffffff93651020 R08: 0000000000000001 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed10052b9e2e R12: 0000000000000001
R13: 0000000000000000 R14: ffffffff8c2a6d1e R15: 00ffff8880b863ad
FS:  0000000000000000(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c1f3b7bac CR3: 0000000032388000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
   7:	00
   8:	90                   	nop
   9:	90                   	nop
   a:	90                   	nop
   b:	90                   	nop
   c:	90                   	nop
   d:	90                   	nop
   e:	90                   	nop
   f:	90                   	nop
  10:	90                   	nop
  11:	90                   	nop
  12:	90                   	nop
  13:	90                   	nop
  14:	90                   	nop
  15:	90                   	nop
  16:	90                   	nop
  17:	90                   	nop
  18:	66 0f 1f 00          	nopw   (%rax)
  1c:	48 c1 ef 03          	shr    $0x3,%rdi
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	0f b6 04 07          	movzbl (%rdi,%rax,1),%eax <-- trapping instruction
  2e:	3c 08                	cmp    $0x8,%al
  30:	0f 92 c0             	setb   %al
  33:	c3                   	ret
  34:	cc                   	int3
  35:	cc                   	int3
  36:	cc                   	int3
  37:	cc                   	int3
  38:	90                   	nop
  39:	90                   	nop
  3a:	90                   	nop
  3b:	90                   	nop
  3c:	90                   	nop
  3d:	90                   	nop
  3e:	90                   	nop
  3f:	90                   	nop

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/22 19:45 upstream a33b5a08cbbd 53a8b9bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in blk_update_request
2025/04/13 08:42 upstream 7cdabafc0012 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in blk_update_request
2025/01/29 20:54 upstream 805ba04cb7cc 136953f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in blk_update_request
2024/12/06 07:05 upstream b8f52214c61a 946d28f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in blk_update_request
2024/11/29 20:04 upstream 509f806f7f70 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in blk_update_request
2024/10/28 15:04 upstream 819837584309 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in blk_update_request
2024/05/08 05:42 upstream dccb07f2914c 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in blk_update_request
2024/07/11 10:07 upstream 9d9a2f29aefd c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: slab-use-after-free Read in blk_update_request
2025/04/29 19:26 upstream ca91b9500108 9e704644 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/04/28 06:46 upstream b4432656b36e c6b4fb39 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/03/15 14:23 upstream 3571e8b091f4 e2826670 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/03/02 23:29 upstream 1973160c90d7 c3901742 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/26 15:39 upstream ac9c34d1e45a 6a8fcbc4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/24 21:25 upstream d082ecbc71e9 d34966d1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/18 14:15 upstream 2408a807bfc3 c37c7249 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/14 06:53 upstream ab68d7eb7b1a d9a046cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/14 02:11 upstream ab68d7eb7b1a d9a046cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/12 21:19 upstream 09fbf3d50205 b27c2402 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/02/12 01:26 upstream 09fbf3d50205 f2baddf5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/01/26 14:30 upstream aa22f4da2a46 9fbd772e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2025/01/18 06:58 upstream ad26fc09dabf f2cb035c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2024/12/27 09:49 upstream d6ef8b40d075 d3ccff63 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2024/11/02 00:14 upstream 6c52d4da1c74 f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
2024/10/09 03:06 upstream 5b7c893ed5ed 402f1df0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in blk_update_request
* Struck through repros no longer work on HEAD.