syzbot


linux-6.6.y test error: general protection fault in sys_flistxattr

Status: upstream: reported on 2026/04/02 11:53
Reported-by: syzbot+97587f8ebfb33b4038ee@syzkaller.appspotmail.com
First crash: 34d, last: 34d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000031: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000188-0x000000000000018f]
CPU: 1 PID: 6160 Comm: syz.1.384 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:ffffc90004b9fee0 EFLAGS: 00010202
RAX: 0000000000000031 RBX: dffffc0000000000 RCX: ffff88802afa9e00
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000ffffffff
RBP: 0000200000000000 R08: ffff888023a392c3 R09: 1ffff11004747258
R10: dffffc0000000000 R11: ffffed1004747259 R12: 0000000000000000
R13: 0000000000000188 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555573b6c500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8479f2ba40 CR3: 000000003077a000 CR4: 00000000003506e0
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:0x7f8479f9c819
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:00007ffedc506d68 EFLAGS: 00000246 ORIG_RAX: 00000000000000c4
RAX: ffffffffffffffda RBX: 00007f847a215fa0 RCX: 00007f8479f9c819
RDX: 0000000000000000 RSI: 0000200000000000 RDI: ffffffffffffffff
RBP: 00007f847a032c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f847a215fac R14: 00007f847a215fa0 R15: 00007f847a215fa0
 </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:ffffc90004b9fee0 EFLAGS: 00010202
RAX: 0000000000000031 RBX: dffffc0000000000 RCX: ffff88802afa9e00
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000ffffffff
RBP: 0000200000000000 R08: ffff888023a392c3 R09: 1ffff11004747258
R10: dffffc0000000000 R11: ffffed1004747259 R12: 0000000000000000
R13: 0000000000000188 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555573b6c500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd3ccbf8e50 CR3: 000000003077a000 CR4: 00000000003506e0
----------------
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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/02 12:59 linux-6.6.y 08667c1437c0 91bc79b0 .config console log report [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan linux-6.6.y test error: general protection fault in sys_flistxattr
2026/04/02 11:52 linux-6.6.y 29242a623821 91bc79b0 .config console log report [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan linux-6.6.y test error: general protection fault in sys_flistxattr
* Struck through repros no longer work on HEAD.