syzbot


general protection fault in tomoyo_domain_quota_is_ok

Status: auto-closed as invalid on 2019/10/25 08:38
Subsystems: tomoyo
[Documentation on labels]
Reported-by: syzbot+f005ead98a5639f09784@syzkaller.appspotmail.com
First crash: 1766d, last: 1766d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12636 Comm: kworker/0:5 Not tainted 5.2.0-rc1+ #30
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events rt6_probe_deferred
RIP: 0010:tomoyo_domain_quota_is_ok+0x12d/0x540 security/tomoyo/util.c:1035
Code: 00 4d 8b 24 24 4c 3b 65 d0 0f 84 9c 00 00 00 e8 19 50 73 fe 49 8d 7c 24 18 48 ba 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <0f> b6 04 10 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 69 03 00 00
RSP: 0018:ffff8880ae809bc8 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000010 RCX: ffffffff82fd5675
RDX: dffffc0000000000 RSI: ffffffff82fd5457 RDI: 0000000000000018
RBP: ffff8880ae809bf8 R08: ffff8880657d0180 R09: 0000000000000005
R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: 0000000000000000
R13: 0000000000000000 R14: ffff88808ef20e98 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffde2ae3a08 CR3: 0000000008a6d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 NF_HOOK include/linux/netfilter.h:305 [inline]
 NF_HOOK include/linux/netfilter.h:299 [inline]
 ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:276
 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4990
 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5104
 process_backlog+0x206/0x750 net/core/dev.c:5944
 napi_poll net/core/dev.c:6367 [inline]
 net_rx_action+0x4f5/0x1070 net/core/dev.c:6433
 __do_softirq+0x25c/0x94c kernel/softirq.c:293
 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1040
 </IRQ>
 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:338
 do_softirq kernel/softirq.c:330 [inline]
 __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:190
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:684 [inline]
 ip6_finish_output2+0x10a0/0x2550 net/ipv6/ip6_output.c:121
 ip6_finish_output+0x56d/0xc20 net/ipv6/ip6_output.c:154
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x235/0x7f0 net/ipv6/ip6_output.c:171
 dst_output include/net/dst.h:433 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0xf29/0x14a0 net/ipv6/ndisc.c:508
 ndisc_send_ns+0x3a9/0x850 net/ipv6/ndisc.c:650
 rt6_probe_deferred+0xe3/0x1a0 net/ipv6/route.c:543
 process_one_work+0x989/0x1790 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x354/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace 23ea560cee6ec7f3 ]---
RIP: 0010:tomoyo_domain_quota_is_ok+0x12d/0x540 security/tomoyo/util.c:1035
Code: 00 4d 8b 24 24 4c 3b 65 d0 0f 84 9c 00 00 00 e8 19 50 73 fe 49 8d 7c 24 18 48 ba 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <0f> b6 04 10 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 69 03 00 00
RSP: 0018:ffff8880ae809bc8 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000010 RCX: ffffffff82fd5675
RDX: dffffc0000000000 RSI: ffffffff82fd5457 RDI: 0000000000000018
RBP: ffff8880ae809bf8 R08: ffff8880657d0180 R09: 0000000000000005
R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: 0000000000000000
R13: 0000000000000000 R14: ffff88808ef20e98 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffde2ae3a08 CR3: 0000000008a6d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/28 02:28 net-old 3e66b7cc50ef 6bd61501 .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.