syzbot


general protection fault in lo_rw_aio

Status: upstream: reported on 2026/04/18 00:02
Subsystems: block
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+cd8a9a308e879a4e2c28@syzkaller.appspotmail.com
First crash: 64d, last: 4h07m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
c6adaab8-4b14-4354-b0be-7590494f9864 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ general protection fault in lo_rw_aio 2026/05/23 13:03 2026/05/23 13:03 2026/05/23 14:13 c69befb30ac10e158cc9d1557b508ee3f0eca1de

			
		
Discussions (9)
Title Replies (including bot) Last reply
[PATCH v4] loop: Fix NULL pointer dereference in lo_rw_aio() 1 (1) 2026/06/07 10:54
Re: [PATCH v3] loop: Fix NULL pointer dereference in lo_rw_aio() 6 (6) 2026/06/02 02:02
[PATCH] block: assign caller-specific lockdep class to disk->open_mutex 2 (2) 2026/05/30 22:50
[PATCH] loop: reject binding to procfs and sysfs files 1 (1) 2026/05/30 13:48
[PATCH v3] loop: Fix NULL pointer dereference in lo_rw_aio() 1 (1) 2026/05/25 03:40
[PATCH] loop: add sync_blockdev() in __loop_clr_fd() to prevent UAF 7 (7) 2026/05/22 11:50
[PATCH v2] loop: Fix NULL pointer dereference by synchronizing lo_release and loop_queue_rq 1 (1) 2026/05/15 01:38
[PATCH] loop: Fix NULL pointer dereference by synchronizing lo_release and loop_queue_rq 1 (1) 2026/05/11 11:43
[syzbot] [block?] general protection fault in lo_rw_aio 1 (2) 2026/04/21 11:05
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in lo_rw_aio block 10 C 10 410d 418d 29/29 fixed on 2025/07/08 00:33

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000014: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000000a0-0x00000000000000a7]
CPU: 1 UID: 0 PID: 13507 Comm: kworker/u8:6 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Workqueue: loop2 loop_workfn
RIP: 0010:file_inode include/linux/fs.h:1353 [inline]
RIP: 0010:kiocb_start_write include/linux/fs.h:2765 [inline]
RIP: 0010:lo_rw_aio+0xa9f/0xf30 drivers/block/loop.c:397
Code: 89 33 31 ff 8b 5c 24 34 89 de e8 8c 4b 3d fc 85 db 0f 84 cb 00 00 00 48 8b 44 24 58 48 8d 98 a0 00 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 32 86 a4 fc 4c 89 7c 24 20 48 8b
RSP: 0018:ffffc90006017640 EFLAGS: 00010206
RAX: 0000000000000014 RBX: 00000000000000a0 RCX: ffff888036321f00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900060177b0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1004ca8c85 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888026546430
FS:  0000000000000000(0000) GS:ffff88812647d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555573d8a68 CR3: 0000000032586000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 do_req_filebacked drivers/block/loop.c:429 [inline]
 loop_handle_cmd drivers/block/loop.c:1921 [inline]
 loop_process_work+0x638/0x11d0 drivers/block/loop.c:1956
 process_one_work kernel/workqueue.c:3314 [inline]
 process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3397
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3478
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:file_inode include/linux/fs.h:1353 [inline]
RIP: 0010:kiocb_start_write include/linux/fs.h:2765 [inline]
RIP: 0010:lo_rw_aio+0xa9f/0xf30 drivers/block/loop.c:397
Code: 89 33 31 ff 8b 5c 24 34 89 de e8 8c 4b 3d fc 85 db 0f 84 cb 00 00 00 48 8b 44 24 58 48 8d 98 a0 00 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 32 86 a4 fc 4c 89 7c 24 20 48 8b
RSP: 0018:ffffc90006017640 EFLAGS: 00010206
RAX: 0000000000000014 RBX: 00000000000000a0 RCX: ffff888036321f00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900060177b0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1004ca8c85 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888026546430
FS:  0000000000000000(0000) GS:ffff88812647d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555573d8a68 CR3: 00000000354ba000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	89 33                	mov    %esi,(%rbx)
   2:	31 ff                	xor    %edi,%edi
   4:	8b 5c 24 34          	mov    0x34(%rsp),%ebx
   8:	89 de                	mov    %ebx,%esi
   a:	e8 8c 4b 3d fc       	call   0xfc3d4b9b
   f:	85 db                	test   %ebx,%ebx
  11:	0f 84 cb 00 00 00    	je     0xe2
  17:	48 8b 44 24 58       	mov    0x58(%rsp),%rax
  1c:	48 8d 98 a0 00 00 00 	lea    0xa0(%rax),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 32 86 a4 fc       	call   0xfca4866b
  39:	4c 89 7c 24 20       	mov    %r15,0x20(%rsp)
  3e:	48                   	rex.W
  3f:	8b                   	.byte 0x8b

Crashes (763):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/17 04:29 upstream 6b5a2b7d9bc1 62cc6db3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/17 00:18 upstream 6b5a2b7d9bc1 62cc6db3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/16 01:05 upstream 0e0611827f33 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/15 22:53 upstream 0e0611827f33 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/15 21:37 upstream 0e0611827f33 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/15 17:21 upstream 0e0611827f33 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/12 10:07 upstream 2b414a95b8f7 e93da63e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/11 11:55 upstream 9716c086c8e8 b754d2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/08 14:33 upstream 4549871118cf 656e94c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/06 04:07 upstream c10130c234c8 cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/04 19:24 upstream ba3e43a9e601 197909be .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/25 17:44 upstream e7ae89a0c97c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/22 22:16 upstream 45255ea1ca09 5f091fcc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/21 18:54 upstream 758c807bb943 e195359d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/21 14:33 upstream 8bc67e4db64a e195359d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 19:40 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 17:06 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 11:01 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 08:53 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 06:37 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 05:02 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 03:11 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/17 01:50 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 23:12 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 21:34 upstream 6916d5703ddf de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 20:13 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 19:07 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 18:06 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 16:44 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 14:16 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 12:35 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 11:04 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 10:02 upstream 6916d5703ddf a15a64a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/05/16 07:18 upstream d458a240344c 81fb92f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/04/17 21:49 upstream 43cfbdda5af6 24ecfc1e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in lo_rw_aio
2026/06/17 02:32 linux-next 4fa3f5fabb30 0e4b3e40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/16 15:53 linux-next 8d6dbbbe3ba6 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/16 11:13 linux-next 8d6dbbbe3ba6 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/16 07:58 linux-next 8d6dbbbe3ba6 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/15 20:02 linux-next 8d6dbbbe3ba6 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/15 14:46 linux-next c425609d6ac4 1d2f3589 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/15 13:03 linux-next c425609d6ac4 1d2f3589 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/15 04:16 linux-next c425609d6ac4 1d2f3589 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/15 01:22 linux-next c425609d6ac4 1d2f3589 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/06/14 11:07 linux-next c425609d6ac4 1d2f3589 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/05/19 04:47 linux-next 80dd246accce 9f74d399 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/05/18 05:59 linux-next e98d21c170b0 de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
2026/04/13 23:56 linux-next 1c7cc4904160 1a086e7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in lo_rw_aio
* Struck through repros no longer work on HEAD.