From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f77.google.com (mail-ot1-f77.google.com [209.85.210.77]) (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 EF4803101A2 for ; Wed, 10 Dec 2025 16:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.77 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765384654; cv=none; b=AFYuo8Vlb0nqPY0u0dvjUOuRIQ3WP5QAeTrAuPmEvGrfokeYWDSw7iVJozoqQoQugane2FDRdEJqz57IslvCUVLH/EBt13XHg0VQoH1p+g0d2GMYyLGt+4N/iVkFoUFva41FuJF+xTDWM9/GqCUMYgZRkCF+UBshpmrvnfVa3X4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765384654; c=relaxed/simple; bh=Rk9sBdSvg6N97zSdPgALvGUyf6qbsHdRkqR11B0puYc=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=NH30dgn1xjpA0+DOgtLhR5+oFYdeEiICxbMm/fU1lj0XLhDl4YTiDIrtdCxynjbUvPqBUejnDzNpk/xs7ewB8dGWNGgQ4a4qpIdrkZEZr+ySkr7dX9BeVsCkGSAMpJ4tzJ8lAi3luOWxMlqyZyF4KFMvoq7gwcBfgIEDUQEbFxA= 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.210.77 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-ot1-f77.google.com with SMTP id 46e09a7af769-7cad1393ec8so149321a34.0 for ; Wed, 10 Dec 2025 08:37:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765384651; x=1765989451; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g7hXqoKElXPIlGm9wYo2XIAf5mSImCl4fUnl1rQBAIk=; b=N+b4qVfieOrqqAJ5PBlnm57HURu/U17tB6f5xk7x21iHGCkcOTf5IdqIj3/XNU4G6f 0YeE3Kkz2sys4EBCW+IeMLVUsEb88lSj3Sx9Nw3OG442YtAM51PALx5Uw4v+GIi9ITej AcZK7Py213BS8wSX29MPDPqzLGK3rhI87nB5C2LjuBeWMSYsyWL8t80YdLQbPxr1iMtA CYISWEWBCtrQ0XBn3hdeV1LwpMoXZ1dNic8b/ael2BjDafLxWwelKMmz03GovL5v2mnP 2exmBa/ygq0+xTEXaW7vxRD5LygkSao2Uh09I1q/dUIhIOdJ1tjITju6aaRsn6+pWagz RrFg== X-Forwarded-Encrypted: i=1; AJvYcCXqR0a2H7QK9vsXDOuv3z3h3ndL7TwJqZHipH63HyHph21wJL4My2Q/+GYdlN44dNHuQoykqOdGf96LaQM=@vger.kernel.org X-Gm-Message-State: AOJu0Yz9LnLLak21QFMxbIcAMA0H9yo3fpTDdA2CDJpPvp1RLCduSkEv pGoWmyWZL7Qm9yfzp504KYkjfJePo2/5IuJmHE0nZS46DDFtecrTJYyj/RcQYB4FGyKk1y6Y8R2 KqVk+jmhkfAHBx7suLoig0PI/FgQBXND6hBmRPTZ1Zd2MryWxGLEynJ+jO/4= X-Google-Smtp-Source: AGHT+IGSwfl6Zk8SsDW79Lw+tzynVmytE91Iy6ARJ0zgjgBSYvbjzEHIzC9jwC0PS6Wwi4dB07xlPQCecRQH33yXOY+a+XlzIJ26 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:2216:b0:659:9a49:8f7c with SMTP id 006d021491bc7-65b2acd4bcemr1816980eaf.65.1765384651051; Wed, 10 Dec 2025 08:37:31 -0800 (PST) Date: Wed, 10 Dec 2025 08:37:31 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6939a1cb.a70a0220.33cd7b.0013.GAE@google.com> Subject: [syzbot] [kernfs?] general protection fault in simple_xattrs_free From: syzbot To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tj@kernel.org Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c9b47175e913 Merge tag 'i2c-for-6.19-rc1' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15d6b992580000 kernel config: https://syzkaller.appspot.com/x/.config?x=73d2ed7b46aaccf3 dashboard link: https://syzkaller.appspot.com/bug?extid=6aaf7f48ae034ab0ea97 compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/2734f5f5b7ce/disk-c9b47175.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/1c3a22149cb4/vmlinux-c9b47175.xz kernel image: https://storage.googleapis.com/syzbot-assets/31b27436ea99/bzImage-c9b47175.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6aaf7f48ae034ab0ea97@syzkaller.appspotmail.com Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 0 UID: 0 PID: 6570 Comm: syz.0.148 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:rb_first include/linux/rbtree.h:54 [inline] RIP: 0010:simple_xattrs_free+0x60/0x1e0 fs/xattr.c:1564 Code: ea 03 80 3c 02 00 0f 85 8b 01 00 00 49 c7 45 00 00 00 00 00 e8 e1 a5 75 ff 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 56 01 00 00 48 bd 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffffc9000f70fae0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88807c948f00 RCX: ffffc9000d3d9000 RDX: 0000000000000007 RSI: ffffffff82493e8f RDI: 0000000000000038 RBP: ffff88807c948f98 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffffffea R11: ffffffff82287bd4 R12: 1ffff92001ee1f6b R13: 0000000000000000 R14: ffff88814d735560 R15: 0000000000000038 FS: 00007f999b1626c0(0000) GS:ffff8881248fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3aa75e CR3: 0000000021fa5000 CR4: 00000000003526f0 Call Trace: __kernfs_new_node+0x7b4/0x990 fs/kernfs/dir.c:684 kernfs_new_node+0x13c/0x1e0 fs/kernfs/dir.c:716 kernfs_create_dir_ns+0x4c/0x1a0 fs/kernfs/dir.c:1086 cgroup_create kernel/cgroup/cgroup.c:5859 [inline] cgroup_mkdir+0x40f/0x12e0 kernel/cgroup/cgroup.c:6007 kernfs_iop_mkdir+0x111/0x190 fs/kernfs/dir.c:1271 vfs_mkdir+0x731/0xb60 fs/namei.c:5130 do_mkdirat+0x442/0x5e0 fs/namei.c:5164 __do_sys_mkdir fs/namei.c:5191 [inline] __se_sys_mkdir fs/namei.c:5189 [inline] __x64_sys_mkdir+0xef/0x140 fs/namei.c:5189 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f999a38f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f999b162038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f999a5e6090 RCX: 00007f999a38f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007f999a413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f999a5e6128 R14: 00007f999a5e6090 R15: 00007ffeab19e7e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rb_first include/linux/rbtree.h:54 [inline] RIP: 0010:simple_xattrs_free+0x60/0x1e0 fs/xattr.c:1564 Code: ea 03 80 3c 02 00 0f 85 8b 01 00 00 49 c7 45 00 00 00 00 00 e8 e1 a5 75 ff 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 56 01 00 00 48 bd 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffffc9000f70fae0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88807c948f00 RCX: ffffc9000d3d9000 RDX: 0000000000000007 RSI: ffffffff82493e8f RDI: 0000000000000038 RBP: ffff88807c948f98 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffffffea R11: ffffffff82287bd4 R12: 1ffff92001ee1f6b R13: 0000000000000000 R14: ffff88814d735560 R15: 0000000000000038 FS: 00007f999b1626c0(0000) GS:ffff8881249fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f631dbb7198 CR3: 0000000021fa5000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 03 80 3c 02 00 0f add 0xf00023c(%rax),%eax 6: 85 8b 01 00 00 49 test %ecx,0x49000001(%rbx) c: c7 45 00 00 00 00 00 movl $0x0,0x0(%rbp) 13: e8 e1 a5 75 ff call 0xff75a5f9 18: 4c 89 fa mov %r15,%rdx 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 56 01 00 00 jne 0x189 33: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp 3a: fc ff df 3d: 49 rex.WB 3e: 8b .byte 0x8b --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup