[v6.6] general protection fault in hidpp_raw_hidpp_event

0 views
Skip to first unread message

syzbot

unread,
Aug 4, 2026, 5:27:42 PM (24 hours ago) Aug 4
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: aa0e49877a2e Linux 6.6.148
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17da7e32580000
kernel config: https://syzkaller.appspot.com/x/.config?x=f0bc3d90c30838b5
dashboard link: https://syzkaller.appspot.com/bug?extid=3db6efd9ce4ef82578ef
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f83b390cfc1f/disk-aa0e4987.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/1d4bdb338edd/vmlinux-aa0e4987.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3f57c1d51ee3/bzImage-aa0e4987.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3db6ef...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 7232 Comm: syz.1.525 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:467 [inline]
RIP: 0010:hidpp_raw_hidpp_event+0x2b3f/0x3ca0 drivers/hid/hid-logitech-hidpp.c:3884
Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 05 10 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 03 10 00 00 0f b6 03 0f b6 d8 44 89 ef
RSP: 0018:ffffc9000bbb7980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880781af838
RBP: ffffc9000bbb7ab0 R08: ffff8880781af83f R09: 1ffff1100f035f07
R10: dffffc0000000000 R11: ffffed100f035f08 R12: ffff888056cec0b6
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007fd2b6cf46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003000 CR3: 000000006654e000 CR4: 00000000003506e0
Call Trace:
<TASK>
hidpp_raw_event+0x1bc/0x1aa0 drivers/hid/hid-logitech-hidpp.c:-1
hid_input_report+0x3ed/0x500 drivers/hid/hid-core.c:2125
uhid_dev_input2+0xb1/0x130 drivers/hid/uhid.c:610
uhid_char_write+0x4ac/0xc60 drivers/hid/uhid.c:768
vfs_write+0x299/0x9a0 fs/read_write.c:582
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:0x7fd2b5d9e019
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:00007fd2b6cf4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd2b6025fa0 RCX: 00007fd2b5d9e019
RDX: 000000000000000d RSI: 0000200000000200 RDI: 0000000000000003
RBP: 00007fd2b5e3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd2b6026038 R14: 00007fd2b6025fa0 R15: 00007ffe04238da8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:467 [inline]
RIP: 0010:hidpp_raw_hidpp_event+0x2b3f/0x3ca0 drivers/hid/hid-logitech-hidpp.c:3884
Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 05 10 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 03 10 00 00 0f b6 03 0f b6 d8 44 89 ef
RSP: 0018:ffffc9000bbb7980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880781af838
RBP: ffffc9000bbb7ab0 R08: ffff8880781af83f R09: 1ffff1100f035f07
R10: dffffc0000000000 R11: ffffed100f035f08 R12: ffff888056cec0b6
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007fd2b6cf46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd2b6c2dff8 CR3: 000000006654e000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
0: 8d 5c 24 02 lea 0x2(%rsp),%ebx
4: 48 89 d8 mov %rbx,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
10: 84 c0 test %al,%al
12: 4d 89 ee mov %r13,%r14
15: 0f 85 05 10 00 00 jne 0x1020
1b: 44 0f b6 2b movzbl (%rbx),%r13d
1f: 49 8d 5f 02 lea 0x2(%r15),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 03 10 00 00 jne 0x103a
37: 0f b6 03 movzbl (%rbx),%eax
3a: 0f b6 d8 movzbl %al,%ebx
3d: 44 89 ef mov %r13d,%edi


---
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

syzbot

unread,
12:15 AM (17 hours ago) 12:15 AM
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6e2fd6534337 Linux 5.15.213
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1768f649580000
kernel config: https://syzkaller.appspot.com/x/.config?x=f161cbc9aef65db0
dashboard link: https://syzkaller.appspot.com/bug?extid=4a24b0fe499819014550
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/d7b46606b13d/disk-6e2fd653.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/da120fdeb081/vmlinux-6e2fd653.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3c2643457e3f/bzImage-6e2fd653.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4a24b0...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 9491 Comm: syz.4.1774 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:398 [inline]
RIP: 0010:hidpp_raw_hidpp_event+0x23d9/0x3420 drivers/hid/hid-logitech-hidpp.c:3589
Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 1b 0f 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 19 0f 00 00 0f b6 03 0f b6 d8 44 89 ef
RSP: 0018:ffffc90003edf9c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88807b3b6838
RBP: ffffc90003edfb00 R08: ffff88807b3b683f R09: 1ffff1100f676d07
R10: dffffc0000000000 R11: ffffed100f676d08 R12: ffff888041ed40b6
R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f69140f96c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31522ff8 CR3: 000000004542f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
hidpp_raw_event+0x155/0x1740 drivers/hid/hid-logitech-hidpp.c:-1
hid_input_report+0x3fe/0x4f0 drivers/hid/hid-core.c:1909
uhid_dev_input2+0xb1/0x130 drivers/hid/uhid.c:611
uhid_char_write+0x376/0xaf0 drivers/hid/uhid.c:769
vfs_write+0x304/0xd70 fs/read_write.c:592
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:0x7f6915ea1019
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:00007f69140f9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6916128fa0 RCX: 00007f6915ea1019
RDX: 000000000000001a RSI: 0000200000000d00 RDI: 0000000000000003
RBP: 00007f6915f3800c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6916129038 R14: 00007f6916128fa0 R15: 00007ffc807ad1b8
</TASK>
Modules linked in:
---[ end trace 1a96a90781906217 ]---
RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:398 [inline]
RIP: 0010:hidpp_raw_hidpp_event+0x23d9/0x3420 drivers/hid/hid-logitech-hidpp.c:3589
Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 1b 0f 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 19 0f 00 00 0f b6 03 0f b6 d8 44 89 ef
RSP: 0018:ffffc90003edf9c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88807b3b6838
RBP: ffffc90003edfb00 R08: ffff88807b3b683f R09: 1ffff1100f676d07
R10: dffffc0000000000 R11: ffffed100f676d08 R12: ffff888041ed40b6
R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f69140f96c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f69140d8d58 CR3: 000000004542f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8d 5c 24 02 lea 0x2(%rsp),%ebx
4: 48 89 d8 mov %rbx,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
10: 84 c0 test %al,%al
12: 4d 89 ee mov %r13,%r14
15: 0f 85 1b 0f 00 00 jne 0xf36
1b: 44 0f b6 2b movzbl (%rbx),%r13d
1f: 49 8d 5f 02 lea 0x2(%r15),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 19 0f 00 00 jne 0xf50

syzbot

unread,
9:21 AM (8 hours ago) 9:21 AM
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 6e2fd6534337 Linux 5.15.213
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10e7fe32580000
kernel config: https://syzkaller.appspot.com/x/.config?x=f161cbc9aef65db0
dashboard link: https://syzkaller.appspot.com/bug?extid=4a24b0fe499819014550
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=176553b9580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/d7b46606b13d/disk-6e2fd653.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/da120fdeb081/vmlinux-6e2fd653.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3c2643457e3f/bzImage-6e2fd653.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4a24b0...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 4801 Comm: syz.3.227 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:398 [inline]
RIP: 0010:hidpp_raw_hidpp_event+0x23d9/0x3420 drivers/hid/hid-logitech-hidpp.c:3589
Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 1b 0f 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 19 0f 00 00 0f b6 03 0f b6 d8 44 89 ef
RSP: 0018:ffffc9000c8179c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888075958838
RBP: ffffc9000c817b00 R08: ffff88807595883f R09: 1ffff1100eb2b107
R10: dffffc0000000000 R11: ffffed100eb2b108 R12: ffff88807a06c0b6
R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f92781856c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31663fff CR3: 000000002ba26000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
hidpp_raw_event+0x155/0x1740 drivers/hid/hid-logitech-hidpp.c:-1
hid_input_report+0x3fe/0x4f0 drivers/hid/hid-core.c:1909
uhid_dev_input2+0xb1/0x130 drivers/hid/uhid.c:611
uhid_char_write+0x376/0xaf0 drivers/hid/uhid.c:769
vfs_write+0x304/0xd70 fs/read_write.c:592
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:0x7f9278b25019
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:00007f9278185028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9278dacfa0 RCX: 00007f9278b25019
RDX: 000000000000001a RSI: 0000200000000d00 RDI: 0000000000000003
RBP: 00007f9278bbc00c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9278dad038 R14: 00007f9278dacfa0 R15: 00007fffcc9b9f48
</TASK>
Modules linked in:
---[ end trace a1d8aa87b35558f2 ]---
RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:398 [inline]
RIP: 0010:hidpp_raw_hidpp_event+0x23d9/0x3420 drivers/hid/hid-logitech-hidpp.c:3589
Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 1b 0f 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 19 0f 00 00 0f b6 03 0f b6 d8 44 89 ef
RSP: 0018:ffffc9000c8179c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888075958838
RBP: ffffc9000c817b00 R08: ffff88807595883f R09: 1ffff1100eb2b107
R10: dffffc0000000000 R11: ffffed100eb2b108 R12: ffff88807a06c0b6
R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f92781856c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30663fff CR3: 000000002ba26000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8d 5c 24 02 lea 0x2(%rsp),%ebx
4: 48 89 d8 mov %rbx,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
10: 84 c0 test %al,%al
12: 4d 89 ee mov %r13,%r14
15: 0f 85 1b 0f 00 00 jne 0xf36
1b: 44 0f b6 2b movzbl (%rbx),%r13d
1f: 49 8d 5f 02 lea 0x2(%r15),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 19 0f 00 00 jne 0xf50
37: 0f b6 03 movzbl (%rbx),%eax
3a: 0f b6 d8 movzbl %al,%ebx
3d: 44 89 ef mov %r13d,%edi


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages