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: 6d21h, last: 6d21h
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 153d 154d 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 266d 331d 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 658d 658d 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: 0 PID: 8007 Comm: syz.5.2949 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 f8 e2 28 00 4c 89 ff e8 00 46 ad 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 fc 63 6d 00 49 8b 7d 00 e8 e3 41
RSP: 0018:ffffc90000007c70 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 000000007fffffff RCX: ffff8881155dbcc0
RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff
RBP: ffffc90000007d08 R08: fffffffffffffffb R09: 0000000000000007
R10: ffffed1022234139 R11: 1ffff11022234139 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff8881111a09c8 R15: 0000000000000008
FS:  00007f2a429666c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34621ff8 CR3: 000000012bd0b000 CR4: 00000000003526b0
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+0x672/0x9b0 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:ffffc90000a8f080 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000580
RDX: ffff88814bdc9000 RSI: 0000000000000001 RDI: ffff88814bdc9a80
RBP: ffffc90000a8f0c0 R08: dffffc0000000000 R09: ffffed10297b9200
R10: fffff94000a5ee4f R11: 1ffffd4000a5ee4e R12: ffffea00052f7274
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
 prep_new_page+0x1c/0x110 mm/page_alloc.c:2650
 get_page_from_freelist+0x2c7b/0x2cf0 mm/page_alloc.c:4554
 __alloc_pages+0x1c3/0x450 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+0x650/0x870 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+0x2f6/0x6d0 mm/filemap.c:3887
 __generic_file_write_iter+0x227/0x580 mm/filemap.c:4016
 generic_file_write_iter+0xae/0x310 mm/filemap.c:4048
 call_write_iter include/linux/fs.h:2282 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x5db/0xca0 fs/read_write.c:584
 ksys_write+0x140/0x240 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:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2a41b8e1ff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f2a42965df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000004000000 RCX: 00007f2a41b8e1ff
RDX: 0000000004000000 RSI: 00007f2a381f8000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000001060b
R10: 0000200000021502 R11: 0000000000000293 R12: 0000000000000003
R13: 00007f2a42965ef0 R14: 00007f2a42965eb0 R15: 00007f2a381f8000
 </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 f8 e2 28 00 4c 89 ff e8 00 46 ad 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 fc 63 6d 00 49 8b 7d 00 e8 e3 41
RSP: 0018:ffffc90000007c70 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 000000007fffffff RCX: ffff8881155dbcc0
RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff
RBP: ffffc90000007d08 R08: fffffffffffffffb R09: 0000000000000007
R10: ffffed1022234139 R11: 1ffff11022234139 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff8881111a09c8 R15: 0000000000000008
FS:  00007f2a429666c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34621ff8 CR3: 000000012bd0b000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	39 2b                	cmp    %ebp,(%rbx)
   2:	0f 84 b9 00 00 00    	je     0xc1
   8:	e8 f8 e2 28 00       	call   0x28e305
   d:	4c 89 ff             	mov    %r15,%rdi
  10:	e8 00 46 ad 03       	call   0x3ad4615
  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 fc 63 6d 00       	call   0x6d6435
  39:	49 8b 7d 00          	mov    0x0(%r13),%rdi
  3d:	e8                   	.byte 0xe8
  3e:	e3 41                	jrcxz  0x81

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.