Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2146351imm; Sat, 12 May 2018 06:42:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoPveGjRpBTVqsmKoOnnWuEEdE3jQzYrDqTsyzZSGDjBrw9AgliIhVnRNNK5+pK2iZc2u/n X-Received: by 2002:a17:902:4081:: with SMTP id c1-v6mr2561674pld.60.1526132560558; Sat, 12 May 2018 06:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526132560; cv=none; d=google.com; s=arc-20160816; b=H/o4q8Ss42a4JrmzTNd/5er5oPRWu6XI/f5fKIx2c0XZENtbpcoNkjyvNuza5qFhrs 7irFbB+1mLdV2kvU3PRMF4iPnXfkl3qweaTKbSfxjay2zfhBppiepL+ivPiGG8GlYcUi basqtsFEeY9FQ5ZWdzX97UmzgZcK7oeTuVbOpHcsQShf3D4N+bgKiStaep6KdhGbudoD Z5ogkzkleP/ZAJNJzzzoRDZghjNBaSJX5KyeD6t0NnJxB3Li9zT4c9h5hvsUQ4PLCzuD +avOpppI8YKnmRu9uEuzmzJ1VmgeuEFJ5A8o9ToOsl6l74hTIiDMWHvIlp6leQsAKg4O m7JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=2S91d5NAKFV701J4WPByIICigRjSqsEj8HNLxogGOs0=; b=PnWYPRZBR0Dpr5ERjd/jGNd+jOxDDmeFGvPGb9vk2Wz3FZ5ylOp/j0YjhYpPfHbYhP 80s0OOTs9U4q+2V4qzUy7ZkQB6YrAKB7OYFUipe1kpIiETuXeMBS9xvfAlBs2NidkGha 3we0uDaAjfQPvbEvqYKiVDIB9BqoGzq+RWs6ps6zmx5fijjFK09I6UtC0cUZxkQeHjjr N2pe3T2/Za8hJ60CfNutZ1iB/2UHJv8Zg1CEfoto61gxH1bRd/fUZlJUHzOVY4oPSLF1 jtSNDh1vhOIhNNSzQdk3uCEw3eDCJpSPrEgGKhsGKk1n2GAyuPG9cLORt+5YSjbM0FlY 5AoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YSQLoUS6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2-v6si4304580pgq.278.2018.05.12.06.41.52; Sat, 12 May 2018 06:42:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YSQLoUS6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751048AbeELNlp (ORCPT + 99 others); Sat, 12 May 2018 09:41:45 -0400 Received: from mail-it0-f45.google.com ([209.85.214.45]:35803 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750793AbeELNlo (ORCPT ); Sat, 12 May 2018 09:41:44 -0400 Received: by mail-it0-f45.google.com with SMTP id q72-v6so5560544itc.0 for ; Sat, 12 May 2018 06:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2S91d5NAKFV701J4WPByIICigRjSqsEj8HNLxogGOs0=; b=YSQLoUS6PIH+t320MBeezl7nd4mbiGfusi4q5w/rG8HCSeEhzQxisdi0qKkyory9/r iDTVT0McVqRzAj2wp5tQcZmSvnY7XcC+K7xtFl8WxtalJyTd/pwLgUPPkNk2BggxhRX5 zSZEQ6AjJHt5sFWWfnR6bDrdECrdNcIwpZ4UAnmxZCkkg4PaulXE8APRvFtfGzs+j5nN WjBobpBonkA/IoWXESJxW4z2NOMqEQrCxy4xQ/lZWqEujUixRceHSAw19SdMLFyW/Cep 5MBAmVPj9pCj0WU18wOQpz5biNBhdV2+EbZY/vszjRUgkerHrKXfD/Rr00fDeQGrcp/W eV6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2S91d5NAKFV701J4WPByIICigRjSqsEj8HNLxogGOs0=; b=f032RSgk7co3hwir8XblsnuweKm8NL9i+z4xXNUxFN0pFo64JqBuqyFcIZENuzsXlW foPmtGodg8z/eEFsN4eB8Ca8XwPxUoIz81PVdfbk9ASKyybD6FoUHP36StyJBJ57cwwk T81tue2pH9VX5rH+VstrtWnwB2f00lSe/+EyHZdXIgu8i8KXmW+Xlq+eV9szOtAjobND Ez+CJmx3Rt3ajX26Z/p7DNdJ6slncKT0RdFgzPuThL6aB0WF9tmfYNdcVmKe3v7jJlxo aXUxu3JJWp6GyodvicTvKkUfXgwtAzdp/eK7hS4f+9Pyf0gXdgxY1XoeUCrQ+UxSBh1K FtBQ== X-Gm-Message-State: ALKqPweaIgPQyLyVsSaIeLDYEPqTb3LJwnH8fjru24cJ7ALb3hrJoxTq KEEbhebMU9gouPOKHmSdKbJZAzpax52bLCuJ7EA= X-Received: by 2002:a24:490b:: with SMTP id z11-v6mr2205500ita.3.1526132503134; Sat, 12 May 2018 06:41:43 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:a157:0:0:0:0:0 with HTTP; Sat, 12 May 2018 06:41:42 -0700 (PDT) In-Reply-To: References: From: Kyungtae Kim Date: Sat, 12 May 2018 09:41:42 -0400 Message-ID: Subject: Fwd: BUG: unable to handle kernel paging request in write_port To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ---------- Forwarded message ---------- From: Kyungtae Kim Date: Sat, May 12, 2018 at 9:40 AM Subject: BUG: unable to handle kernel paging request in write_port To: Arnd Bergmann , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: Byoungyoung Lee , DaeRyong Jeong We report the crash: "BUG: unable to handle kernel paging request in write_port" This crash was found in v4.17-rc3. C repro code: https://kiwi.cs.purdue.edu/static/alexkkid-fuzzer/repro-0cc6c.c kernel config: https://kiwi.cs.purdue.edu/static/alexkkid-fuzzer/kernel-config-v4.17-rc3 Crash log: BUG: unable to handle kernel paging request at ffffc90001eb5f90 PGD 1150c2067 P4D 1150c2067 PUD 1150c3067 PMD 10cd1e067 PTE 0 Oops: 0002 [#1] SMP KASAN PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 2925 Comm: syz-executor7 Not tainted 4.17.0-rc3 #2 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 RIP: 0010:outb arch/x86/include/asm/io.h:333 [inline] RIP: 0010:write_port+0xda/0x190 drivers/char/mem.c:640 RSP: 0018:ffff88011095fc40 EFLAGS: 00010286 RAX: 000000001095feaf RBX: 000000002000163f RCX: ffffffff8286ca77 RDX: 0000000000010000 RSI: ffffc90001eb6000 RDI: ffff880114403f58 RBP: ffff88011095fc78 R08: ffffffffa9c6c9a0 R09: 0000000000000000 R10: ffff880115622813 R11: ffffed0022ac4503 R12: 000000000000007f R13: 000000000000000c R14: 0000000000000000 R15: ffff88011095feaf FS: 00007f40dbe46700(0000) GS:ffff880115600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90001eb5f90 CR3: 00000001117ca000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vfs_write+0x10d/0x610 fs/read_write.c:485 vfs_write+0x187/0x500 fs/read_write.c:549 ksys_write+0xd4/0x1a0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0xa4/0x460 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4497b9 RSP: 002b:00007f40dbe45c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f40dbe466cc RCX: 00000000004497b9 RDX: 000000000000008c RSI: 00000000200015c0 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000009ee8 R14: 00000000006f0f88 R15: 00007f40dbe46700 Code: 49 81 fc ff ff 00 00 4c 8d 6b ff 0f 87 af 00 00 00 48 85 db 0f 84 a6 00 00 00 48 8b 5d d0 45 31 f6 eb 2c e8 59 00 b1 fe 44 89 f8 <44> 89 66 90 49 83 c4 01 48 83 c3 01 4d 85 ed 0f 95 c2 49 81 fc RIP: outb arch/x86/include/asm/io.h:333 [inline] RSP: ffff88011095fc40 RIP: write_port+0xda/0x190 drivers/char/mem.c:640 RSP: ffff88011095fc40 CR2: ffffc90001eb5f90 ---[ end trace 6917feb3b143574b ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: 0x27400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Thanks, Kyungtae Kim