audit: type=1400 audit(1544074426.804:5): avc: denied { associate } for pid=2079 comm="syz-executor0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 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 Modules linked in: CPU: 1 PID: 10948 Comm: syz-executor3 Not tainted 4.9.143+ #75 task: ffff8801c6374740 task.stack: ffff8801d7210000 RIP: 0010:[] [] n_tty_set_termios+0x2a3/0xd30 drivers/tty/n_tty.c:1815 RSP: 0018:ffff8801d72177b0 EFLAGS: 00010203 RAX: 0000000000000006 RBX: 0000000000000000 RCX: 000000000000000b RDX: dffffc0000000000 RSI: ffffffff81d3041f RDI: ffff8801d7217854 RBP: ffff8801d72177e8 R08: ffff8801c6375060 R09: 39dcd536341304cb R10: ffff8801c6374740 R11: 0000000000000001 R12: ffff8801c9134400 R13: ffff8801c91347b4 R14: 000000000000005d R15: ffff8801d7217848 FS: 00007f7024cc8700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 00000001c8fa0000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c9134400 ffff880100000006 ffff8801c6e56740 ffffffff81d30190 dffffc0000000000 ffff8801c91347cc ffff8801c9134400 ffff8801d72178d0 ffffffff81d3b0f6 7fffffff00000001 00ff8801000000bf 1ffff1003ae42f05 Call Trace: [] tty_set_termios+0x626/0x8a0 drivers/tty/tty_ioctl.c:562 [] set_termios+0x311/0x520 drivers/tty/tty_ioctl.c:635 [] tty_mode_ioctl+0x8c2/0x980 drivers/tty/tty_ioctl.c:970 [] n_tty_ioctl_helper+0x44/0x370 drivers/tty/tty_ioctl.c:1161 [] n_tty_ioctl+0x46/0x2e0 drivers/tty/n_tty.c:2466 [] tty_ioctl+0x440/0x2190 drivers/tty/tty_io.c:3014 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:493 [inline] [] do_vfs_ioctl+0x1ac/0x11a0 fs/ioctl.c:677 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: d2 0f 85 9b 09 00 00 41 8b 84 24 b4 03 00 00 89 45 d0 e8 a1 b7 5e ff 4c 89 f1 8b 45 d0 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 <0f> b6 14 11 4c 89 f1 83 e1 07 d1 e8 83 e0 01 38 ca 7f 08 84 d2 RIP [] n_tty_set_termios+0x2a3/0xd30 drivers/tty/n_tty.c:1815 RSP ---[ end trace d0969deb9e62f85c ]---