WARNING in hci_uart_set_baudrate

5 views
Skip to first unread message

syzbot

unread,
Apr 29, 2020, 2:08:14 PM4/29/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 050272a0 Linux 4.14.177
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1430a9f8100000
kernel config: https://syzkaller.appspot.com/x/.config?x=b24dc669afb42f8b
dashboard link: https://syzkaller.appspot.com/bug?extid=3ab398168e085f06760d
compiler: gcc (GCC) 9.0.0 20181231 (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+3ab398...@syzkaller.appspotmail.com

security_sid_to_context_core+0x187/0x200 security/selinux/ss/services.c:1294
------------[ cut here ]------------
selinux_inode_init_security+0x45a/0x680 security/selinux/hooks.c:2977
WARNING: CPU: 0 PID: 1191 at drivers/tty/tty_ioctl.c:318 tty_set_termios+0x71e/0x840 drivers/tty/tty_ioctl.c:318
Kernel panic - not syncing: panic_on_warn set ...

security_inode_init_security security/security.c:481 [inline]
security_inode_init_security+0x15f/0x320 security/security.c:465
__ext4_new_inode+0x353a/0x4e90 fs/ext4/ialloc.c:1171
ext4_mkdir+0x2e4/0xb60 fs/ext4/namei.c:2665
vfs_mkdir+0x3af/0x620 fs/namei.c:3849
SYSC_mkdirat fs/namei.c:3872 [inline]
SyS_mkdirat fs/namei.c:3856 [inline]
SYSC_mkdir fs/namei.c:3883 [inline]
SyS_mkdir+0x1bc/0x210 fs/namei.c:3881
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45bca7
RSP: 002b:00007f8760f38a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000000000508240 RCX: 000000000045bca7
RDX: 0000000000000007 RSI: 00000000000001ff RDI: 0000000020000100
RBP: 000000000078bf00 R08: 0000000000000000 R09: 000000000000000a
R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000006
R13: 0000000000000bde R14: 00000000004cdfbd R15: 00007f8760f396d4
CPU: 0 PID: 1191 Comm: kworker/u5:0 Not tainted 4.14.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci0 hci_power_on
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x13e/0x194 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x2f/0x30 kernel/panic.c:547
report_bug+0x20a/0x248 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:963
RIP: 0010:tty_set_termios+0x71e/0x840 drivers/tty/tty_ioctl.c:318
RSP: 0018:ffff8880a79afb28 EFLAGS: 00010297
RAX: ffff8880a79a0400 RBX: 1ffff11014f35f68 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880a79afc28 RDI: ffff8880a5a64838
RBP: ffff8880a79afc28 R08: dffffc0000000000 R09: ffffffff8a060808
R10: ffff8880a79afcd8 R11: ffff8880a79a0400 R12: ffff8880a5a64800
R13: 000000000001c200 R14: 000000000001c200 R15: ffff88804ade8000
hci_uart_set_baudrate+0x13f/0x190 drivers/bluetooth/hci_ldisc.c:389
hci_uart_setup+0x8c/0x410 drivers/bluetooth/hci_ldisc.c:412
hci_dev_do_open+0x546/0xf10 net/bluetooth/hci_core.c:1384
hci_power_on+0x88/0x3d0 net/bluetooth/hci_core.c:2080
process_one_work+0x813/0x1540 kernel/workqueue.c:2116
worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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.

syzbot

unread,
Aug 27, 2020, 2:08:11 PM8/27/20
to syzkaller...@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