general protection fault in acpi_fan_probe

Status: upstream: reported C repro on 2026/08/17 21:34
Reported-by: syzbot+3fb7a837c3ab8be764a9@syzkaller.appspotmail.com
First crash: 2d05h, last: 1d17h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in acpi_fan_probe 2 syz, C 3 1d14h 2d07h 0/3 upstream: reported C repro on 2026/08/17 20:18
android-5-10 general protection fault in acpi_fan_probe 2 syz, C 9 2d12h 2d19h 0/2 upstream: reported C repro on 2026/08/17 08:20
linux-6.1 general protection fault in acpi_fan_probe 2 syz, C 3 15h34m 2d04h 0/3 upstream: reported C repro on 2026/08/17 22:50

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000004b: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000258-0x000000000000025f]
CPU: 0 PID: 5934 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:acpi_fan_probe+0x116/0xef0 drivers/acpi/fan_core.c:327
Code: 00 4c 89 ff ba c0 0d 00 00 e8 b6 99 c1 00 48 85 c0 0f 84 3e 04 00 00 4c 89 7c 24 68 4c 8d bb 58 02 00 00 4d 89 fe 49 c1 ee 03 <43> 80 3c 2e 00 48 89 44 24 18 74 0d 4c 89 ff e8 86 f7 4f fd 48 8b
RSP: 0018:ffffc900032e7940 EFLAGS: 00010206
RAX: ffff88807d66a328 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff8acacbe0 RDI: 00000000ffffffff
RBP: ffffc900032e7b40 R08: ffffffff911ed5b7 R09: 1ffffffff223dab6
R10: dffffc0000000000 R11: fffffbfff223dab7 R12: ffff888018aac000
R13: dffffc0000000000 R14: 000000000000004b R15: 0000000000000258
FS:  0000555573d5c500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f92aa670000 CR3: 0000000076c0b000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 platform_probe+0x13b/0x1c0 drivers/base/platform.c:1376
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x247/0xae0 drivers/base/dd.c:717
 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879
 device_driver_attach+0xe0/0x1d0 drivers/base/dd.c:1206
 bind_store+0x1cc/0x210 drivers/base/bus.c:267
 kernfs_fop_write_iter+0x3a4/0x520 fs/kernfs/file.c:352
 call_write_iter include/linux/fs.h:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x474/0x9a0 fs/read_write.c:584
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f92aa79e0d9
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:00007fff48240e98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f92aaa25fa0 RCX: 00007f92aa79e0d9
RDX: 0000000000000006 RSI: 0000200000000400 RDI: 0000000000000004
RBP: 00007f92aa835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f92aaa25fac R14: 00007f92aaa25fa0 R15: 00007f92aaa25fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:acpi_fan_probe+0x116/0xef0 drivers/acpi/fan_core.c:327
Code: 00 4c 89 ff ba c0 0d 00 00 e8 b6 99 c1 00 48 85 c0 0f 84 3e 04 00 00 4c 89 7c 24 68 4c 8d bb 58 02 00 00 4d 89 fe 49 c1 ee 03 <43> 80 3c 2e 00 48 89 44 24 18 74 0d 4c 89 ff e8 86 f7 4f fd 48 8b
RSP: 0018:ffffc900032e7940 EFLAGS: 00010206
RAX: ffff88807d66a328 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff8acacbe0 RDI: 00000000ffffffff
RBP: ffffc900032e7b40 R08: ffffffff911ed5b7 R09: 1ffffffff223dab6
R10: dffffc0000000000 R11: fffffbfff223dab7 R12: ffff888018aac000
R13: dffffc0000000000 R14: 000000000000004b R15: 0000000000000258
FS:  0000555573d5c500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f92aa670000 CR3: 0000000076c0b000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
   0:	00 4c 89 ff          	add    %cl,-0x1(%rcx,%rcx,4)
   4:	ba c0 0d 00 00       	mov    $0xdc0,%edx
   9:	e8 b6 99 c1 00       	call   0xc199c4
   e:	48 85 c0             	test   %rax,%rax
  11:	0f 84 3e 04 00 00    	je     0x455
  17:	4c 89 7c 24 68       	mov    %r15,0x68(%rsp)
  1c:	4c 8d bb 58 02 00 00 	lea    0x258(%rbx),%r15
  23:	4d 89 fe             	mov    %r15,%r14
  26:	49 c1 ee 03          	shr    $0x3,%r14
* 2a:	43 80 3c 2e 00       	cmpb   $0x0,(%r14,%r13,1) <-- trapping instruction
  2f:	48 89 44 24 18       	mov    %rax,0x18(%rsp)
  34:	74 0d                	je     0x43
  36:	4c 89 ff             	mov    %r15,%rdi
  39:	e8 86 f7 4f fd       	call   0xfd4ff7c4
  3e:	48                   	rex.W
  3f:	8b                   	.byte 0x8b

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/18 10:04 linux-6.6.y d27334b2888c 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in acpi_fan_probe
2026/08/18 09:17 linux-6.6.y d27334b2888c 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in acpi_fan_probe
2026/08/18 08:31 linux-6.6.y d27334b2888c 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in acpi_fan_probe
2026/08/17 21:34 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in acpi_fan_probe
2026/08/17 21:33 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in acpi_fan_probe
* Struck through repros no longer work on HEAD.