From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796006191; b=wYK0G2I6FM0vTk3j1io8BsurujenXEeJR8fz1bV10pWWU5qiLSrSNXDhjaa26OSiFHXz mwCJhRkTFa0OEzghb1ox9ZTT3nUqhK1qAhwudoCc/UH0WZOwE+jv3sT4dka7m4wxxcfeO UIfjYtK6+sInwtvYF7CyFn9YYhcyIGw+b/N7PgaZpH6gbDtY4HqHjLNH2PUGz6BxkK4yp 7GHI2PIuBau2C4JBhJpoq6/dbw+rYpz62PY3Sm6cMsViQEMKPhT6RDvKt15iVMjtPKSLV 3FLK2rHcGu/TSIJkZxQxKWbIipLGS7r+N97qhZn99Q3Ogw2V+L/0yDHN/R6SlDLqVIQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796006191; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:MIME-Version:X-Received:Date:In-Reply-To: X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID: Subject:From:To:Content-Type; bh=trmYllSfPsOaI/+eP+TdeXnyZC04TES6U6jAdtpMLDM=; b=V77JTBZu6LrxGMFeKpeUoOtIKqjHW1FBzbbikLIAMUIouozWbT+CWIBYm4FcBgFl9Lua /eo2M1EH5mSO+KXtqxhUQi1YTV8bs00UU4XqchAeUvLi0NaXmLTk+kwktEBV0luK0OrwK QvS50Q9N2n38zf9KXKiOFw3I8qszqHUzZR2mw2jsaYMwu59oAx2O5ECGJIPxWj0UElJck wHMQR9G7IrsauKBa2H2O622wAIGI/MkBDJfA3sc1/d3JGqSqPm285x9+Kbqr5gWCxfcUQ vQrT+FD2F3i/1QrRLYJE6QLvvNCOaa/9aI0LBM9oMX5e1bhSq5w/dFjJDMYhSQ5yUgQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.remote-ip=209.85.167.197 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81026606A329 for ; Mon, 30 Nov 2026 02:36:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 81026606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-4ea2c058e67so10456960b6e.1 for ; Sun, 29 Nov 2026 18:36:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796006190; x=1796610990; h=content-type:to:from:subject:message-id:in-reply-to:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=trmYllSfPsOaI/+eP+TdeXnyZC04TES6U6jAdtpMLDM=; b=Kk4fzjW6DMA3aP1aKG5cdBmadvgmF5D1TKAneFKXhetUpFMqgHGSJStPQVd2nQw2c1 BHRHfOdIgd1kd/WF/WeSBrX1/tCAGsiczlQz2Gb+IreGOoJWLzjyEgv64D4O75/17eU6 pZc2tnQdi2gavwlbqvg6REUZjT5E9EzmV7xBa6QKAFCVPXkoZE4IsdS1dasszQweSLCP 36XmP4GZBYUDGal50QYjBrAfcNEhr1SE/guHkynjPf1DS3pr+tNAmUWbiCkeT2xTUFBi xXFmFrNzXVFzAzNbY4+IBeJkEVocULtlEKNi+xCvMHrhtVpUIgP16Zlkjhs1ovxytM4p GdEg== X-Forwarded-Encrypted: i=1; AL+hErHypBA0u34rwvbMxxLgmowxirj7fEiFPPkhIpH4/Jo6ai5FBfobQHaBlSs8CZQVLIBKg9FNi36LjKsKFX1u@vger.kernel.org X-Gm-Message-State: APuU4Z+9qv3voZkKtnaLLLA0LEp9LTCoOBsviQX1iw3JB87zp6MhmNrL OeY6XnV9sc8y1TCTWVRBO10yXEb2Wr+xP52D+Q4NBjsGatFP/vQqvNUgHIjt1w/WNi0HcfZwGmr FI9L6J3As4auRBvUaV8Uho0eSzKvMtLL+vTVMnsVxSl/Py3qWPN4n4dzY4YA= X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Received: by 2002:a05:6808:e8c:b0:4f3:e98f:fa27 with SMTP id 5614622812f47-57a09c1107cmr35050189b6e.16.1796006190520; Sun, 29 Nov 2026 18:36:30 -0800 (PST) Date: Sun, 29 Nov 2026 18:36:30 -0800 In-Reply-To: <69e2ca14.a00a0220.1bd0ca.0031.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6b0ce12e.8ccee5ca.1045fd.02b2.GAE@google.com> Subject: Re: [syzbot] [block?] general protection fault in lo_rw_aio From: syzbot To: akpm@linux-foundation.org, axboe@kernel.dk, bigeasy@linutronix.de, brauner@kernel.org, bvanassche@acm.org, clrkwllms@kernel.org, cui.tao@linux.dev, eadavis@qq.com, hch@lst.de, hdanton@sina.com, jfs-discussion@lists.sourceforge.net, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev, penguin-kernel@i-love.sakura.ne.jp, rostedt@goodmis.org, shaggy@kernel.org, stable@vger.kernel.org, syzkaller-bugs@googlegroups.com, tom.leiming@gmail.com, viro@zeniv.linux.org.uk, zenghongling@kylinos.cn Content-Type: text/plain; charset="UTF-8" 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: 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 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