Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbcJJUJv (ORCPT ); Mon, 10 Oct 2016 16:09:51 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:58283 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752161AbcJJUJs (ORCPT ); Mon, 10 Oct 2016 16:09:48 -0400 Date: Mon, 10 Oct 2016 16:09:45 -0400 (EDT) From: CAI Qian To: Rob Herring Cc: Greg Kroah-Hartman , linux-kernel Message-ID: <1067379191.120724.1476130185335.JavaMail.zimbra@redhat.com> In-Reply-To: References: <907882571.66590.1476113724660.JavaMail.zimbra@redhat.com> <1219480016.67057.1476113847440.JavaMail.zimbra@redhat.com> <20161010172023.GA7148@kroah.com> <413753922.104089.1476123745966.JavaMail.zimbra@redhat.com> Subject: Re: kasan inline + CONFIG_DEBUG_TEST_DRIVER_REMOVE kernel panic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.41.13] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC45 (Linux)/8.0.6_GA_5922) Thread-Topic: kasan inline + CONFIG_DEBUG_TEST_DRIVER_REMOVE kernel panic Thread-Index: agM6DAnHSrA4LtsYlT4dMdzCEvhRlg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4136 Lines: 68 > Is the backtrace the same in that case? Very close. I saw "intel" there, and here is the list those modules on the system. # lsmod | grep intel intel_rapl 20480 0 intel_powerclamp 16384 0 kvm_intel 208896 0 kvm 630784 1 kvm_intel ghash_clmulni_intel 16384 0 aesni_intel 167936 0 lrw 16384 1 aesni_intel glue_helper 16384 1 aesni_intel ablk_helper 16384 1 aesni_intel cryptd 24576 3 ablk_helper,ghash_clmulni_intel,aesni_intel crc32c_intel 24576 1 [ 17.884926] BUG: unable to handle kernel NULL pointer dereference at (null) [ 17.893700] IP: [] device_del+0x17/0x280 [ 17.899848] PGD 0 [ 17.902109] Oops: 0000 [#1] PREEMPT SMP [ 17.906394] Modules linked in: [ 17.909823] CPU: 68 PID: 1 Comm: swapper/0 Not tainted 4.8.0-remove-nokasan+ #5 [ 17.917985] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS GRRFSDP1.86B.0271.R00.1510301446 10/30/2015 [ 17.929347] task: ffff8810556c8000 task.stack: ffffc90000078000 [ 17.935955] RIP: 0010:[] [] device_del+0x17/0x280 [ 17.944811] RSP: 0000:ffffc9000007bc00 EFLAGS: 00010286 [ 17.950742] RAX: 0000000000000000 RBX: ffff88085c8e3c00 RCX: 0000000000000001 [ 17.958708] RDX: ffff881059d60000 RSI: 000000000000000b RDI: 0000000000000000 [ 17.966675] RBP: ffffc9000007bc38 R08: 00000000d38c0f63 R09: 0000000000000000 [ 17.974640] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 17.982606] R13: ffff881054099000 R14: 0000000000000001 R15: 0000000000000000 [ 17.990574] FS: 0000000000000000(0000) GS:ffff88105e400000(0000) knlGS:0000000000000000 [ 17.999606] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.006022] CR2: 0000000000000000 CR3: 0000000001c06000 CR4: 00000000003406e0 [ 18.013989] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 18.021954] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 18.029919] Stack: [ 18.032163] 0000000000000000 00000000dd652bd0 ffff88085c8e3c00 ffff88085c8e3c00 [ 18.040475] ffff88085c8e3400 ffff881054099000 0000000000000001 ffffc9000007bc58 [ 18.048788] ffffffff811c9680 ffff88085c8e3c00 ffff88085c8e3400 ffffc9000007bc88 [ 18.057090] Call Trace: [ 18.059819] [] perf_pmu_unregister+0x90/0x150 [ 18.066529] [] uncore_pci_remove+0xc8/0x160 [ 18.073044] [] pci_device_remove+0x39/0xc0 [ 18.079468] [] driver_probe_device+0xbe/0x4d0 [ 18.086176] [] __driver_attach+0xe3/0xf0 [ 18.092399] [] ? driver_probe_device+0x4d0/0x4d0 [ 18.099400] [] bus_for_each_dev+0x73/0xc0 [ 18.105722] [] driver_attach+0x1e/0x20 [ 18.111752] [] bus_add_driver+0x200/0x270 [ 18.118078] [] driver_register+0x60/0xe0 [ 18.124303] [] __pci_register_driver+0x60/0x70 [ 18.131117] [] intel_uncore_init+0x277/0x2df [ 18.137728] [] ? uncore_type_init+0x15f/0x15f [ 18.144441] [] do_one_initcall+0x50/0x190 [ 18.150768] [] ? parse_args+0x2d1/0x490 [ 18.156894] [] kernel_init_freeable+0x1ff/0x29e [ 18.163801] [] ? rest_init+0x140/0x140 [ 18.169831] [] kernel_init+0xe/0x100 [ 18.175668] [] ret_from_fork+0x2a/0x40 [ 18.181695] Code: e8 cf d4 29 00 5b 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 56 41 55 41 54 53 49 89 fc 48 83 ec 18 <4c> 8b 2f 65 48 8b 04 25 28 00 00 00 48 89 45 d8 31 c0 48 8b 87 [ 18.203631] RIP [] device_del+0x17/0x280 [ 18.209867] RSP [ 18.213759] CR2: 0000000000000000 [ 18.217548] ---[ end trace 91188545987fc9d9 ]--- [ 18.222706] Kernel panic - not syncing: Fatal exception [ 18.228692] ---[ end Kernel panic - not syncing: Fatal exception