WARNING: ODEBUG bug in free_unref_page_prepare

Status: upstream: reported on 2026/09/02 18:38
Reported-by: syzbot+803315d3da10c72596a2@syzkaller.appspotmail.com
First crash: 5d18h, last: 5d18h
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING: ODEBUG bug in free_unref_page_prepare -1 1 210d 210d 0/3 auto-obsoleted due to no activity on 2026/05/21 06:33

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88807b36c9c0 object type: timer_list hint: hci_cmd_timeout+0x0/0x1e0
WARNING: CPU: 1 PID: 7984 at lib/debugobjects.c:518 debug_print_object lib/debugobjects.c:515 [inline]
WARNING: CPU: 1 PID: 7984 at lib/debugobjects.c:518 __debug_check_no_obj_freed lib/debugobjects.c:1045 [inline]
WARNING: CPU: 1 PID: 7984 at lib/debugobjects.c:518 debug_check_no_obj_freed+0x39f/0x520 lib/debugobjects.c:1075
Modules linked in:
CPU: 1 PID: 7984 Comm: syz.0.636 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:debug_print_object lib/debugobjects.c:515 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1045 [inline]
RIP: 0010:debug_check_no_obj_freed+0x39f/0x520 lib/debugobjects.c:1075
Code: 8b 4d 00 48 c7 c7 a0 3f 1d 8b 48 c7 c6 00 3c 1d 8b 48 c7 c2 20 41 1d 8b 8b 4c 24 1c 4d 89 f8 41 55 e8 85 5b 16 fd 48 83 c4 08 <0f> 0b 4c 8b 6c 24 10 48 b9 00 00 00 00 00 fc ff df ff 05 ca ce 51
RSP: 0018:ffffc9000354f9f8 EFLAGS: 00010282
RAX: 59713469f34ced00 RBX: ffffffff975961d8 RCX: ffff88802bf09e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffffffff8accaf60 R08: ffffc9000354f5e7 R09: 1ffff920006a9ebc
R10: dffffc0000000000 R11: fffff520006a9ebd R12: 0000000000000004
R13: ffffffff898d2fa0 R14: ffff88807b36c000 R15: ffff88807b36c9c0
FS:  000055558dfb3500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd189bbd40 CR3: 000000001df33000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 free_pages_prepare mm/page_alloc.c:1188 [inline]
 free_unref_page_prepare+0x1ed/0x8f0 mm/page_alloc.c:2366
 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459
 free_large_kmalloc+0x101/0x1b0 mm/slab_common.c:984
 bt_host_release+0x93/0xa0 net/bluetooth/hci_sysfs.c:87
 device_release+0xbc/0x1e0 drivers/base/core.c:-1
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x21b/0x450 lib/kobject.c:737
 hci_uart_tty_close+0x2b6/0x340 drivers/bluetooth/hci_ldisc.c:584
 tty_ldisc_kill+0xa3/0x1a0 drivers/tty/tty_ldisc.c:613
 tty_ldisc_release+0x1a4/0x200 drivers/tty/tty_ldisc.c:781
 tty_release_struct+0x2a/0xd0 drivers/tty/tty_io.c:1688
 tty_release+0xbcc/0x14f0 drivers/tty/tty_io.c:1859
 __fput+0x221/0x940 fs/file_table.c:418
 task_work_run+0x1d4/0x260 kernel/task_work.c:245
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2eec39e159
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:00007ffc0e39da98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f2eec627da0 RCX: 00007f2eec39e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f2eec627da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007f2eec627cb0 R11: 0000000000000246 R12: 000000000002fb4a
R13: 00007f2eec625fac R14: 000000000002f8c5 R15: 00007ffc0e39dba0
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/02 18:37 linux-6.6.y 8b73de7da85f 85995287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: ODEBUG bug in free_unref_page_prepare
* Struck through repros no longer work on HEAD.