syzbot


WARNING: ODEBUG bug in ion_page_pool_alloc

Status: auto-closed as invalid on 2021/05/25 19:46
Reported-by: syzbot+9fa850111fb5dfaf40fd@syzkaller.appspotmail.com
First crash: 516d, last: 515d

Sample crash report:
R13: 0000000000000000 R14: 00000000016b4350 R15: 0000000000000003
ODEBUG: assert_init not available (active state 0) object type: timer_list hint:           (null)
CPU: 0 PID: 13117 Comm: syz-executor.0 Not tainted 4.14.217-syzkaller #0
------------[ cut here ]------------
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
WARNING: CPU: 1 PID: 13101 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Call Trace:
Kernel panic - not syncing: panic_on_warn set ...

 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 warn_alloc.cold+0x96/0x1cc mm/page_alloc.c:3255
 __alloc_pages_slowpath mm/page_alloc.c:4102 [inline]
 __alloc_pages_nodemask+0x2127/0x2720 mm/page_alloc.c:4205
 alloc_pages_current+0x155/0x260 mm/mempolicy.c:2113
 alloc_pages include/linux/gfp.h:520 [inline]
 ion_page_pool_alloc_pages drivers/staging/android/ion/ion_page_pool.c:30 [inline]
 ion_page_pool_alloc+0x118/0x1b0 drivers/staging/android/ion/ion_page_pool.c:89
 alloc_buffer_page drivers/staging/android/ion/ion_system_heap.c:75 [inline]
 alloc_largest_available drivers/staging/android/ion/ion_system_heap.c:115 [inline]
 ion_system_heap_allocate+0x133/0x8c0 drivers/staging/android/ion/ion_system_heap.c:146
 ion_buffer_create drivers/staging/android/ion/ion.c:101 [inline]
 ion_alloc+0x27a/0x810 drivers/staging/android/ion/ion.c:425
 ion_ioctl+0xea/0x1f0 drivers/staging/android/ion/ion-ioctl.c:87
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45e219
RSP: 002b:00007f2279f02c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 00000000200000c0 RSI: 00000000c0184900 RDI: 0000000000000003
RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007ffca0c46f9f R14: 00007f2279f039c0 R15: 000000000119c034
CPU: 1 PID: 13101 Comm: syz-executor.1 Not tainted 4.14.217-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
Node 0 
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff88809e3bf248 EFLAGS: 00010086
RAX: 0000000000000061 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bbb40 RDI: ffffed1013c77e3f
RBP: ffffffff878b6e00 R08: 0000000000000061 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88809bc20580 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880831edbb0 R15: 1ffff11013c77e52
 debug_object_assert_init lib/debugobjects.c:656 [inline]
 debug_object_assert_init+0x1d3/0x2d0 lib/debugobjects.c:627
 debug_timer_assert_init kernel/time/timer.c:708 [inline]
 debug_assert_init kernel/time/timer.c:756 [inline]
 del_timer+0x5d/0xe0 kernel/time/timer.c:1151
 try_to_grab_pending+0x243/0x610 kernel/workqueue.c:1225
 __cancel_work_timer+0x90/0x460 kernel/workqueue.c:2923
 batadv_nc_mesh_free+0x41/0x120 net/batman-adv/network-coding.c:1880
 batadv_mesh_free+0x70/0x150 net/batman-adv/main.c:231
 batadv_mesh_init+0x561/0x630 net/batman-adv/main.c:216
DMA32 free:364440kB min:36200kB low:45248kB high:54296kB active_anon:67516kB inactive_anon:48248kB active_file:3492kB inactive_file:3776kB unevictable:0kB writepending:128kB present:3129332kB managed:2788160kB mlocked:0kB kernel_stack:7360kB pagetables:2768kB bounce:0kB free_pcp:788kB local_pcp:680kB free_cma:0kB
 batadv_softif_init_late+0xa26/0xc90 net/batman-adv/soft-interface.c:856
lowmem_reserve[]:
 register_netdevice+0x291/0xe40 net/core/dev.c:7590
 0
 rtnl_newlink+0x14dc/0x1830 net/core/rtnetlink.c:2742
 0
 0 0
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4316
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 0
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
Node 0 
Normal free:0kB min:4kB low:4kB high:4kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1048576kB managed:520kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417c97
lowmem_reserve[]:
RSP: 002b:00007ffd6703c120 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00000000016b4300 RCX: 0000000000417c97
RDX: 000000000000003c RSI: 00000000016b4350 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd6703c130 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00000000016b4350 R15: 0000000000000003
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/01/25 19:46 linux-4.14.y 2d2791fce891 52e37319 .config log report info WARNING: ODEBUG bug in ion_page_pool_alloc
ci2-linux-4-14 2021/01/24 12:10 linux-4.14.y 2d2791fce891 52e37319 .config log report info WARNING: ODEBUG bug in ion_page_pool_alloc