syzbot
general protection fault in acpi_fan_probe
Status:
upstream: reported C repro on 2026/08/17 22:50
Reported-by: syzbot+a95b05ec52c4cd3c14b5@syzkaller.appspotmail.com
First crash: 1d17h, last: 4h03m
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: 1 PID: 4430 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+0x112/0xf50 drivers/acpi/fan_core.c:326
Code: 00 4c 89 ff ba c0 0d 00 00 e8 6a 66 b1 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 28 74 0d 4c 89 ff e8 ca a3 6d fd 48 8b
RSP: 0018:ffffc900033f78c0 EFLAGS: 00010206
RAX: ffff888020327628 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff8a8c17a0 RDI: 00000000ffffffff
RBP: ffffc900033f7aa8 R08: ffffffff90b102ef R09: 1ffffffff216205d
R10: dffffc0000000000 R11: fffffbfff216205e R12: ffff8881456cd000
R13: dffffc0000000000 R14: 000000000000004b R15: 0000000000000258
FS: 0000555572ffb500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff350270000 CR3: 0000000028704000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
platform_probe+0x137/0x1c0 drivers/base/platform.c:1400
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x24a/0xb40 drivers/base/dd.c:638
__driver_probe_device+0x1f5/0x390 drivers/base/dd.c:804
device_driver_attach+0xd9/0x1c0 drivers/base/dd.c:1131
bind_store+0x33b/0x380 drivers/base/bus.c:216
kernfs_fop_write_iter+0x3a0/0x520 fs/kernfs/file.c:352
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x482/0x9a0 fs/read_write.c:584
ksys_write+0x14d/0x260 fs/read_write.c:637
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:0x7ff35039e0d9
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:00007fff19821a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff350625fa0 RCX: 00007ff35039e0d9
RDX: 0000000000000007 RSI: 0000200000000400 RDI: 0000000000000004
RBP: 00007ff350435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff350625fac R14: 00007ff350625fa0 R15: 00007ff350625fa0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:acpi_fan_probe+0x112/0xf50 drivers/acpi/fan_core.c:326
Code: 00 4c 89 ff ba c0 0d 00 00 e8 6a 66 b1 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 28 74 0d 4c 89 ff e8 ca a3 6d fd 48 8b
RSP: 0018:ffffc900033f78c0 EFLAGS: 00010206
RAX: ffff888020327628 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff8a8c17a0 RDI: 00000000ffffffff
RBP: ffffc900033f7aa8 R08: ffffffff90b102ef R09: 1ffffffff216205d
R10: dffffc0000000000 R11: fffffbfff216205e R12: ffff8881456cd000
R13: dffffc0000000000 R14: 000000000000004b R15: 0000000000000258
FS: 0000555572ffb500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff350270000 CR3: 0000000028704000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 6a 66 b1 00 call 0xb16678
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 28 mov %rax,0x28(%rsp)
34: 74 0d je 0x43
36: 4c 89 ff mov %r15,%rdi
39: e8 ca a3 6d fd call 0xfd6da408
3e: 48 rex.W
3f: 8b .byte 0x8b
* Struck through repros no longer work on HEAD.