general protection fault in acpi_fan_probe

Status: upstream: reported C repro on 2026/08/17 08:20
Reported-by: syzbot+36752dd09e1c852fd2e3@syzkaller.appspotmail.com
First crash: 3d01h, last: 2d17h
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 1d19h 2d12h 0/3 upstream: reported C repro on 2026/08/17 20:18
linux-6.6 general protection fault in acpi_fan_probe 2 syz, C 5 1d22h 2d10h 0/2 upstream: reported C repro on 2026/08/17 21:34
linux-6.1 general protection fault in acpi_fan_probe 2 syz, C 3 20h40m 2d09h 0/3 upstream: reported C repro on 2026/08/17 22:50

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000051: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000288-0x000000000000028f]
CPU: 0 PID: 297 Comm: syz-executor317 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:acpi_fan_probe+0x10e/0x1030 drivers/acpi/fan.c:387
Code: 84 fc 04 00 00 49 89 c6 4c 89 64 24 30 4c 89 7c 24 48 4c 8d bb 88 02 00 00 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 04 00 74 08 4c 89 ff e8 33 d2 20 ff 4c 89 7c 24 20 4d 89
RSP: 0018:ffffc90000af7820 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000a02 RDI: 00000000ffffffff
RBP: ffffc90000af79e0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200015eee4 R12: 0000000000000051
R13: 1ffff9200015ef14 R14: ffff88810ae30e18 R15: 0000000000000288
FS:  000055559132d3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000004 CR3: 000000010ae31000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 platform_drv_probe+0x11b/0x1a0 drivers/base/platform.c:761
 really_probe+0x3bf/0xa60 drivers/base/dd.c:562
 driver_probe_device+0xe1/0x190 drivers/base/dd.c:752
 device_driver_attach+0x17a/0x280 drivers/base/dd.c:1035
 bind_store+0x369/0x3c0 drivers/base/bus.c:216
 drv_attr_store+0x79/0xa0 drivers/base/bus.c:77
 sysfs_kf_write+0x129/0x150 fs/sysfs/file.c:143
 kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2066 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0x770/0xd70 fs/read_write.c:605
 ksys_write+0x14a/0x260 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:667
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f0e0512ecf9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff4f817c18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000200000000000 RCX: 00007f0e0512ecf9
RDX: 0000000000000007 RSI: 0000200000000800 RDI: 0000000000000004
RBP: 0000000000000001 R08: 00007fff4f817d48 R09: 00007fff4f817d48
R10: 00007fff4f817d48 R11: 0000000000000246 R12: 00007fff4f817d38
R13: 0000000000000002 R14: 00007f0e051bfca0 R15: 0000000000000002
Modules linked in:
---[ end trace 90d3ade917a18d8a ]---
RIP: 0010:acpi_fan_probe+0x10e/0x1030 drivers/acpi/fan.c:387
Code: 84 fc 04 00 00 49 89 c6 4c 89 64 24 30 4c 89 7c 24 48 4c 8d bb 88 02 00 00 4d 89 fc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 04 00 74 08 4c 89 ff e8 33 d2 20 ff 4c 89 7c 24 20 4d 89
RSP: 0018:ffffc90000af7820 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000a02 RDI: 00000000ffffffff
RBP: ffffc90000af79e0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200015eee4 R12: 0000000000000051
R13: 1ffff9200015ef14 R14: ffff88810ae30e18 R15: 0000000000000288
FS:  000055559132d3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000004 CR3: 000000010ae31000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 3 bytes skipped:
   0:	00 00                	add    %al,(%rax)
   2:	49 89 c6             	mov    %rax,%r14
   5:	4c 89 64 24 30       	mov    %r12,0x30(%rsp)
   a:	4c 89 7c 24 48       	mov    %r15,0x48(%rsp)
   f:	4c 8d bb 88 02 00 00 	lea    0x288(%rbx),%r15
  16:	4d 89 fc             	mov    %r15,%r12
  19:	49 c1 ec 03          	shr    $0x3,%r12
  1d:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  24:	fc ff df
* 27:	41 80 3c 04 00       	cmpb   $0x0,(%r12,%rax,1) <-- trapping instruction
  2c:	74 08                	je     0x36
  2e:	4c 89 ff             	mov    %r15,%rdi
  31:	e8 33 d2 20 ff       	call   0xff20d269
  36:	4c 89 7c 24 20       	mov    %r15,0x20(%rsp)
  3b:	4d                   	rex.WRB
  3c:	89                   	.byte 0x89

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/17 10:27 android13-5.10-lts e334a66065d3 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 09:48 android13-5.10-lts e334a66065d3 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 09:02 android13-5.10-lts e334a66065d3 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 08:13 android13-5.10-lts e334a66065d3 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 14:51 android13-5.10-lts e334a66065d3 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 14:51 android13-5.10-lts e334a66065d3 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 07:25 android13-5.10-lts e334a66065d3 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 07:24 android13-5.10-lts e334a66065d3 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
2026/08/17 07:24 android13-5.10-lts e334a66065d3 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in acpi_fan_probe
* Struck through repros no longer work on HEAD.