Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Re: [syzbot] [block?] general protection fault in lo_rw_aio
       [not found] <69e2ca14.a00a0220.1bd0ca.0031.GAE@google.com>
@ 2026-11-30  2:36 ` syzbot
  0 siblings, 0 replies; only message in thread
From: syzbot @ 2026-11-30  2:36 UTC (permalink / raw)
  To: akpm, axboe, bigeasy, brauner, bvanassche, clrkwllms, cui.tao,
	eadavis, hch, hdanton, jfs-discussion, linux-block, linux-fsdevel,
	linux-kernel, linux-rt-devel, penguin-kernel, rostedt, shaggy,
	stable, syzkaller-bugs, tom.leiming, viro, zenghongling

syzbot has found a reproducer for the following issue on:

HEAD commit:    4f069ab1ec24 Merge tag 'scsi-fixes' of git://git.kernel.or..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=106e707e580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=fc1834b4a2e3ba54
dashboard link: https://syzkaller.appspot.com/bug?extid=cd8a9a308e879a4e2c28
compiler:       Debian clang version 22.1.8 (1~deb13u5), Debian LLD 22.1.8
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=11ac28e9580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=16da0611580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/66ff8e791620/disk-4f069ab1.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/35a2aede79e4/vmlinux-4f069ab1.xz
kernel image: https://storage.googleapis.com/syzbot-assets/408f236d215b/bzImage-4f069ab1.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/f49a65f385d3/mount_0.gz
  fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=17ae707e580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+cd8a9a308e879a4e2c28@syzkaller.appspotmail.com

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000014: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000000a0-0x00000000000000a7]
CPU: 0 UID: 0 PID: 1169 Comm: kworker/u8:10 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: loop0 loop_workfn
RIP: 0010:file_inode include/linux/fs.h:1351 [inline]
RIP: 0010:kiocb_start_write include/linux/fs.h:2797 [inline]
RIP: 0010:lo_rw_aio+0xc26/0x1100 drivers/block/loop.c:398
Code: e8 6f 4c ff fb 85 db 0f 84 d8 00 00 00 48 8b 44 24 68 48 8d 98 a0 00 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 12 48 89 df e8 4c 47 73 fc 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90006a0f620 EFLAGS: 00010206
RAX: 0000000000000014 RBX: 00000000000000a0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90006a0f790 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1004ffcb95 R12: 0000000000000000
R13: 0000000000001000 R14: 0000000000000000 R15: ffff888027fe5cb0
FS:  0000000000000000(0000) GS:ffff8881246fa000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555593cba28 CR3: 000000003d258000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 do_req_filebacked drivers/block/loop.c:430 [inline]
 loop_handle_cmd drivers/block/loop.c:1847 [inline]
 loop_process_work+0x638/0x11d0 drivers/block/loop.c:1882
 process_one_work kernel/workqueue.c:3497 [inline]
 process_scheduled_works+0xc5d/0x1650 kernel/workqueue.c:3580
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3661
 kthread+0x38b/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:1351 [inline]
RIP: 0010:kiocb_start_write include/linux/fs.h:2797 [inline]
RIP: 0010:lo_rw_aio+0xc26/0x1100 drivers/block/loop.c:398
Code: e8 6f 4c ff fb 85 db 0f 84 d8 00 00 00 48 8b 44 24 68 48 8d 98 a0 00 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 12 48 89 df e8 4c 47 73 fc 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90006a0f620 EFLAGS: 00010206
RAX: 0000000000000014 RBX: 00000000000000a0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90006a0f790 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1004ffcb95 R12: 0000000000000000
R13: 0000000000001000 R14: 0000000000000000 R15: ffff888027fe5cb0
FS:  0000000000000000(0000) GS:ffff8881246fa000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd50ca72708 CR3: 0000000039050000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	e8 6f 4c ff fb       	call   0xfbff4c74
   5:	85 db                	test   %ebx,%ebx
   7:	0f 84 d8 00 00 00    	je     0xe5
   d:	48 8b 44 24 68       	mov    0x68(%rsp),%rax
  12:	48 8d 98 a0 00 00 00 	lea    0xa0(%rax),%rbx
  19:	48 89 d8             	mov    %rbx,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 12                	je     0x42
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 4c 47 73 fc       	call   0xfc734784
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30  2:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <69e2ca14.a00a0220.1bd0ca.0031.GAE@google.com>
2026-11-30  2:36 ` [syzbot] [block?] general protection fault in lo_rw_aio syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox