From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65D4C33F5AA for ; Tue, 17 Mar 2026 06:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773729785; cv=none; b=KULnZ3OZW3H8TCSe42vKuVKHmWoHYoY0RI5noBCAoJCJEwsJzKNzcDl7GP5/xzK4hD29fLIFkayHGFBx69CnQy2XsfUF9JRvTmQu8u2Y975ZOjoAWIjaPchYniykNIaBXs3ZJEhaedLQvyqSJ/J0qcGA/UO65PWCDYWcIF2w+A4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773729785; c=relaxed/simple; bh=LGoDZuc0+HQPd9nJHa2w1Vs0ATiQVNN6K6ON5vW76lM=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=nuXuDoqxy/kaIMMQO3fxLfbvVP7davYP/ZIuqpGEF/OneZKegon90/Ncl5McYwfs3DAD4TxVYOOpd36wUYy4tqOYtXuKKnNgQcLFzqgovW22pR1SxkvRZT8GPEbbVvJmk/IitXJFgB49H9LmIPMt5pf5JnRD6J20GAUP2iXoOZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.72 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-oo1-f72.google.com with SMTP id 006d021491bc7-67bcaf9a123so93949647eaf.0 for ; Mon, 16 Mar 2026 23:43:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773729782; x=1774334582; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e3rkZmO9IpC8uMD09HGvq0egiUW6U2gazYGMpMPb4vM=; b=hNs7R1xWbN0Oj9RkZZPrXDbxOQi6Nxf1kklUB1hLJjEEbH1WbvpxHwjoUHApG9N6ss PVTNfh3n5KVhFi4d2v0z+kCXk8XDUWk2UPeFL++/o5tBr1M3acNVeN4BMlCedfRnn2pp pwAB38CQORoJ0+bgqi7KIlRSjgK05IbiqCw1uRlpSo8QVstzTIZxUosWuKe4YMmI4Kek 3vX55OL5uLKA1bkgXKettEb5c02cFk1siAmw7WIMjgoB+4x343zodoQ+RSj5M/KpC+cV P35i1rCWG+5o9D6rAki4JiVUoezxokU6Ck0N17/ZBt43DWC9tguJo01eevzXYieEn3Qa mq8g== X-Forwarded-Encrypted: i=1; AJvYcCUx23XRxApAwwKPRanoy+rY5iUpbM4G22DVXqHJJyHqCyBd09tTXZjzQFR9PH8aY1v7J0fDwXw2ghms6Xo=@vger.kernel.org X-Gm-Message-State: AOJu0Yzz0IqJ2vKs4pJ2yWDdfxRp6tJmRuegWgnEWiGKa1VVFJ1lUKZx XR36aFYWsHiZ/ApLAryvy0guDpoLq0c2/UE2FGJLUy8G0+MqKHjqOdgW1Scw7iyKnBH0ccqcIbR SFF0yILCULFV4AHkaAJAU3BQTsnNEr9y76dZ1MMP/eBsLJoEXA32fNHloiFI= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:4a11:b0:67b:baae:333f with SMTP id 006d021491bc7-67bdaa31f22mr7736451eaf.39.1773729782424; Mon, 16 Mar 2026 23:43:02 -0700 (PDT) Date: Mon, 16 Mar 2026 23:43:02 -0700 In-Reply-To: <20260317062513.612142-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69b8f7f6.050a0220.248e02.0126.GAE@google.com> Subject: Re: [syzbot] [nilfs?] general protection fault in nilfs_mdt_save_to_shadow_map From: syzbot To: kartikey406@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: general protection fault in nilfs_mdt_save_to_shadow_map NILFS (loop0): invalid segment: Checksum error in segment payload NILFS (loop0): trying rollback from an earlier position NILFS DEBUG: s_inode=ffff888073b0bf30 I_NEW=1 i_assoc=0000000000000000 NILFS (loop0): recovery complete Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 UID: 0 PID: 6570 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:nilfs_mdt_save_to_shadow_map+0x141/0x1c0 fs/nilfs2/mdt.c:559 Code: 3f 4c 8d 63 d8 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 de c8 82 fe 4d 8b 24 24 49 83 c4 30 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 c0 c8 82 fe 49 8b 34 24 4c 89 ff RSP: 0018:ffffc90003567708 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff888073b0c560 RCX: 0000000000000000 RDX: ffff888079f78000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff888079f78000 R09: 0000000000000003 R10: 0000000000000406 R11: 0000000000000000 R12: 0000000000000030 R13: dffffc0000000000 R14: ffff88807d17c538 R15: ffff888073b0bb18 FS: 00007f607df766c0(0000) GS:ffff888125537000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31a63fff CR3: 000000006ae06000 CR4: 00000000003526f0 Call Trace: nilfs_clean_segments+0x162/0xa50 fs/nilfs2/segment.c:2521 nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:916 [inline] nilfs_ioctl+0x261f/0x2780 fs/nilfs2/ioctl.c:1346 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f607d19c799 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f607df76028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f607d415fa0 RCX: 00007f607d19c799 RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000004 RBP: 00007f607d232c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f607d416038 R14: 00007f607d415fa0 R15: 00007ffce886a6e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_mdt_save_to_shadow_map+0x141/0x1c0 fs/nilfs2/mdt.c:559 Code: 3f 4c 8d 63 d8 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 de c8 82 fe 4d 8b 24 24 49 83 c4 30 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 c0 c8 82 fe 49 8b 34 24 4c 89 ff RSP: 0018:ffffc90003567708 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff888073b0c560 RCX: 0000000000000000 RDX: ffff888079f78000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff888079f78000 R09: 0000000000000003 R10: 0000000000000406 R11: 0000000000000000 R12: 0000000000000030 R13: dffffc0000000000 R14: ffff88807d17c538 R15: ffff888073b0bb18 FS: 00007f607df766c0(0000) GS:ffff888125537000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f607d1e9e80 CR3: 000000006ae06000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 4c 8d 63 d8 lea -0x28(%rbx),%r12 4: 4c 89 e0 mov %r12,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 10: 74 08 je 0x1a 12: 4c 89 e7 mov %r12,%rdi 15: e8 de c8 82 fe call 0xfe82c8f8 1a: 4d 8b 24 24 mov (%r12),%r12 1e: 49 83 c4 30 add $0x30,%r12 22: 4c 89 e0 mov %r12,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 c0 c8 82 fe call 0xfe82c8f8 38: 49 8b 34 24 mov (%r12),%rsi 3c: 4c 89 ff mov %r15,%rdi Tested on: commit: 95c541dd Add linux-next specific files for 20260316 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1134a8da580000 kernel config: https://syzkaller.appspot.com/x/.config?x=ed431987028345c6 dashboard link: https://syzkaller.appspot.com/bug?extid=4b4093b1f24ad789bf37 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 patch: https://syzkaller.appspot.com/x/patch.diff?x=14b778da580000