Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp456012pxa; Wed, 12 Aug 2020 06:26:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtt8Or9AWeBpJLbQ43GofTGvzqf4782IvsfaTs5A23+tJgBUgHW2w3CAgSW2IQOa7w3B0z X-Received: by 2002:a17:906:fa15:: with SMTP id lo21mr32393568ejb.42.1597238769888; Wed, 12 Aug 2020 06:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597238769; cv=none; d=google.com; s=arc-20160816; b=B6e3mqxieTI3LLrvxm0rQkAVNSbcLKmgU3zH0GpJBJaY8FR3mq19V3k9TMp/yLYBXG pz+KfLEOOiOuTN6EZ3fT2vJP2dAZnCf3milK5OgbQsHHSLUbOMY+G9sCeSiB87B169MR /046ew0uRzSNlMLbjOKh32/Yu8qzTvc3SvWfB6tlEIO911YYSjPiShS3kHVehm72j+dO LRF6e3yZV6pldKZ1qlGAEM+d4JbkbpNqT5dik25lcyxmknYOym8i+O8vs92sGPOgGoq+ 38hgoTtrx5lP7b8fg4A3M1yRy3yfj7synMr2XSDWoWFLuW7nA3flAEakFBtTUTTsR5tQ FEvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=LqyDHTGklklfaDmwpguz/tusuYDRoAks+1hcszFn1HY=; b=IRiRWTTfSuYKSSnd3as6X9AYE1elvFuwm71Td0RSWRUSetTfDJi6DG2+j6UPudM7SS uwXhk1fC8tijys9bd5W9qJXwQm395eAg0pwJGOVc3eAmDRASUY/MjBiLQzqjja+LZNdS v2nllB1mDEkj7jsaNjztb5v1JI2O3TqRWqWZZWiHNmM3DQgG3NvO3lWeEyADDejSkPlb l3vnJ1UoA6heo2x/fc88HJm3Q8eu/esU2CPHikkKdlRaCA72xPNQPE8WXdsfRxBKitzF XemiiFH0d7KfYfuSblQfyIZR3Q0Erm2UM0teu64P4WFQJcqaAKWaZT8egUV5fYT+oZ70 IgiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K8oKxBl+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si1318431edn.223.2020.08.12.06.25.44; Wed, 12 Aug 2020 06:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K8oKxBl+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726804AbgHLNWI (ORCPT + 99 others); Wed, 12 Aug 2020 09:22:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbgHLNWG (ORCPT ); Wed, 12 Aug 2020 09:22:06 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A124C06174A for ; Wed, 12 Aug 2020 06:22:05 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id k23so2423082iom.10 for ; Wed, 12 Aug 2020 06:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=LqyDHTGklklfaDmwpguz/tusuYDRoAks+1hcszFn1HY=; b=K8oKxBl+BWXQaDynneB6u8gUp94iZ62ttkbLOTUSEQ3fVIrUDUpqml1C71vir15wv6 d1tSUUou4apOwCAtU/WyzRIR5mEFUDSJb5K4qoU37r9pSbU4ToLI4a+ZqJ518A864Et1 LpHTZNczIbXES1HPwPv2LPnshBGgIAr1/Ee+Q7jzGKvx9yHBWaKMc6UJ7ofvGXMIkHuv v+8IHU4dHdNNU5l/pVe42DdmgQ9RqrX3wPeVcxq0ULVDfxXTXgfmalZ3aBC30Tg6qQe8 FForRPaXQgU9OXDZclXVYu1cY3CO2yiSh4bieeW/8oY5xBenI/espD9KnTXQk9pHiPnv bXyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LqyDHTGklklfaDmwpguz/tusuYDRoAks+1hcszFn1HY=; b=K0D2YZskESnlVRXeAzh/n3yRitY5MSChWRBjNqBDa1fg39syJgtClL4GDKX0+hpOnv 1Ehd6dsb9a/GPyUDqPs5U9ToMKfhyxhhCjXFPyL6tox1EksMtNbycuy7KZWbO0T7T4y/ oe8TlOT+PU8LXplRJjeMU25AgYKZwh26iAB/xWufFjFB0VHFzZg08VqK8UvllD9pC9h/ yWmmzoEhiZbVeTQr083peVmpPPuqIIOWDBB/XguDTambzbk6N4wgTDly/gu+YWcRcdYj TUSFEQh5MpeSn+WwZ/66h1aXVywvT+2w4hLOWA/ZeK0BjQUqzAY2WlAIODMUSOywh8qJ fLFQ== X-Gm-Message-State: AOAM5310XNJVlTfYRO537uugFcwjTIS+311xYBNbmPGdqx5ChRXu6dlT kArte8CksZUijD+HC/XOrgwYhYM0vpJPo6zB8kEeHA== X-Received: by 2002:a05:6602:2c08:: with SMTP id w8mr28417120iov.129.1597238525008; Wed, 12 Aug 2020 06:22:05 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 12 Aug 2020 18:51:53 +0530 Message-ID: Subject: BUG: unable to handle page fault for address: fe80c000 - EIP: memcpy+0xf/0x20 To: Linux-Next Mailing List , open list , linux-mm , X86 ML Cc: lkft-triage@lists.linaro.org, Andrew Morton , ardb@kernel.org, Herbert Xu , Brian Gerst , Andy Lutomirski , Michel Lespinasse , Peter Zijlstra , daniel.m.jordan@oracle.com, Borislav Petkov , Ingo Molnar , Thomas Gleixner 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 While testng LTP CVE cve-2017-17053 test case the kernel BUG triggered on qemu_i386. Not easily reproducible BUG. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: 4c9b89d8981be3b9032f94d0c4dc7eb9c7967a32 git describe: next-20200811 make_kernelversion: 5.8.0 kernel-config: https://builds.tuxbuild.com/Y9BHRF7J_qXysFPxUoVmBA/kernel.config [ 1083.853006] BUG: unable to handle page fault for address: fe80c000 [ 1083.853850] #PF: supervisor write access in kernel mode [ 1083.854577] #PF: error_code(0x0002) - not-present page [ 1083.855074] *pde = 33183067 *pte = a8648163 [ 1083.855074] Oops: 0002 [#1] SMP [ 1083.855951] CPU: 1 PID: 13514 Comm: cve-2017-17053 Tainted: G W 5.8.0-next-20200811 #1 [ 1083.857088] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1083.857771] EIP: memcpy+0xf/0x20 [ 1083.857771] Code: 68 d0 7d ee d6 e8 11 1c c7 ff 0f 31 31 c3 59 58 eb 80 cc cc cc cc cc cc cc cc cc 55 89 e5 57 89 c7 56 89 d6 53 89 cb c1 e9 02 a5 89 d9 83 e1 03 74 02 f3 a4 5b 5e 5f 5d c3 90 55 89 e5 57 89 [ 1083.860096] EAX: fe80c000 EBX: 00010000 ECX: 00004000 EDX: fbfbd000 [ 1083.860096] ESI: fbfbd000 EDI: fe80c000 EBP: f11f1e2c ESP: f11f1e20 [ 1083.860096] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010216 [ 1083.860096] CR0: 80050033 CR2: fe80c000 CR3: 314c0000 CR4: 003506d0 [ 1083.860096] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 1083.860096] DR6: ffff4ff0 DR7: 00000400 [ 1083.860096] Call Trace: [ 1083.860096] ldt_dup_context+0x66/0x80 [ 1083.860096] dup_mm+0x2b3/0x480 [ 1083.866900] copy_process+0x133b/0x15c0 [ 1083.866900] _do_fork+0x94/0x3e0 [ 1083.866900] __ia32_sys_clone+0x67/0x80 [ 1083.866900] __do_fast_syscall_32+0x3f/0x70 [ 1083.866900] do_fast_syscall_32+0x29/0x60 [ 1083.866900] do_SYSENTER_32+0x15/0x20 [ 1083.866900] entry_SYSENTER_32+0x9f/0xf2 [ 1083.866900] EIP: 0xb7eef549 [ 1083.866900] Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76 [ 1083.866900] EAX: ffffffda EBX: 01200011 ECX: 00000000 EDX: 00000000 [ 1083.866900] ESI: 00000000 EDI: b7cf1ba8 EBP: b7cf1348 ESP: b7cf12f0 [ 1083.866900] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000246 [ 1083.866900] Modules linked in: algif_hash [ 1083.866900] CR2: 00000000fe80c000 [ 1083.866900] ---[ end trace b07b25e6d94bccb1 ]--- [ 1083.866900] EIP: memcpy+0xf/0x20 [ 1083.866900] Code: 68 d0 7d ee d6 e8 11 1c c7 ff 0f 31 31 c3 59 58 eb 80 cc cc cc cc cc cc cc cc cc 55 89 e5 57 89 c7 56 89 d6 53 89 cb c1 e9 02 a5 89 d9 83 e1 03 74 02 f3 a4 5b 5e 5f 5d c3 90 55 89 e5 57 89 [ 1083.866900] EAX: fe80c000 EBX: 00010000 ECX: 00004000 EDX: fbfbd000 [ 1083.866900] ESI: fbfbd000 EDI: fe80c000 EBP: f11f1e2c ESP: f11f1e20 [ 1083.866900] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010216 [ 1083.866900] CR0: 80050033 CR2: fe80c000 CR3: 314c0000 CR4: 003506d0 [ 1083.866900] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 1083.866900] DR6: ffff4ff0 DR7: 00000400 Full test log link, https://qa-reports.linaro.org/lkft/linux-next-oe/build/next-20200811/testrun/3052660/suite/linux-log-parser/test/check-kernel-bug-1659337/log -- Linaro LKFT https://lkft.linaro.org