Hello,
syzbot found the following issue on:
HEAD commit: 848acc8ffe1b Merge tag 'fsverity-for-linus' of git://git.k..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=12cb9bb9580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=f221a1b5d497ed15
dashboard link:
https://syzkaller.appspot.com/bug?extid=8fbe529e768557433d2f
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
userspace arch: i386
CC: [
basavara...@amd.com ben...@kernel.org ji...@kernel.org linux...@vger.kernel.org linux-...@vger.kernel.org]
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image (non-bootable):
https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-848acc8f.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/31f94fe4d67f/vmlinux-848acc8f.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/391ba15cbf42/bzImage-848acc8f.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+8fbe52...@syzkaller.appspotmail.com
BUG: unable to handle page fault for address: 000000000002c70c
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 6febf067 P4D 6febf067 PUD 6d187067 PMD 0
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 5951 Comm: syz.2.11 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:readl arch/x86/include/asm/io.h:59 [inline]
RIP: 0010:mp2_select_ops drivers/hid/amd-sfh-hid/amd_sfh_pcie.c:282 [inline]
RIP: 0010:amd_mp2_pci_probe+0x43d/0x820 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c:487
Code: f9 e9 c7 02 00 00 e8 b2 c3 f8 f8 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 72 03 00 00 48 8b 45 10 <8b> 98 8c 06 01 00 48 8d bd a0 00 00 00 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc90006a5f7f8 EFLAGS: 00010246
RAX: 000000000001c080 RBX: 0000000000000000 RCX: ffffc9000c402000
RDX: 1ffff11004acbf09 RSI: ffffffff8910ed4e RDI: ffff888025b22540
RBP: ffff88802565f838 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888021478000
R13: ffff8880214780d0 R14: ffffffff8c438880 R15: ffff88802565f848
FS: 0000000000000000(0000) GS:ffff888096cdf000(0063) knlGS:00000000f544db40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000000002c70c CR3: 000000006fd43000 CR4: 0000000000352ef0
Call Trace:
<TASK>
local_pci_probe+0xdd/0x1b0 drivers/pci/pci-driver.c:332
pci_call_probe+0x176/0x800 drivers/pci/pci-driver.c:394
__pci_device_probe drivers/pci/pci-driver.c:455 [inline]
pci_device_probe+0x1cd/0x370 drivers/pci/pci-driver.c:489
call_driver_probe drivers/base/dd.c:628 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:706
__driver_probe_device+0x20e/0x450 drivers/base/dd.c:868
driver_probe_device+0x4a/0x140 drivers/base/dd.c:898
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098
bus_rescan_devices_helper+0xfb/0x220 drivers/base/bus.c:854
drivers_probe_store+0x4a/0x90 drivers/base/bus.c:318
bus_attr_store+0x74/0xb0 drivers/base/bus.c:172
sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307
do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf705efec
Code: Unable to access opcode bytes at 0xf705efc2.
RSP: 002b:00000000f544d50c EFLAGS: 00000292 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000080000240
RDX: 000000000000000d RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
CR2: 000000000002c70c
---[ end trace 0000000000000000 ]---
RIP: 0010:readl arch/x86/include/asm/io.h:59 [inline]
RIP: 0010:mp2_select_ops drivers/hid/amd-sfh-hid/amd_sfh_pcie.c:282 [inline]
RIP: 0010:amd_mp2_pci_probe+0x43d/0x820 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c:487
Code: f9 e9 c7 02 00 00 e8 b2 c3 f8 f8 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 72 03 00 00 48 8b 45 10 <8b> 98 8c 06 01 00 48 8d bd a0 00 00 00 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc90006a5f7f8 EFLAGS: 00010246
RAX: 000000000001c080 RBX: 0000000000000000 RCX: ffffc9000c402000
RDX: 1ffff11004acbf09 RSI: ffffffff8910ed4e RDI: ffff888025b22540
RBP: ffff88802565f838 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888021478000
R13: ffff8880214780d0 R14: ffffffff8c438880 R15: ffff88802565f848
FS: 0000000000000000(0000) GS:ffff888096cdf000(0063) knlGS:00000000f544db40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f705f000 CR3: 000000006fd43000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: f9 stc
1: e9 c7 02 00 00 jmp 0x2cd
6: e8 b2 c3 f8 f8 call 0xf8f8c3bd
b: 4c 89 fa mov %r15,%rdx
e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
15: fc ff df
18: 48 c1 ea 03 shr $0x3,%rdx
1c: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
20: 0f 85 72 03 00 00 jne 0x398
26: 48 8b 45 10 mov 0x10(%rbp),%rax
* 2a: 8b 98 8c 06 01 00 mov 0x1068c(%rax),%ebx <-- trapping instruction
30: 48 8d bd a0 00 00 00 lea 0xa0(%rbp),%rdi
37: 48 rex.W
38: b8 00 00 00 00 mov $0x0,%eax
3d: 00 fc add %bh,%ah
3f: ff .byte 0xff
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup