syzbot


general protection fault in delayed_work_timer_fn (3)

Status: premoderation: reported on 2026/01/08 09:42
Reported-by: syzbot+1ccf5081edc43f84fd26@syzkaller.appspotmail.com
First crash: 26d, last: 3d03h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in delayed_work_timer_fn (2) 2 2 173d 174d 0/2 auto-obsoleted due to no activity on 2025/11/12 09:01
android-6-1 general protection fault in delayed_work_timer_fn 2 2 286d 350d 0/2 auto-obsoleted due to no activity on 2025/07/22 08:41
android-5-15 KASAN: use-after-free Read in delayed_work_timer_fn 19 1 677d 677d 0/2 auto-obsoleted due to no activity on 2024/06/26 06:44

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 27290 Comm: syz.4.9062 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__queue_work+0x575/0xd30 kernel/workqueue.c:-1
Code: 39 2b 0f 84 b9 00 00 00 e8 18 47 29 00 4c 89 ff e8 10 31 b8 03 49 bc 00 00 00 00 00 fc ff df 4c 8b 6d d0 4c 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ef e8 cc 74 6e 00 49 8b 7d 00 e8 a3 2c
RSP: 0018:ffffc900001b0c70 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 000000007fffffff RCX: ffff888118543cc0
RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff
RBP: ffffc900001b0d08 R08: 0000000000000007 R09: fffffffffffffffb
R10: dffffc0000000000 R11: ffffed1022492939 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff8881124949c8 R15: 0000000000000008
FS:  00007f271843e6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa92ade8600 CR3: 000000012c01e000 CR4: 00000000003506a0
Call Trace:
 <IRQ>
 delayed_work_timer_fn+0x61/0x80 kernel/workqueue.c:1653
 call_timer_fn+0x46/0x2a0 kernel/time/timer.c:1553
 expire_timers kernel/time/timer.c:1599 [inline]
 __run_timers+0x689/0x9f0 kernel/time/timer.c:1875
 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1888
 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
 __do_softirq kernel/softirq.c:680 [inline]
 invoke_softirq kernel/softirq.c:497 [inline]
 __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:50
Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 90 90 90 90 90 90 90 b9 00 10 00 00 31 c0 <f3> aa c3 90 90 90 90 90 90 89 c8 48 c1 e9 03 74 18 0f 1f 84 00 00
RSP: 0018:ffffc90001e47160 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000540
RDX: ffff888134562000 RSI: 0000000000000001 RDI: ffff888134562ac0
RBP: ffffc90001e471a0 R08: ffffea0004d158b7 R09: ffffed10268ac400
R10: dffffc0000000000 R11: fffff940009a2b17 R12: ffffea0004d158b4
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
 prep_new_page+0x1c/0x110 mm/page_alloc.c:2650
 get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4554
 __alloc_pages+0x1d9/0x480 mm/page_alloc.c:5868
 __folio_alloc+0x12/0x40 mm/page_alloc.c:5900
 __folio_alloc_node include/linux/gfp.h:245 [inline]
 folio_alloc include/linux/gfp.h:274 [inline]
 shmem_alloc_folio mm/shmem.c:1601 [inline]
 shmem_alloc_and_acct_folio+0x6dd/0x8c0 mm/shmem.c:1626
 shmem_get_folio_gfp+0x119f/0x2230 mm/shmem.c:1955
 shmem_get_folio mm/shmem.c:2086 [inline]
 shmem_write_begin+0xea/0x2c0 mm/shmem.c:2571
 generic_perform_write+0x32d/0x740 mm/filemap.c:3903
 __generic_file_write_iter+0x17a/0x230 mm/filemap.c:4002
 generic_file_write_iter+0xae/0x310 mm/filemap.c:4031
 call_write_iter include/linux/fs.h:2282 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x603/0xce0 fs/read_write.c:584
 ksys_write+0x149/0x250 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f271755b78e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f271843dda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f271843e6c0 RCX: 00007f271755b78e
RDX: 0000000004000000 RSI: 00007f270dbf8000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007f271843dee0 R14: 00007f271843dea0 R15: 00007f270dbf8000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__queue_work+0x575/0xd30 kernel/workqueue.c:-1
Code: 39 2b 0f 84 b9 00 00 00 e8 18 47 29 00 4c 89 ff e8 10 31 b8 03 49 bc 00 00 00 00 00 fc ff df 4c 8b 6d d0 4c 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ef e8 cc 74 6e 00 49 8b 7d 00 e8 a3 2c
RSP: 0018:ffffc900001b0c70 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 000000007fffffff RCX: ffff888118543cc0
RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff
RBP: ffffc900001b0d08 R08: 0000000000000007 R09: fffffffffffffffb
R10: dffffc0000000000 R11: ffffed1022492939 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff8881124949c8 R15: 0000000000000008
FS:  00007f271843e6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa92ade8600 CR3: 000000012c01e000 CR4: 00000000003506a0
----------------
Code disassembly (best guess):
   0:	39 2b                	cmp    %ebp,(%rbx)
   2:	0f 84 b9 00 00 00    	je     0xc1
   8:	e8 18 47 29 00       	call   0x294725
   d:	4c 89 ff             	mov    %r15,%rdi
  10:	e8 10 31 b8 03       	call   0x3b83125
  15:	49 bc 00 00 00 00 00 	movabs $0xdffffc0000000000,%r12
  1c:	fc ff df
  1f:	4c 8b 6d d0          	mov    -0x30(%rbp),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 cc 74 6e 00       	call   0x6e7505
  39:	49 8b 7d 00          	mov    0x0(%r13),%rdi
  3d:	e8                   	.byte 0xe8
  3e:	a3                   	.byte 0xa3
  3f:	2c                   	.byte 0x2c

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/31 16:10 android14-6.1 defbecba6f63 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in delayed_work_timer_fn
2026/01/08 09:41 android14-6.1 524f9ed7e312 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in delayed_work_timer_fn
* Struck through repros no longer work on HEAD.