general protection fault in tomoyo_domain_quota_is_ok

6 views
Skip to first unread message

syzbot

unread,
May 28, 2019, 10:08:08 AM5/28/19
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 3e66b7cc net: tulip: de4x5: Drop redundant MODULE_DEVICE_T..
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=149da25ca00000
kernel config: https://syzkaller.appspot.com/x/.config?x=fc045131472947d7
dashboard link: https://syzkaller.appspot.com/bug?extid=f005ead98a5639f09784
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [jmo...@namei.org linux-...@vger.kernel.org
linux-secu...@vger.kernel.org penguin...@I-love.SAKURA.ne.jp
se...@hallyn.com take...@nttdata.co.jp net...@vger.kernel.org]

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+f005ea...@syzkaller.appspotmail.com

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


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

Dmitry Vyukov

unread,
May 28, 2019, 12:21:16 PM5/28/19
to syzbot, 'Dmitry Vyukov' via syzkaller-upstream-moderation
FTR, I've tried to re-run the log manually, but it did not reproduce any crash.

syzbot

unread,
Oct 25, 2019, 4:38:07 AM10/25/19
to dvy...@google.com, syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages