general protection fault in delayed_work_timer_fn (4)

Status: premoderation: reported on 2026/08/01 01:45
Reported-by: syzbot+19a4622a1ebbb4fd7614@syzkaller.appspotmail.com
First crash: 119d, last: 11d
▶ ▼ Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in delayed_work_timer_fn (3) 2 2 300d 324d 0/2 auto-obsoleted due to no activity on 2026/05/01 16:21
android-6-1 general protection fault in delayed_work_timer_fn (2) 2 2 471d 471d 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 584d 648d 0/2 auto-obsoleted due to no activity on 2025/07/22 08:41
upstream BUG: sleeping function called from invalid context in cancel_delayed_work_sync prio:high usb mmc 19 syz, C 66476 24d 114d 28/30 upstream: reported C repro on 2026/08/05 22:45
android-5-15 KASAN: use-after-free Read in delayed_work_timer_fn 19 1 975d 975d 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: 2720 Comm: syz.0.289 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__queue_work+0x582/0xd50 kernel/workqueue.c:-1
Code: b4 00 00 00 e8 0f 5a 29 00 48 bb 00 00 00 00 00 fc ff df 4c 89 ef e8 2d 0a ba 03 4c 8b 65 d0 4c 8b 6d c0 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 b0 f4 6e 00 49 8b 3e e8 c8 05 ba 03
RSP: 0000:ffffc900001b0c78 EFLAGS: 00010046
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88811d2d5100
RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff
RBP: ffffc900001b0d08 R08: 0000000000000007 R09: 00000000fffffffb
R10: dffffc0000000000 R11: ffffed1023f5b939 R12: ffff88811fadc9c8
R13: ffff88810b3b2800 R14: 0000000000000000 R15: 000000007fffffff
FS:  00007f985f88d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa11386d751 CR3: 0000000120255000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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+0x1dd/0x5f0 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:preempt_schedule_irq+0xa5/0x120 kernel/sched/core.c:7074
Code: 44 24 20 00 02 00 00 43 c6 44 37 04 f8 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 41 da 4b fc fb bf 01 00 00 00 <e8> f6 e2 ff ff fa bf 01 00 00 00 e8 eb db 4b fc 65 48 8b 1d 73 b2
RSP: 0000:ffffc9001253f6e0 EFLAGS: 00000246
RAX: 1ffff11023a5ab79 RBX: ffffc9001253f7b8 RCX: ffffffff87b7d100
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc9001253f768 R08: ffff88811d2d5107 R09: 1ffff11023a5aa20
R10: dffffc0000000000 R11: ffffed1023a5aa21 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920024a7edc
 raw_irqentry_exit_cond_resched+0x29/0x30 kernel/entry/common.c:396
 irqentry_exit+0x37/0x40 kernel/entry/common.c:439
 sysvec_reschedule_ipi+0x78/0x80 arch/x86/kernel/smp.c:244
 asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696
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: 0000:ffffc9001253f860 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000020 RCX: 0000000000000f80
RDX: ffff888119bc5000 RSI: 000000000000001b RDI: ffff888119bc5080
RBP: ffffc9001253f8a0 R08: ffffea000466f037 R09: ffffed1023378000
R10: dffffc0000000000 R11: fffff940008cde07 R12: ffffea000466f034
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000005
 prep_new_page+0x1c/0x110 mm/page_alloc.c:2680
 get_page_from_freelist+0x2ca9/0x2d20 mm/page_alloc.c:4587
 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5931
 __alloc_pages_node include/linux/gfp.h:236 [inline]
 alloc_pages_node include/linux/gfp.h:259 [inline]
 alloc_pages include/linux/gfp.h:270 [inline]
 io_mem_alloc_compound io_uring/io_uring.c:2552 [inline]
 io_pages_map+0xd1/0x5e0 io_uring/io_uring.c:2596
 io_allocate_scq_urings+0x274/0x458 io_uring/io_uring.c:3555
 io_uring_create+0x5ba/0xde1 io_uring/io_uring.c:3695
 io_uring_setup io_uring/io_uring.c:3793 [inline]
 __do_sys_io_uring_setup io_uring/io_uring.c:3799 [inline]
 __se_sys_io_uring_setup io_uring/io_uring.c:3796 [inline]
 __x64_sys_io_uring_setup+0x21b/0x230 io_uring/io_uring.c:3796
 x64_sys_call+0x4ab/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:426
 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:0x7f985e9a94d9
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:00007f985f88cee8 EFLAGS: 00000206 ORIG_RAX: 00000000000001a9
RAX: ffffffffffffffda RBX: 0000200000000808 RCX: 00007f985e9a94d9
RDX: 0000200000000888 RSI: 0000200000000808 RDI: 00000000000003c9
RBP: 0000200000000800 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000890 R11: 0000000000000206 R12: 0000200000000888
R13: 0000200000000890 R14: 00007f985f88cfd8 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__queue_work+0x582/0xd50 kernel/workqueue.c:-1
Code: b4 00 00 00 e8 0f 5a 29 00 48 bb 00 00 00 00 00 fc ff df 4c 89 ef e8 2d 0a ba 03 4c 8b 65 d0 4c 8b 6d c0 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 b0 f4 6e 00 49 8b 3e e8 c8 05 ba 03
RSP: 0000:ffffc900001b0c78 EFLAGS: 00010046
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88811d2d5100
RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff
RBP: ffffc900001b0d08 R08: 0000000000000007 R09: 00000000fffffffb
R10: dffffc0000000000 R11: ffffed1023f5b939 R12: ffff88811fadc9c8
R13: ffff88810b3b2800 R14: 0000000000000000 R15: 000000007fffffff
FS:  00007f985f88d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa11386d751 CR3: 0000000120255000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	b4 00                	mov    $0x0,%ah
   2:	00 00                	add    %al,(%rax)
   4:	e8 0f 5a 29 00       	call   0x295a18
   9:	48 bb 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbx
  10:	fc ff df
  13:	4c 89 ef             	mov    %r13,%rdi
  16:	e8 2d 0a ba 03       	call   0x3ba0a48
  1b:	4c 8b 65 d0          	mov    -0x30(%rbp),%r12
  1f:	4c 8b 6d c0          	mov    -0x40(%rbp),%r13
  23:	4c 89 f0             	mov    %r14,%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 f7             	mov    %r14,%rdi
  33:	e8 b0 f4 6e 00       	call   0x6ef4e8
  38:	49 8b 3e             	mov    (%r14),%rdi
  3b:	e8 c8 05 ba 03       	call   0x3ba0608

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/16 21:03 android14-6.1 c1e1dfc6e051 a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in delayed_work_timer_fn
2026/09/29 03:34 android14-6.1 3d4bd33f0b0b 7bf4ea23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in delayed_work_timer_fn
2026/08/01 01:45 android14-6.1 92668decd5e0 7664cf44 .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.