[v5.15] general protection fault in dvb_usbv2_generic_write

0 views
Skip to first unread message

syzbot

unread,
Oct 25, 2025, 12:29:20 PM (yesterday) Oct 25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: ac56c046adf4 Linux 5.15.195
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15b35d2f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=e1bb6d24ef2164eb
dashboard link: https://syzkaller.appspot.com/bug?extid=1a3250c5fcf6074b2dfb
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c11ec9487150/disk-ac56c046.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f1130a72d3a0/vmlinux-ac56c046.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7608cb6a3be5/bzImage-ac56c046.xz

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

general protection fault, probably for non-canonical address 0xdffffc0000000019: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000c8-0x00000000000000cf]
CPU: 1 PID: 4693 Comm: syz.4.76 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__mutex_lock_common+0x109/0x2390 kernel/locking/mutex.c:575
Code: 8d bc 24 e0 00 00 00 83 3d 03 7c 5a 0c 00 4c 8b 74 24 18 75 32 49 8d 7e 60 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 bc 6e 0a f8 4d 39 76 60 48 8d bc 24 e0 00 00
RSP: 0018:ffffc90003fdf0c0 EFLAGS: 00010202
RAX: 0000000000000019 RBX: ffffffff868114a2 RCX: dffffc0000000000
RDX: ffff88801e358000 RSI: ffffffff8a0b2b40 RDI: 00000000000000c8
RBP: ffffc90003fdf248 R08: ffffffff868114a2 R09: 0000000000000000
R10: ffffed100511062c R11: 1ffff1100511062b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000068 R15: 0000000000000000
FS: 00007efdc3f676c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efdc3f66f98 CR3: 00000000732f6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
dvb_usbv2_generic_write+0x22/0x50 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c:77
mxl111sf_ctrl_msg+0x12a/0x260 drivers/media/usb/dvb-usb-v2/mxl111sf.c:73
mxl111sf_write_reg+0x9d/0x180 drivers/media/usb/dvb-usb-v2/mxl111sf.c:123
mxl111sf_i2c_start drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:130 [inline]
mxl111sf_i2c_sw_xfer_msg drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:-1 [inline]
mxl111sf_i2c_xfer+0x45e/0x4ed0 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:813
__i2c_transfer+0x864/0x2060 drivers/i2c/i2c-core-base.c:-1
i2c_smbus_xfer_emulated drivers/i2c/i2c-core-smbus.c:469 [inline]
__i2c_smbus_xfer+0xfc9/0x1d50 drivers/i2c/i2c-core-smbus.c:607
i2c_smbus_xfer+0x263/0x3a0 drivers/i2c/i2c-core-smbus.c:545
i2cdev_ioctl_smbus+0x3e3/0x650 drivers/i2c/i2c-dev.c:381
i2cdev_ioctl+0x545/0x750 drivers/i2c/i2c-dev.c:467
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
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:0x7efdc5d20fc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efdc3f67038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007efdc5f78090 RCX: 00007efdc5d20fc9
RDX: 00002000000001c0 RSI: 0000000000000720 RDI: 0000000000000004
RBP: 00007efdc5da3f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efdc5f78128 R14: 00007efdc5f78090 R15: 00007ffd1a262f58
</TASK>
Modules linked in:
---[ end trace cb761eed0794fb68 ]---
RIP: 0010:__mutex_lock_common+0x109/0x2390 kernel/locking/mutex.c:575
Code: 8d bc 24 e0 00 00 00 83 3d 03 7c 5a 0c 00 4c 8b 74 24 18 75 32 49 8d 7e 60 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 bc 6e 0a f8 4d 39 76 60 48 8d bc 24 e0 00 00
RSP: 0018:ffffc90003fdf0c0 EFLAGS: 00010202
RAX: 0000000000000019 RBX: ffffffff868114a2 RCX: dffffc0000000000
RDX: ffff88801e358000 RSI: ffffffff8a0b2b40 RDI: 00000000000000c8
RBP: ffffc90003fdf248 R08: ffffffff868114a2 R09: 0000000000000000
R10: ffffed100511062c R11: 1ffff1100511062b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000068 R15: 0000000000000000
FS: 00007efdc3f676c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003840 CR3: 00000000732f6000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8d bc 24 e0 00 00 00 lea 0xe0(%rsp),%edi
7: 83 3d 03 7c 5a 0c 00 cmpl $0x0,0xc5a7c03(%rip) # 0xc5a7c11
e: 4c 8b 74 24 18 mov 0x18(%rsp),%r14
13: 75 32 jne 0x47
15: 49 8d 7e 60 lea 0x60(%r14),%rdi
19: 48 89 f8 mov %rdi,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 74 05 je 0x35
30: e8 bc 6e 0a f8 call 0xf80a6ef1
35: 4d 39 76 60 cmp %r14,0x60(%r14)
39: 48 rex.W
3a: 8d .byte 0x8d
3b: bc 24 e0 00 00 mov $0xe024,%esp


---
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,
Oct 25, 2025, 2:18:26 PM (yesterday) Oct 25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: ac56c046adf4 Linux 5.15.195
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12d5c258580000
kernel config: https://syzkaller.appspot.com/x/.config?x=e1bb6d24ef2164eb
dashboard link: https://syzkaller.appspot.com/bug?extid=1a3250c5fcf6074b2dfb
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1302ee7c580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=148d1d42580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c11ec9487150/disk-ac56c046.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f1130a72d3a0/vmlinux-ac56c046.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7608cb6a3be5/bzImage-ac56c046.xz

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

general protection fault, probably for non-canonical address 0xdffffc0000000019: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000c8-0x00000000000000cf]
CPU: 0 PID: 4452 Comm: syz.0.38 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__mutex_lock_common+0x109/0x2390 kernel/locking/mutex.c:575
Code: 8d bc 24 e0 00 00 00 83 3d 03 7c 5a 0c 00 4c 8b 74 24 18 75 32 49 8d 7e 60 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 bc 6e 0a f8 4d 39 76 60 48 8d bc 24 e0 00 00
RSP: 0018:ffffc90002fff0c0 EFLAGS: 00010202
RAX: 0000000000000019 RBX: ffffffff868114a2 RCX: dffffc0000000000
RDX: ffff88802101d940 RSI: ffffffff8a0b2b40 RDI: 00000000000000c8
RBP: ffffc90002fff248 R08: ffffffff868114a2 R09: 0000000000000000
R10: ffffed100fb6742c R11: 1ffff1100fb6742b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000068 R15: 0000000000000000
FS: 00007f6e91bdc6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31863fff CR3: 000000001ec0b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
dvb_usbv2_generic_write+0x22/0x50 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c:77
mxl111sf_ctrl_msg+0x12a/0x260 drivers/media/usb/dvb-usb-v2/mxl111sf.c:73
mxl111sf_write_reg+0x9d/0x180 drivers/media/usb/dvb-usb-v2/mxl111sf.c:123
mxl111sf_i2c_start drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:130 [inline]
mxl111sf_i2c_sw_xfer_msg drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:-1 [inline]
mxl111sf_i2c_xfer+0x45e/0x4ed0 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:813
__i2c_transfer+0x864/0x2060 drivers/i2c/i2c-core-base.c:-1
i2c_smbus_xfer_emulated drivers/i2c/i2c-core-smbus.c:469 [inline]
__i2c_smbus_xfer+0xfc9/0x1d50 drivers/i2c/i2c-core-smbus.c:607
i2c_smbus_xfer+0x263/0x3a0 drivers/i2c/i2c-core-smbus.c:545
i2cdev_ioctl_smbus+0x3e3/0x650 drivers/i2c/i2c-dev.c:381
i2cdev_ioctl+0x545/0x750 drivers/i2c/i2c-dev.c:467
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
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:0x7f6e9256cfc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6e91bdc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6e927c3fa0 RCX: 00007f6e9256cfc9
RDX: 00002000000001c0 RSI: 0000000000000720 RDI: 0000000000000003
RBP: 00007f6e925eff91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6e927c4038 R14: 00007f6e927c3fa0 R15: 00007ffd1f461028
</TASK>
Modules linked in:
---[ end trace fbd3da5371b48d53 ]---
RIP: 0010:__mutex_lock_common+0x109/0x2390 kernel/locking/mutex.c:575
Code: 8d bc 24 e0 00 00 00 83 3d 03 7c 5a 0c 00 4c 8b 74 24 18 75 32 49 8d 7e 60 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 bc 6e 0a f8 4d 39 76 60 48 8d bc 24 e0 00 00
RSP: 0018:ffffc90002fff0c0 EFLAGS: 00010202
RAX: 0000000000000019 RBX: ffffffff868114a2 RCX: dffffc0000000000
RDX: ffff88802101d940 RSI: ffffffff8a0b2b40 RDI: 00000000000000c8
RBP: ffffc90002fff248 R08: ffffffff868114a2 R09: 0000000000000000
R10: ffffed100fb6742c R11: 1ffff1100fb6742b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000068 R15: 0000000000000000
FS: 00007f6e91bdc6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31963fff CR3: 000000001ec0b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8d bc 24 e0 00 00 00 lea 0xe0(%rsp),%edi
7: 83 3d 03 7c 5a 0c 00 cmpl $0x0,0xc5a7c03(%rip) # 0xc5a7c11
e: 4c 8b 74 24 18 mov 0x18(%rsp),%r14
13: 75 32 jne 0x47
15: 49 8d 7e 60 lea 0x60(%r14),%rdi
19: 48 89 f8 mov %rdi,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 74 05 je 0x35
30: e8 bc 6e 0a f8 call 0xf80a6ef1
35: 4d 39 76 60 cmp %r14,0x60(%r14)
39: 48 rex.W
3a: 8d .byte 0x8d
3b: bc 24 e0 00 00 mov $0xe024,%esp


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