syzbot


WARNING: ODEBUG bug in __sk_destruct

Status: upstream: reported C repro on 2025/07/19 04:11
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+da929776599376f1eb20@syzkaller.appspotmail.com
First crash: 231d, last: 5d22h
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING: ODEBUG bug in __sk_destruct (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2025/09/05 linux-6.6.y (ToT) 355bd0b51d2f C [report] WARNING: ODEBUG bug in __sk_destruct
2025/07/19 upstream (ToT) 27c2570359d6 C [report] WARNING: ODEBUG bug in __sk_destruct
2025/09/05 upstream (ToT) d69eb204c255 C Didn't crash
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING: ODEBUG bug in __sk_destruct origin:upstream -1 C error 2 47d 227d 0/3 upstream: reported C repro on 2025/07/23 20:40
upstream WARNING: ODEBUG bug in __sk_destruct smc -1 C 2855 2404d 2869d 12/29 fixed on 2019/08/27 17:15
linux-6.1 WARNING: ODEBUG bug in __sk_destruct origin:upstream missing-backport -1 C inconclusive 3 139d 217d 0/3 upstream: reported C repro on 2025/08/02 18:15
upstream WARNING: ODEBUG bug in __sk_destruct (3) net -1 C error 12 195d 211d 29/29 fixed on 2025/10/09 01:15
upstream WARNING: ODEBUG bug in __sk_destruct (2) can -1 C done done 62 1588d 1785d 20/29 fixed on 2021/11/10 00:50
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2025/11/09 07:24 1h42m fix candidate upstream OK (0) job log
2025/10/12 22:36 2h44m bisect fix linux-6.6.y OK (0) job log log
2025/08/20 01:59 3h12m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88802dd0a2a8 object type: work_struct hint: kcm_tx_work+0x0/0x180
WARNING: CPU: 1 PID: 6098 at lib/debugobjects.c:518 debug_print_object lib/debugobjects.c:515 [inline]
WARNING: CPU: 1 PID: 6098 at lib/debugobjects.c:518 __debug_check_no_obj_freed lib/debugobjects.c:990 [inline]
WARNING: CPU: 1 PID: 6098 at lib/debugobjects.c:518 debug_check_no_obj_freed+0x446/0x540 lib/debugobjects.c:1020
Modules linked in:
CPU: 1 PID: 6098 Comm: syz.0.55 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:debug_print_object lib/debugobjects.c:515 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:990 [inline]
RIP: 0010:debug_check_no_obj_freed+0x446/0x540 lib/debugobjects.c:1020
Code: 4c 8b 4d 00 48 c7 c7 a0 8c 1c 8b 48 c7 c6 00 89 1c 8b 48 c7 c2 20 8e 1c 8b 8b 0c 24 4d 89 f8 41 55 e8 ce 30 20 fd 48 83 c4 08 <0f> 0b 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc ff df ff 05 a3 6d 5a
RSP: 0018:ffffc90003957c28 EFLAGS: 00010286
RAX: 4f58b40224dbc300 RBX: ffffffff9752eda0 RCX: ffff8880238ebc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffffffff8ac9f640 R08: ffffc90003957827 R09: 1ffff9200072af04
R10: dffffc0000000000 R11: fffff5200072af05 R12: ffff88802dd0a3c0
R13: ffffffff89b27830 R14: ffff88802dd0a000 R15: ffff88802dd0a2a8
FS:  00007f1b9e4966c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1b9e495ff8 CR3: 0000000030511000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 slab_free_hook mm/slub.c:1786 [inline]
 slab_free_freelist_hook+0xd2/0x1a0 mm/slub.c:1837
 slab_free mm/slub.c:3830 [inline]
 kmem_cache_free+0xf8/0x270 mm/slub.c:3852
 sk_prot_free net/core/sock.c:2133 [inline]
 __sk_destruct+0x4d1/0x660 net/core/sock.c:2230
 kcm_release+0x524/0x5b0 net/kcm/kcmsock.c:1738
 __sock_release net/socket.c:659 [inline]
 sock_close+0xbd/0x230 net/socket.c:1420
 __fput+0x234/0x970 fs/file_table.c:384
 __do_sys_close fs/open.c:1573 [inline]
 __se_sys_close+0x15f/0x220 fs/open.c:1558
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1b9d59c799
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:00007f1b9e496028 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 00007f1b9d816180 RCX: 00007f1b9d59c799
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f1b9d632bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1b9d816218 R14: 00007f1b9d816180 R15: 00007fffd21a47a8
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/02 00:55 linux-6.6.y 7a137e9bfa0e 43249bac .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: ODEBUG bug in __sk_destruct
2026/02/21 16:41 linux-6.6.y 7a137e9bfa0e 6e7b5511 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: ODEBUG bug in __sk_destruct
2026/02/08 13:58 linux-6.6.y c56aaf1a85ae 4c131dc4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: ODEBUG bug in __sk_destruct
2026/01/13 17:02 linux-6.6.y c596736dadab d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: ODEBUG bug in __sk_destruct
2025/07/19 16:23 linux-6.6.y d96eb99e2f0e 7117feec .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING: ODEBUG bug in __sk_destruct
2025/07/19 10:04 linux-6.6.y d96eb99e2f0e 7117feec .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING: ODEBUG bug in __sk_destruct
2025/07/19 04:10 linux-6.6.y d96eb99e2f0e 7117feec .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf WARNING: ODEBUG bug in __sk_destruct
* Struck through repros no longer work on HEAD.