general protection fault in acpi_fan_probe

Status: upstream: reported C repro on 2026/08/17 20:18
Reported-by: syzbot+aefba21e195ea9c77a66@syzkaller.appspotmail.com
First crash: 1d02h, last: 9h30m
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in acpi_fan_probe 2 syz, C 9 1d07h 1d14h 0/2 upstream: reported C repro on 2026/08/17 08:20
linux-6.6 general protection fault in acpi_fan_probe 2 syz, C 5 12h40m 1d01h 0/2 upstream: reported C repro on 2026/08/17 21:34
linux-6.1 general protection fault in acpi_fan_probe 2 2 23h54m 23h53m 0/3 upstream: reported on 2026/08/17 22:50

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000050: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000280-0x0000000000000287]
CPU: 0 PID: 4341 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+0x109/0x10b0 drivers/acpi/fan.c:387
Code: 00 48 85 c0 0f 84 1c 05 00 00 48 89 c2 4c 89 7c 24 48 48 8d 8b 80 02 00 00 49 89 cf 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 07 00 48 89 4c 24 28 48 89 54 24 30 74 18 48 8d bb 80 02
RSP: 0018:ffffc9000319f8e0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000280
RDX: ffff888022922628 RSI: ffffffff8a2b2be0 RDI: 00000000ffffffff
RBP: ffffc9000319fa98 R08: ffffffff901ee17f R09: 1ffffffff203dc2f
R10: dffffc0000000000 R11: fffffbfff203dc30 R12: ffff888141b95000
R13: 1ffff92000633f2c R14: fffffffffffffff0 R15: 0000000000000050
FS:  0000555576344500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30d63fff CR3: 0000000024ef8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 platform_probe+0x137/0x1c0 drivers/base/platform.c:1391
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x276/0xc70 drivers/base/dd.c:595
 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:775
 device_driver_attach+0xdc/0x1d0 drivers/base/dd.c:1096
 bind_store+0x33b/0x380 drivers/base/bus.c:216
 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2173 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f3f2e1270d9
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:00007fffc0f76778 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3f2e3aefa0 RCX: 00007f3f2e1270d9
RDX: 0000000000000006 RSI: 0000200000000400 RDI: 0000000000000004
RBP: 00007f3f2e1be024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3f2e3aefac R14: 00007f3f2e3aefa0 R15: 00007f3f2e3aefa0
 </TASK>
Modules linked in:
---[ end trace d027011767af89fe ]---
RIP: 0010:acpi_fan_probe+0x109/0x10b0 drivers/acpi/fan.c:387
Code: 00 48 85 c0 0f 84 1c 05 00 00 48 89 c2 4c 89 7c 24 48 48 8d 8b 80 02 00 00 49 89 cf 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 07 00 48 89 4c 24 28 48 89 54 24 30 74 18 48 8d bb 80 02
RSP: 0018:ffffc9000319f8e0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000280
RDX: ffff888022922628 RSI: ffffffff8a2b2be0 RDI: 00000000ffffffff
RBP: ffffc9000319fa98 R08: ffffffff901ee17f R09: 1ffffffff203dc2f
R10: dffffc0000000000 R11: fffffbfff203dc30 R12: ffff888141b95000
R13: 1ffff92000633f2c R14: fffffffffffffff0 R15: 0000000000000050
FS:  0000555576344500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30d63fff CR3: 0000000024ef8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 48 85             	add    %cl,-0x7b(%rax)
   3:	c0 0f 84             	rorb   $0x84,(%rdi)
   6:	1c 05                	sbb    $0x5,%al
   8:	00 00                	add    %al,(%rax)
   a:	48 89 c2             	mov    %rax,%rdx
   d:	4c 89 7c 24 48       	mov    %r15,0x48(%rsp)
  12:	48 8d 8b 80 02 00 00 	lea    0x280(%rbx),%rcx
  19:	49 89 cf             	mov    %rcx,%r15
  1c:	49 c1 ef 03          	shr    $0x3,%r15
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	41 80 3c 07 00       	cmpb   $0x0,(%r15,%rax,1) <-- trapping instruction
  2f:	48 89 4c 24 28       	mov    %rcx,0x28(%rsp)
  34:	48 89 54 24 30       	mov    %rdx,0x30(%rsp)
  39:	74 18                	je     0x53
  3b:	48                   	rex.W
  3c:	8d                   	.byte 0x8d
  3d:	bb                   	.byte 0xbb
  3e:	80                   	.byte 0x80
  3f:	02                   	.byte 0x2

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/18 13:13 linux-5.15.y aabd761612db 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in acpi_fan_probe
2026/08/17 20:17 linux-5.15.y aabd761612db 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in acpi_fan_probe
2026/08/17 20:17 linux-5.15.y aabd761612db 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in acpi_fan_probe
* Struck through repros no longer work on HEAD.