general protection fault in tracing_release_file_tr

Status: premoderation: reported on 2026/08/03 03:11
Reported-by: syzbot+4e792a64f415ff18f366@syzkaller.appspotmail.com
First crash: 111d, last: 16h30m
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in tracing_release_file_tr origin:downstream 2 syz, C 102 14h47m 111d 0/2 upstream: reported C repro on 2026/08/03 03:48

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 1 PID: 1311 Comm: syz.3.193 Tainted: G        W         syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:tracing_release_file_tr+0x48/0x100 kernel/trace/trace.c:4499
Code: 81 c3 a8 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 f6 34 37 00 48 8b 1b 48 83 c3 28 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 d9 34 37 00 48 8b 1b 48 85 db 74
RSP: 0018:ffffc900015dfdd8 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000028 RCX: ffff888128d72800
RDX: 0000000000000000 RSI: ffff88811d9ffb00 RDI: ffff888139c71d40
RBP: ffffc900015dfdf8 R08: ffffc900015dfd6f R09: ffffc900015dfd40
R10: dffffc0000000000 R11: fffff520002bbfae R12: ffff88811d9ffb00
R13: ffff888139c71d40 R14: 1ffff11023b3ff65 R15: dffffc0000000000
FS:  0000555588a6b500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000011cbef000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __fput+0x2dc/0x730 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x127/0x190 kernel/task_work.c:189
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop+0xcb/0xe0 kernel/entry/common.c:175
 exit_to_user_mode_prepare+0x76/0xa0 kernel/entry/common.c:202
 syscall_exit_to_user_mode+0x1d/0x40 kernel/entry/common.c:277
 do_syscall_64+0x3d/0x40 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fd9c4774559
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:00007ffe0dde5938 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffe0dde5a20 RCX: 00007fd9c4774559
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 000000000000c416 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2d820000 R11: 0000000000000246 R12: 00007ffe0dde5a60
R13: 00007fd9c49f0fac R14: 000000000000ca19 R15: 00007fd9c49f0fa0
Modules linked in:
---[ end trace ecafa548decfc562 ]---
RIP: 0010:tracing_release_file_tr+0x48/0x100 kernel/trace/trace.c:4499
Code: 81 c3 a8 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 f6 34 37 00 48 8b 1b 48 83 c3 28 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 d9 34 37 00 48 8b 1b 48 85 db 74
RSP: 0018:ffffc900015dfdd8 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000028 RCX: ffff888128d72800
RDX: 0000000000000000 RSI: ffff88811d9ffb00 RDI: ffff888139c71d40
RBP: ffffc900015dfdf8 R08: ffffc900015dfd6f R09: ffffc900015dfd40
R10: dffffc0000000000 R11: fffff520002bbfae R12: ffff88811d9ffb00
R13: ffff888139c71d40 R14: 1ffff11023b3ff65 R15: dffffc0000000000
FS:  0000555588a6b500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f55164742f8 CR3: 000000011cbef000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	81 c3 a8 02 00 00    	add    $0x2a8,%ebx
   6:	48 89 d8             	mov    %rbx,%rax
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1)
  12:	74 08                	je     0x1c
  14:	48 89 df             	mov    %rbx,%rdi
  17:	e8 f6 34 37 00       	call   0x373512
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 28          	add    $0x28,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 d9 34 37 00       	call   0x373512
  39:	48 8b 1b             	mov    (%rbx),%rbx
  3c:	48 85 db             	test   %rbx,%rbx
  3f:	74                   	.byte 0x74

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/22 02:49 android13-5.10-lts cff3ede94a35 b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/11/16 04:51 android13-5.10-lts c73351b2e985 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/09/24 05:45 android13-5.10-lts 452567d1985b 0281b448 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/09/24 05:44 android13-5.10-lts 452567d1985b 0281b448 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/09/16 02:46 android13-5.10-lts 452567d1985b 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/09/10 19:55 android13-5.10-lts 452567d1985b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/09/06 21:19 android13-5.10-lts 452567d1985b 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/08/23 18:35 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/08/03 03:11 android13-5.10-lts 50b3a256e550 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
2026/08/03 03:10 android13-5.10-lts 50b3a256e550 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in tracing_release_file_tr
* Struck through repros no longer work on HEAD.