syzbot
WARNING: ODEBUG bug in cec_transmit_msg_fh
Status:
upstream: reported on 2026/06/18 13:20
Subsystems:
media
Labels:
prio:high
[Documentation on labels]
Reported-by: syzbot+051024d603432b4ab395@syzkaller.appspotmail.com
Fix commit:
0fbd5c232702
media: cec: disable delayed work before freeing an interrupted transmit
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-snapshot-upstream-root ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-rust-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce], missing on: [ci-qemu-native-arm64-kvm ci-qemu2-arm32 ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-usb]
First crash: 66d, last: 14h11m
Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff888052ef80b8 object type: timer_list hint: cec_wait_timeout+0x0/0x1f0 drivers/media/cec/core/cec-adap.c:414
WARNING: lib/debugobjects.c:629 at debug_print_object+0x198/0x2b0 lib/debugobjects.c:629, CPU#1: syz.0.716/10349
Modules linked in:
CPU: 1 UID: 0 PID: 10349 Comm: syz.0.716 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:debug_print_object+0x1a5/0x2b0 lib/debugobjects.c:629
Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 4f 48 8d 3d 18 76 25 0c 41 56 48 8b 14 ed 40 37 60 8c 4c 89 e6 <67> 48 0f b9 3a 58 83 05 22 6d 1a 0c 01 48 83 c4 18 5b 5d 41 5c 41
RSP: 0018:ffffc9000497f978 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffc9000497fa60 RCX: 0000000000000000
RDX: ffffffff8c603680 RSI: ffffffff8c603220 RDI: ffffffff914d8350
RBP: 0000000000000003 R08: ffff888052ef80b8 R09: ffffffff8bf2f9e0
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8c603220
R13: ffffffff8bf2fa20 R14: ffffffff8822fea0 R15: ffffc9000497fa78
FS: 00007f079e2e06c0(0000) GS:ffff888123cd4000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33010ff8 CR3: 000000007a191000 CR4: 0000000000350ef0
Call Trace:
<TASK>
__debug_check_no_obj_freed lib/debugobjects.c:1171 [inline]
debug_check_no_obj_freed+0x4da/0x630 lib/debugobjects.c:1201
slab_free_hook mm/slub.c:2608 [inline]
slab_free mm/slub.c:6377 [inline]
kfree+0x3d6/0x6c0 mm/slub.c:6692
cec_transmit_msg_fh+0x1516/0x2780 drivers/media/cec/core/cec-adap.c:988
cec_transmit drivers/media/cec/core/cec-api.c:230 [inline]
cec_ioctl+0x1565/0x29b0 drivers/media/cec/core/cec-api.c:534
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl fs/ioctl.c:583 [inline]
__x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f079d39e0d9
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:00007f079e2e0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f079d626270 RCX: 00007f079d39e0d9
RDX: 0000200000000100 RSI: 00000000c0386105 RDI: 0000000000000005
RBP: 00007f079d435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f079d626308 R14: 00007f079d626270 R15: 00007ffee27430d8
</TASK>
----------------
Code disassembly (best guess):
0: b8 00 00 00 00 mov $0x0,%eax
5: 00 fc add %bh,%ah
7: ff lcall (bad)
8: df 48 89 fisttps -0x77(%rax)
b: fa cli
c: 48 c1 ea 03 shr $0x3,%rdx
10: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
14: 75 4f jne 0x65
16: 48 8d 3d 18 76 25 0c lea 0xc257618(%rip),%rdi # 0xc257635
1d: 41 56 push %r14
1f: 48 8b 14 ed 40 37 60 mov -0x739fc8c0(,%rbp,8),%rdx
26: 8c
27: 4c 89 e6 mov %r12,%rsi
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: 58 pop %rax
30: 83 05 22 6d 1a 0c 01 addl $0x1,0xc1a6d22(%rip) # 0xc1a6d59
37: 48 83 c4 18 add $0x18,%rsp
3b: 5b pop %rbx
3c: 5d pop %rbp
3d: 41 5c pop %r12
3f: 41 rex.B
* Struck through repros no longer work on HEAD.