syzbot


WARNING: ODEBUG bug in free_tcf

Status: upstream: reported C repro on 2020/01/23 11:02
Reported-by: syzbot+c5a3fad3dccf409f14ad@syzkaller.appspotmail.com
First crash: 1614d, last: 1490d
Fix bisection the fix commit could be any of (bisect log):
  8bac50406cca Linux 4.14.167
  4139fb08c05f Linux 4.14.187
  
Last patch testing requests (4)
Created Duration User Patch Repo Result
2022/12/26 18:31 10m retest repro linux-4.14.y report log
2022/12/26 17:31 10m retest repro linux-4.14.y report log
2022/08/31 09:27 10m retest repro linux-4.14.y report log
2022/08/31 08:27 11m retest repro linux-4.14.y report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2020/06/25 12:11 30m (4) bisect fix linux-4.14.y job log (2)
2020/05/26 11:28 24m bisect fix linux-4.14.y job log (0) log
2020/04/26 10:07 24m bisect fix linux-4.14.y job log (0) log
2020/03/27 09:42 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
audit: type=1400 audit(1579778862.516:36): avc:  denied  { map } for  pid=7280 comm="syz-executor439" path="/root/syz-executor439222196" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
ODEBUG: free active (active state 1) object type: rcu_head hint:           (null)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7280 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7280 Comm: syz-executor439 Not tainted 4.14.167-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+0x142/0x197 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x2f kernel/panic.c:547
 report_bug+0x216/0x254 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+0x1bb/0x310 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff88807d49f110 EFLAGS: 00010086
RAX: 0000000000000051 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86cc2fe0 RDI: ffffed100fa93e18
RBP: ffff88807d49f138 R08: 0000000000000051 R09: 0000000000000000
R10: 0000000000000000 R11: ffff88808bc88180 R12: ffffffff86cb86e0
R13: 0000000000000000 R14: 0000000000000001 R15: ffff88808d120b10
 __debug_check_no_obj_freed lib/debugobjects.c:747 [inline]
 debug_check_no_obj_freed+0x3f5/0x7b7 lib/debugobjects.c:776
 kfree+0xbd/0x270 mm/slab.c:3814
 free_tcf+0x13c/0x190 net/sched/act_api.c:73
 tcf_idr_remove net/sched/act_api.c:82 [inline]
 __tcf_idr_release net/sched/act_api.c:101 [inline]
 __tcf_idr_release+0x213/0x260 net/sched/act_api.c:85
 tcf_idr_release include/net/act_api.h:150 [inline]
 tcf_sample_init+0x7f2/0x960 net/sched/act_sample.c:80
 tcf_action_init_1+0x53c/0xaa0 net/sched/act_api.c:682
 tcf_action_init+0x2ab/0x480 net/sched/act_api.c:751
 tcf_action_add net/sched/act_api.c:1079 [inline]
 tc_ctl_action+0x30a/0x548 net/sched/act_api.c:1131
 rtnetlink_rcv_msg+0x3da/0xb70 net/core/rtnetlink.c:4306
 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4318
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312
 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xce/0x110 net/socket.c:656
 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062
 __sys_sendmsg+0xb9/0x140 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2103
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x440369
RSP: 002b:00007fff50801088 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440369
RDX: 0000000000000000 RSI: 0000000020002980 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 000000000000000b R09: 00000000004002c8
R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000401bf0
R13: 0000000000401c80 R14: 0000000000000000 R15: 0000000000000000

======================================================

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/23 11:30 linux-4.14.y 8bac50406cca 3334d684 .config console log report syz C ci2-linux-4-14
2020/01/23 11:15 linux-4.14.y 8bac50406cca 3334d684 .config console log report syz C ci2-linux-4-14
2020/02/26 08:01 linux-4.14.y 98db2bf27b9e 4f588111 .config console log report ci2-linux-4-14
2020/02/25 03:07 linux-4.14.y 98db2bf27b9e 59b57593 .config console log report ci2-linux-4-14
2020/02/24 05:38 linux-4.14.y 98db2bf27b9e d801cb02 .config console log report ci2-linux-4-14
2020/02/22 22:24 linux-4.14.y 98db2bf27b9e 2c36e7a7 .config console log report ci2-linux-4-14
2020/02/22 09:13 linux-4.14.y 98db2bf27b9e 2ffa6679 .config console log report ci2-linux-4-14
2020/02/22 09:06 linux-4.14.y 98db2bf27b9e 2ffa6679 .config console log report ci2-linux-4-14
2020/02/22 06:15 linux-4.14.y 98db2bf27b9e 2ffa6679 .config console log report ci2-linux-4-14
2020/02/20 23:14 linux-4.14.y 98db2bf27b9e 81230308 .config console log report ci2-linux-4-14
2020/02/20 08:00 linux-4.14.y 98db2bf27b9e b690a6e3 .config console log report ci2-linux-4-14
2020/02/19 04:23 linux-4.14.y 98db2bf27b9e 135c18aa .config console log report ci2-linux-4-14
2020/02/18 19:57 linux-4.14.y 98db2bf27b9e 012fbc32 .config console log report ci2-linux-4-14
2020/02/18 03:06 linux-4.14.y 98db2bf27b9e 1ce142dc .config console log report ci2-linux-4-14
2020/02/15 18:14 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report ci2-linux-4-14
2020/02/15 01:21 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report ci2-linux-4-14
2020/02/15 01:21 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report ci2-linux-4-14
2020/02/15 01:02 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report ci2-linux-4-14
2020/02/15 00:51 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report ci2-linux-4-14
2020/02/13 21:03 linux-4.14.y e0f8b8a65a47 e6247653 .config console log report ci2-linux-4-14
2020/02/04 01:38 linux-4.14.y 9fa690a2a016 93e5e335 .config console log report ci2-linux-4-14
2020/02/03 18:17 linux-4.14.y 9fa690a2a016 93e5e335 .config console log report ci2-linux-4-14
2020/02/02 06:03 linux-4.14.y 9fa690a2a016 2274ad39 .config console log report ci2-linux-4-14
2020/01/31 07:00 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
2020/01/29 07:55 linux-4.14.y 9a95f25269bd c8e81ce4 .config console log report ci2-linux-4-14
2020/01/27 13:07 linux-4.14.y 8bac50406cca dd56146d .config console log report ci2-linux-4-14
2020/01/27 13:07 linux-4.14.y 8bac50406cca dd56146d .config console log report ci2-linux-4-14
2020/01/26 22:04 linux-4.14.y 8bac50406cca dd56146d .config console log report ci2-linux-4-14
2020/01/26 07:50 linux-4.14.y 8bac50406cca f4e7270e .config console log report ci2-linux-4-14
2020/01/25 07:19 linux-4.14.y 8bac50406cca 2e95ab33 .config console log report ci2-linux-4-14
2020/01/23 16:29 linux-4.14.y 8bac50406cca 11ebf937 .config console log report ci2-linux-4-14
2020/01/23 16:23 linux-4.14.y 8bac50406cca 11ebf937 .config console log report ci2-linux-4-14
2020/01/23 16:21 linux-4.14.y 8bac50406cca 11ebf937 .config console log report ci2-linux-4-14
2020/01/23 11:01 linux-4.14.y 8bac50406cca 3334d684 .config console log report ci2-linux-4-14
2020/01/23 11:01 linux-4.14.y 8bac50406cca 3334d684 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.