Hello,
syzbot found the following crash on:
HEAD commit: b859aa7d ANDROID: squashfs: resolve merge conflict with 4...
git tree: android-4.14
console output:
https://syzkaller.appspot.com/x/log.txt?x=11f2d4d1400000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c0bdd1b757a6ba0b
dashboard link:
https://syzkaller.appspot.com/bug?extid=59fea288502f5f19cce0
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
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+59fea2...@syzkaller.appspotmail.com
audit: type=1400 audit(2000000213.825:56608): avc: denied { map } for
pid=31352 comm="blkid" path="/lib/x86_64-linux-gnu/libuuid.so.1.3.0"
dev="sda1" ino=2819 scontext=system_u:system_r:kernel_t:s0
tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1
INFO: task syz-executor4:31269 blocked for more than 140 seconds.
Not tainted 4.14.68+ #4
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor4 D28728 31269 1996 0x80000006
Call Trace:
schedule+0x7f/0x1b0 kernel/sched/core.c:3490
schedule_timeout+0x710/0xe60 kernel/time/timer.c:1718
do_wait_for_common kernel/sched/completion.c:91 [inline]
__wait_for_common kernel/sched/completion.c:112 [inline]
wait_for_common+0x3bc/0x4e0 kernel/sched/completion.c:123
__wait_rcu_gp+0x250/0x3a0 kernel/rcu/update.c:413
synchronize_rcu.part.43+0xd2/0xe0 kernel/rcu/tree_plugin.h:764
synchronize_net+0x3a/0x40 net/core/dev.c:8188
packet_release+0x796/0xb60 net/packet/af_packet.c:3043
__sock_release+0xce/0x250 net/socket.c:602
sock_close+0x15/0x20 net/socket.c:1138
__fput+0x25e/0x6f0 fs/file_table.c:210
task_work_run+0x116/0x190 kernel/task_work.c:113
exit_task_work include/linux/task_work.h:22 [inline]
do_exit+0x8f8/0x2800 kernel/exit.c:865
do_group_exit+0x100/0x2e0 kernel/exit.c:968
get_signal+0x4e5/0x1470 kernel/signal.c:2348
do_signal+0x8f/0x1660 arch/x86/kernel/signal.c:809
exit_to_usermode_loop+0x116/0x150 arch/x86/entry/common.c:159
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:267 [inline]
do_syscall_64+0x35d/0x4b0 arch/x86/entry/common.c:294
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x410c51
RSP: 002b:00007ffe0c696c20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000410c51
RDX: 0000000000000000 RSI: 0000000000731308 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffffffffffff
R10: 00000000009301e0 R11: 0000000000000293 R12: 0000000000000006
R13: 00000000001059e6 R14: 00000000000002b7 R15: badc0ffeebadface
Showing all locks held in the system:
1 lock held by khungtaskd/23:
#0: (tasklist_lock){.+.+}, at: [<ffffffff91a019d7>]
debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541
2 locks held by getty/1906:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff9251c980>]
tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff92517eff>]
n_tty_read+0x1ff/0x15e0 drivers/tty/n_tty.c:2142
1 lock held by syz-executor4/15142:
#0: (rcu_preempt_state.barrier_mutex){+.+.}, at: [<ffffffff91a47d1b>]
_rcu_barrier+0x5b/0x3f0 kernel/rcu/tree.c:3529
4 locks held by kworker/u4:5/26432:
#0: ("%s""netns"){+.+.}, at: [<ffffffff91927237>]
process_one_work+0x787/0x15c0 kernel/workqueue.c:2085
#1: (net_cleanup_work){+.+.}, at: [<ffffffff9192726f>]
process_one_work+0x7bf/0x15c0 kernel/workqueue.c:2089
#2: (net_mutex){+.+.}, at: [<ffffffff92ad2b1c>] cleanup_net+0x14c/0x880
net/core/net_namespace.c:449
#3: (rcu_preempt_state.barrier_mutex){+.+.}, at: [<ffffffff91a47d1b>]
_rcu_barrier+0x5b/0x3f0 kernel/rcu/tree.c:3529
1 lock held by syz-executor4/31269:
#0: (&sb->s_type->i_mutex_key#9){+.+.}, at: [<ffffffff92a818b4>]
inode_lock include/linux/fs.h:713 [inline]
#0: (&sb->s_type->i_mutex_key#9){+.+.}, at: [<ffffffff92a818b4>]
__sock_release+0x84/0x250 net/socket.c:601
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.68+ #4
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0xb9/0x11b lib/dump_stack.c:53
nmi_cpu_backtrace.cold.0+0x47/0x85 lib/nmi_backtrace.c:101
nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline]
watchdog+0x574/0xa70 kernel/hung_task.c:252
kthread+0x348/0x420 kernel/kthread.c:232
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 31326 Comm: syz-executor3 Not tainted 4.14.68+ #4
task: ffff8801d185c680 task.stack: ffff8801ceb80000
RIP: 0033:0x4023c4
RSP: 002b:00007f1da022c690 EFLAGS: 00000292
RAX: 00000000c382cc40 RBX: 0000000000000007 RCX: 0000000000457099
RDX: 0000000000000000 RSI: 00007f1da022c6c0 RDI: 0000000000000007
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d7008 R14: 00000000004ca112 R15: 0000000000000000
FS: 00007f1da022d700(0000) GS:ffff8801dbb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30624000 CR3: 00000001a0ae8006 CR4: 00000000001606a0
---
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.