syzbot


WARNING: ODEBUG bug in __folio_put (2)

Status: upstream: reported syz repro on 2024/10/15 15:06
Subsystems: usb mm
[Documentation on labels]
Reported-by: syzbot+0f138d82bfc86d146253@syzkaller.appspotmail.com
First crash: 40d, last: 4d13h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING: ODEBUG bug in __folio_put (2) 0 (1) 2024/10/15 15:06

Sample crash report:
rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 2
rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
usb 6-1: USB disconnect, device number 12
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811ac837c8 object type: timer_list hint: rtl_ips_nic_off_wq_callback+0x0/0x680 drivers/net/wireless/realtek/rtlwifi/ps.c:283
WARNING: CPU: 0 PID: 706 at lib/debugobjects.c:514 debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:514
Modules linked in:
CPU: 0 UID: 0 PID: 706 Comm: kworker/0:2 Not tainted 6.12.0-rc4-syzkaller-00052-gc6d9e43954bf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: usb_hub_wq hub_event

RIP: 0010:debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:514
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 54 48 8b 14 dd c0 fd 46 87 41 56 4c 89 e6 48 c7 c7 20 f1 46 87 e8 0e c1 c3 fe 90 <0f> 0b 90 90 58 83 05 fd 6f ff 07 01 48 83 c4 18 5b 5d 41 5c 41 5d
RSP: 0018:ffffc90001bdf418 EFLAGS: 00010282

RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff811aafe9
RDX: ffff88810b35ba80 RSI: ffffffff811aaff6 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff8746f7c0
R13: ffffffff872a8ee0 R14: ffffffff84032180 R15: ffffc90001bdf528
FS:  0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0d029be238 CR3: 0000000116fc8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
 debug_check_no_obj_freed+0x4b8/0x600 lib/debugobjects.c:1019
 free_pages_prepare mm/page_alloc.c:1115 [inline]
 __free_pages_ok+0x244/0xa20 mm/page_alloc.c:1250
 __folio_put+0x1cd/0x250 mm/swap.c:126
 device_release+0xa1/0x240 drivers/base/core.c:2575
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1e4/0x5a0 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3783
 rtl_usb_disconnect+0x41c/0x5a0 drivers/net/wireless/realtek/rtlwifi/usb.c:1079
 usb_unbind_interface+0x1e8/0x970 drivers/usb/core/driver.c:461
 device_remove drivers/base/dd.c:569 [inline]
 device_remove+0x122/0x170 drivers/base/dd.c:561
 __device_release_driver drivers/base/dd.c:1273 [inline]
 device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1296
 bus_remove_device+0x22f/0x420 drivers/base/bus.c:576
 device_del+0x396/0x9f0 drivers/base/core.c:3864
 usb_disable_device+0x36c/0x7f0 drivers/usb/core/message.c:1418
 usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2304
 hub_port_connect drivers/usb/core/hub.c:5361 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
 port_event drivers/usb/core/hub.c:5821 [inline]
 hub_event+0x1bed/0x4f40 drivers/usb/core/hub.c:5903

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/27 20:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/10/27 18:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/10/14 00:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d73dc7b182be 084d8178 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/11/16 16:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 237d4e0f4113 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/11/12 01:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing de9df030ccb5 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/11/10 13:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing de9df030ccb5 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/11/09 01:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 226ff2e681d0 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/10/21 14:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/10/13 22:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d73dc7b182be 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
2024/10/11 14:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a9fe2a8ac53 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in __folio_put
* Struck through repros no longer work on HEAD.