Hello,
syzbot found the following issue on:
HEAD commit: 29242a623821 Linux 6.6.131
git tree: linux-6.6.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=174e0e06580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c5b35c4db8465904
dashboard link:
https://syzkaller.appspot.com/bug?extid=97587f8ebfb33b4038ee
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/df2635deae8d/disk-29242a62.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/eaef60e8c675/vmlinux-29242a62.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/68e132165bdb/bzImage-29242a62.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+97587f...@syzkaller.appspotmail.com
general protection fault, probably for non-canonical address 0xdffffc0000000031: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000188-0x000000000000018f]
CPU: 0 PID: 5966 Comm: syz.0.193 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__do_sys_flistxattr fs/xattr.c:885 [inline]
RIP: 0010:__se_sys_flistxattr fs/xattr.c:880 [inline]
RIP: 0010:__x64_sys_flistxattr+0xfc/0x190 fs/xattr.c:880
Code: e8 a9 2d 8e ff 85 ed 74 7a e8 f0 29 8e ff 4c 89 e5 4c 8b 24 24 eb 05 e8 e2 29 8e ff 4d 8d af 88 01 00 00 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 a6 60 e6 ff 49 8b 7d 00 48 89 ee 4c
RSP: 0018:ffffc9000487fee0 EFLAGS: 00010202
RAX: 0000000000000031 RBX: dffffc0000000000 RCX: ffff88807d3b5a00
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000ffffffff
RBP: 0000200000000000 R08: ffff88802fa56583 R09: 1ffff11005f4acb0
R10: dffffc0000000000 R11: ffffed1005f4acb1 R12: 0000000000000000
R13: 0000000000000188 R14: 0000000000000000 R15: 0000000000000000
FS: 0000555562939500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa66392ba40 CR3: 000000002df00000 CR4: 00000000003506f0
Call Trace:
<TASK>
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa66399c819
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:00007ffdf02309d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000c4
RAX: ffffffffffffffda RBX: 00007fa663c15fa0 RCX: 00007fa66399c819
RDX: 0000000000000000 RSI: 0000200000000000 RDI: ffffffffffffffff
RBP: 00007fa663a32c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa663c15fac R14: 00007fa663c15fa0 R15: 00007fa663c15fa0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__do_sys_flistxattr fs/xattr.c:885 [inline]
RIP: 0010:__se_sys_flistxattr fs/xattr.c:880 [inline]
RIP: 0010:__x64_sys_flistxattr+0xfc/0x190 fs/xattr.c:880
Code: e8 a9 2d 8e ff 85 ed 74 7a e8 f0 29 8e ff 4c 89 e5 4c 8b 24 24 eb 05 e8 e2 29 8e ff 4d 8d af 88 01 00 00 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 a6 60 e6 ff 49 8b 7d 00 48 89 ee 4c
RSP: 0018:ffffc9000487fee0 EFLAGS: 00010202
RAX: 0000000000000031 RBX: dffffc0000000000 RCX: ffff88807d3b5a00
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000ffffffff
RBP: 0000200000000000 R08: ffff88802fa56583 R09: 1ffff11005f4acb0
R10: dffffc0000000000 R11: ffffed1005f4acb1 R12: 0000000000000000
R13: 0000000000000188 R14: 0000000000000000 R15: 0000000000000000
FS: 0000555562939500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb179a16088 CR3: 000000002df00000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
0: e8 a9 2d 8e ff call 0xff8e2dae
5: 85 ed test %ebp,%ebp
7: 74 7a je 0x83
9: e8 f0 29 8e ff call 0xff8e29fe
e: 4c 89 e5 mov %r12,%rbp
11: 4c 8b 24 24 mov (%rsp),%r12
15: eb 05 jmp 0x1c
17: e8 e2 29 8e ff call 0xff8e29fe
1c: 4d 8d af 88 01 00 00 lea 0x188(%r15),%r13
23: 4c 89 e8 mov %r13,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 ef mov %r13,%rdi
33: e8 a6 60 e6 ff call 0xffe660de
38: 49 8b 7d 00 mov 0x0(%r13),%rdi
3c: 48 89 ee mov %rbp,%rsi
3f: 4c rex.WR
---
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
syzk...@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