syzbot


WARNING: ODEBUG bug in __sk_destruct

Status: upstream: reported C repro on 2025/07/23 20:40
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+b3516f29a6148448df3c@syzkaller.appspotmail.com
First crash: 9d18h, last: 8d07h
Bug presence (1)
Date Name Commit Repro Result
2025/07/28 upstream (ToT) 038d61fd6422 C [report] WARNING: ODEBUG bug in __sk_destruct
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in __sk_destruct smc -1 C 2855 2186d 2651d 12/29 fixed on 2019/08/27 17:15
linux-6.6 WARNING: ODEBUG bug in __sk_destruct origin:upstream -1 C 3 13d 14d 0/2 upstream: reported C repro on 2025/07/19 04:11
upstream WARNING: ODEBUG bug in __sk_destruct (2) can -1 C done done 62 1371d 1568d 20/29 fixed on 2021/11/10 00:50

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: work_struct hint: kcm_tx_work+0x0/0x180
WARNING: CPU: 1 PID: 4458 at lib/debugobjects.c:521 debug_print_object lib/debugobjects.c:518 [inline]
WARNING: CPU: 1 PID: 4458 at lib/debugobjects.c:521 __debug_check_no_obj_freed lib/debugobjects.c:973 [inline]
WARNING: CPU: 1 PID: 4458 at lib/debugobjects.c:521 debug_check_no_obj_freed+0x43c/0x530 lib/debugobjects.c:1003
Modules linked in:
CPU: 1 PID: 4458 Comm: syz.3.19 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:debug_print_object lib/debugobjects.c:518 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:973 [inline]
RIP: 0010:debug_check_no_obj_freed+0x43c/0x530 lib/debugobjects.c:1003
Code: ef e8 08 54 dd fd 4c 8b 45 00 48 c7 c7 60 9c 59 8a 48 c7 c6 20 99 59 8a 48 c7 c2 c0 9d 59 8a 8b 0c 24 4d 89 e9 e8 74 94 be 05 <0f> 0b 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc ff df ff 05 d5 ce 8a
RSP: 0018:ffffc9000386fbc0 EFLAGS: 00010246
RAX: f0bd54a8d4918400 RBX: ffffffff9636b5a0 RCX: ffff88802c68bb80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8a0a45e0 R08: dffffc0000000000 R09: fffff5200070dedd
R10: fffff5200070dedd R11: 1ffff9200070dedc R12: ffff88807b105680
R13: ffffffff88f32a40 R14: ffff88807b105000 R15: ffff88807b105568
FS:  00007f2d47ae66c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f79b1104f98 CR3: 0000000057c87000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 slab_free_hook mm/slub.c:1680 [inline]
 slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kmem_cache_free+0x8f/0x210 mm/slub.c:3515
 sk_prot_free net/core/sock.c:1898 [inline]
 __sk_destruct+0x54b/0x820 net/core/sock.c:1986
 kcm_release+0x51a/0x5b0 net/kcm/kcmsock.c:1861
 __sock_release net/socket.c:649 [inline]
 sock_close+0xd5/0x240 net/socket.c:1336
 __fput+0x234/0x930 fs/file_table.c:311
 task_work_run+0x125/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f2d488b89a9
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:00007f2d47ae6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f2d48ae0160 RCX: 00007f2d488b89a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f2d4893ad69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f2d48ae0160 R15: 00007ffff7c3cb78
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/25 07:50 linux-5.15.y c79648372d02 fb8f743d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: ODEBUG bug in __sk_destruct
2025/07/23 20:39 linux-5.15.y c79648372d02 e1dd4f22 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: ODEBUG bug in __sk_destruct
* Struck through repros no longer work on HEAD.