From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757287AbcAYPLC (ORCPT ); Mon, 25 Jan 2016 10:11:02 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:58666 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751092AbcAYPK6 (ORCPT ); Mon, 25 Jan 2016 10:10:58 -0500 Date: Mon, 25 Jan 2016 16:10:55 +0100 From: Heinz Diehl To: linux-kernel@vger.kernel.org Subject: BUG: Asus laptop, null pointer dereference Message-ID: <20160125151055.GA1750@fritha.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Accept-Language: no,dk,se,en,de Organization: private site OpenPGP: id=60F4A92C; url=http://www.fritha.org/htd.asc; preference=signencrypt User-Agent: Mutt/1.5.24+54 (df42596d08fe) (2015-08-30) X-Provags-ID: V03:K0:XS1lO8eLJPgY2i/XTRZDZmT1XmRL4tXoKPiysNF6NAXY85FnbOM GV3TvOp3hSJr9IvetdIcMijnf7sB0C1vKMc7phItQ4NWsdKeQbh3dGD0zeVtzeszpk0QPqg ERDTwy59vmNnmkboFNx4gahWosbBbxLSg1cxZtoHoi05RLJpcUH3gcA1SrP7EtacZYFtbmy 4XKvkaBxwVlOFS4b0QTcA== X-UI-Out-Filterresults: notjunk:1;V01:K0:/oh6G/ze3Xs=:KKp9vIxNr6CTmre3heUgrl Gsu/1Vxj39kTsRxd6BJpIxh9bzMWX6/Qcom9n6qcF+XcMRDNSjHmqGSFEZqnMZfYKnOkR67Uz PFnGpRFiMR1nCwhlAio0lKocjMHq59TbPPM8pfueTwnccOplnifpmdNgq0CkzHxhVzS0aFDmH 0lM6i48gRUIRRinfyn0oOLI/d36zvt+A1kZGrlk4NYE354ymcO/HMOS1kk3jVzKQAQ3gnGQO8 cEOmSEpf89S6BXzYqSQyb4AaVq8bExA0LP1e8+GHu/PriDLfNLlUwDu9beHxYGv2DHAQPMEP1 M//6OkGuM5N2wtckctwqmF60qq+x9/3+5/PV7o5gtmnBwaXCRMO1B3wPeJFFrnaOf5tJHOYVE kxCupB/JKLN+UNnwNUbM7Wg3+1x501YQzFwhCCuRu70K0xWavxUB1TzLAVW/lQDE4KHFR4wc9 a3mzf2l0ZvBmXyP2nkHoiNzMLAusM7bOt9q7/8gO1X9gTWHS0beR1baIr5IWQIADieP+wx0rK twKHuCqZLjLLlcoSeKbphlmWNh+5Wn6fm253lMoUiRfZ/rWbCwM1kVLbEtp2LaatRLdVC/ZKC hpPUCrCEC4qE9eudSQQJX6p72cdxLaSiv0DuU8DEFhxyGQPS22LB1DaNzucPm2eic2s7cq1qb QJCPhr4hEoB84wwSo67ceLuSbgbMh7RXfnl5SvUvFwmwJaZx+14z9zYTkQIWXBtPMdi0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I'm hitting the following bug when starting my Asus U45JC laptop. This happens with both 4.4.0 and 4.5-rc1. 4.3.x (and any older kernel) is fine. [ 4.056862] asus_laptop: model detected [ 4.058731] BUG: unable to handle kernel NULL pointer dereference at 0000000000000e20 [ 4.060018] IP: [] asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop] [ 4.061346] PGD 0 [ 4.062629] Oops: 0000 [#1] PREEMPT SMP [ 4.063960] Modules linked in: wmi asus_laptop(+) input_polldev sparse_keymap rfkill nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc sch_fq_codel tcp_westwood xfs libcrc32c hid_logitech_dj crc32c_intel serio_raw atl1c i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm i2c_core video [ 4.067026] CPU: 1 PID: 536 Comm: systemd-udevd Not tainted 4.4.0 #1 [ 4.068515] Hardware name: ASUSTeK Computer Inc. U45JC/U45JC, BIOS U45JC.208 02/24/2011 [ 4.070023] task: ffff88003645b680 ti: ffff8800a4a0c000 task.ti: ffff8800a4a0c000 [ 4.071568] RIP: 0010:[] [] asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop] [ 4.073188] RSP: 0000:ffff8800a4a0faf8 EFLAGS: 00010282 [ 4.074820] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 4.076462] RDX: 0000000000000000 RSI: ffffffffc03d63c0 RDI: ffff88003675b420 [ 4.078109] RBP: ffff8800a4a0fb08 R08: ffff8801428940c8 R09: 0000000000000124 [ 4.079777] R10: ffff88014348d100 R11: 0000000000000014 R12: ffffffffc03d4940 [ 4.081470] R13: 0000000000000000 R14: ffff8801418af000 R15: ffffffffc03d6220 [ 4.083156] FS: 00007f58ba6dd8c0(0000) GS:ffff880147c40000(0000) knlGS:0000000000000000 [ 4.084885] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.086611] CR2: 0000000000000e20 CR3: 00000000a49f3000 CR4: 00000000000006e0 [ 4.088351] Stack: [ 4.090066] 0000000000000000 ffffffffc03d4940 ffff8800a4a0fb50 ffffffff8122d12b [ 4.091838] 0000000000000000 ffff88003675b420 ffff880141327000 0000000000000000 [ 4.093606] 0000000000000000 ffff880036b42498 0000000000000001 ffff8800a4a0fb60 [ 4.095386] Call Trace: [ 4.097151] [] internal_create_group+0xbb/0x310 [ 4.098943] [] sysfs_create_group+0x13/0x20 [ 4.100748] [] asus_acpi_add+0x3bb/0xea0 [asus_laptop] [ 4.102583] [] acpi_device_probe+0x4f/0xf5 [ 4.104415] [] driver_probe_device+0x167/0x490 [ 4.106254] [] __driver_attach+0x84/0x90 [ 4.108087] [] ? driver_probe_device+0x490/0x490 [ 4.109931] [] bus_for_each_dev+0x64/0xa0 [ 4.111724] [] driver_attach+0x1e/0x20 [ 4.113509] [] bus_add_driver+0x1eb/0x280 [ 4.115273] [] ? 0xffffffffc03da000 [ 4.117032] [] driver_register+0x60/0xe0 [ 4.118818] [] acpi_bus_register_driver+0x38/0x40 [ 4.120619] [] asus_laptop_init+0x2a/0x1000 [asus_laptop] [ 4.122433] [] do_one_initcall+0xab/0x1c0 [ 4.124276] [] do_init_module+0x5f/0x1e5 [ 4.126114] [] load_module+0x1f3f/0x2530 [ 4.127943] [] ? __symbol_put+0x50/0x50 [ 4.129786] [] ? copy_module_from_fd.isra.50+0xdb/0x130 [ 4.131653] [] SyS_finit_module+0x9a/0xc0 [ 4.133521] [] entry_SYSCALL_64_fastpath+0x12/0x6a [ 4.135378] Code: c7 80 48 3d c0 e8 11 7e d7 c0 4c 89 f7 e8 66 3c e5 ff e9 27 ff ff ff 90 66 66 66 66 90 55 48 89 e5 41 54 53 48 8b 87 90 00 00 00 <4c> 8b a0 20 0e 00 00 0f b6 80 95 0d 00 00 84 c0 74 1a 48 81 fe [ 4.139719] RIP [] asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop] [ 4.141788] RSP [ 4.143809] CR2: 0000000000000e20 [ 4.145867] ---[ end trace 7d8d7d572a3e9126 ]--- Thanks, Heinz.