syzbot


WARNING in az6007_i2c_xfer

Status: upstream: reported on 2025/05/29 13:39
Subsystems: media
[Documentation on labels]
Reported-by: syzbot+a43c95e5c2c9ed88e966@syzkaller.appspotmail.com
First crash: 39d, last: 22d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [media?] WARNING in az6007_i2c_xfer 0 (1) 2025/05/29 13:39

Sample crash report:
usb write operation failed. (-71)
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(__owner_task(owner) != get_current())
WARNING: CPU: 1 PID: 474 at kernel/locking/mutex.c:920 __mutex_unlock_slowpath+0x22e/0x700 kernel/locking/mutex.c:920
Modules linked in:
CPU: 1 UID: 0 PID: 474 Comm: syz.1.7359 Not tainted 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__mutex_unlock_slowpath+0x22e/0x700 kernel/locking/mutex.c:920
Code: 0f b6 04 03 84 c0 0f 85 d1 00 00 00 83 3d bd d8 39 04 00 75 19 90 48 c7 c7 20 e8 8a 8b 48 c7 c6 a0 ef 8a 8b e8 73 a8 1c f6 90 <0f> 0b 90 90 90 48 89 da e9 29 ff ff ff 48 89 d3 90 e8 4c 8b 56 f9
RSP: 0018:ffffc90003a2f700 EFLAGS: 00010246
RAX: 280d97c5c996d100 RBX: 1ffffffff1f42746 RCX: 0000000000080000
RDX: ffffc9001ceaa000 RSI: 00000000000032bb RDI: 00000000000032bc
RBP: ffffc90003a2f810 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfa9ec R12: ffffc90003a2f7a0
R13: 1ffff92000745ee8 R14: 1ffffffff3350664 R15: ffff888061384000
FS:  00007f9fb95f66c0(0000) GS:ffff888125d52000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc731ec4c50 CR3: 000000006491a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000002dcd DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 az6007_i2c_xfer+0xb65/0xb90 drivers/media/usb/dvb-usb-v2/az6007.c:827
 __i2c_transfer+0x874/0x2170 drivers/i2c/i2c-core-base.c:-1
 i2c_smbus_xfer_emulated drivers/i2c/i2c-core-smbus.c:470 [inline]
 __i2c_smbus_xfer+0xfb0/0x1e50 drivers/i2c/i2c-core-smbus.c:608
 i2c_smbus_xfer+0x275/0x3c0 drivers/i2c/i2c-core-smbus.c:546
 i2cdev_ioctl_smbus+0x43d/0x6d0 drivers/i2c/i2c-dev.c:389
 i2cdev_ioctl+0x5d3/0x7f0 drivers/i2c/i2c-dev.c:478
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9fbb78e929
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:00007f9fb95f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9fbb9b5fa0 RCX: 00007f9fbb78e929
RDX: 0000200000000680 RSI: 0000000000000720 RDI: 000000000000000d
RBP: 00007f9fbb810b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9fbb9b5fa0 R15: 00007f9fbbadfa28
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/10 18:22 upstream f09079bd04a9 5d7e17ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in az6007_i2c_xfer
2025/05/25 13:28 upstream d0c22de9995b ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in az6007_i2c_xfer
* Struck through repros no longer work on HEAD.