Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754080AbbDHPU0 (ORCPT ); Wed, 8 Apr 2015 11:20:26 -0400 Received: from ares41.inai.de ([46.4.122.207]:55301 "EHLO ares41.inai.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751383AbbDHPUX (ORCPT ); Wed, 8 Apr 2015 11:20:23 -0400 Date: Wed, 8 Apr 2015 17:20:22 +0200 (CEST) From: Jan Engelhardt To: torvalds@linux-foundation.org cc: Linux Kernel Mailing List Subject: =?UTF-8?Q?Re=3A_NULL_deref_around_xfs_in_v4=2E0-rc1=E2=80=93rc7?= In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6711 Lines: 109 On Wednesday 2015-04-08 15:41, Jan Engelhardt wrote: >Starting somewhere around v4.0-rc1 and persisting through commit >v4.0-rc7, there is a new NULL deference apparently happening in >conjunction with xfs. This inhibits this machine's booting, >as xfs is used for the root filesystem. > >First bisection points at first-bad commit v4.0-rc1~8, and since that is >a merge commit, I'll be investigating some more hand-chosen commits (and >then people to Cc) as we speak. I reran bisect just to be sure. It now shows v4.0-rc1~9 is bad, v4.0-rc1~9^1 is ok, and v4.0-rc~9^2 is ok too. So this means that the combination of the both ~9 childs work badly together. # good: [2bfedd1d9f470506d98cb5662ced381c38225968] Merge branch 'for-linus' of git://git.kernel.dk/linux-block git bisect good 2bfedd1d9f470506d98cb5662ced381c38225968 # bad: [cd50b70ccd5c87794ec28bfb87b7fba9961eb0ae] Merge tag 'pm+acpi-3.20-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm git bisect bad cd50b70ccd5c87794ec28bfb87b7fba9961eb0ae # good: [9d0de5a63a4a22abfd2bd70694a610d18350cf87] Merge branches 'acpi-ec', 'acpi-soc', 'acpi-video' and 'acpi-resources' git bisect good 9d0de5a63a4a22abfd2bd70694a610d18350cf87 # good: [67fadaa2768716209ee19a8b8bf05bc3ac399445] cpufreq: s3c: remove last use of resume_clocks callback git bisect good 67fadaa2768716209ee19a8b8bf05bc3ac399445 # good: [70734a786acfd1998e47d40df19cba5c29469bdf] cpuidle: powernv: Avoid endianness conversions while parsing DT git bisect good 70734a786acfd1998e47d40df19cba5c29469bdf # good: [3466b547e37b988723dc93465b7cb06b4b1f731f] Merge branches 'pnp', 'pm-cpuidle' and 'pm-cpufreq' git bisect good 3466b547e37b988723dc93465b7cb06b4b1f731f # first bad commit: [cd50b70ccd5c87794ec28bfb87b7fba9961eb0ae] Merge tag 'pm+acpi-3.20-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm # good: [2bfedd1d9f470506d98cb5662ced381c38225968] Merge branch 'for-linus' of git://git.kernel.dk/linux-block git bisect good 2bfedd1d9f470506d98cb5662ced381c38225968 # bad: [cd50b70ccd5c87794ec28bfb87b7fba9961eb0ae] Merge tag 'pm+acpi-3.20-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm git bisect bad cd50b70ccd5c87794ec28bfb87b7fba9961eb0ae # good: [9d0de5a63a4a22abfd2bd70694a610d18350cf87] Merge branches 'acpi-ec', 'acpi-soc', 'acpi-video' and 'acpi-resources' git bisect good 9d0de5a63a4a22abfd2bd70694a610d18350cf87 # good: [67fadaa2768716209ee19a8b8bf05bc3ac399445] cpufreq: s3c: remove last use of resume_clocks callback git bisect good 67fadaa2768716209ee19a8b8bf05bc3ac399445 # good: [70734a786acfd1998e47d40df19cba5c29469bdf] cpuidle: powernv: Avoid endianness conversions while parsing DT git bisect good 70734a786acfd1998e47d40df19cba5c29469bdf # good: [3466b547e37b988723dc93465b7cb06b4b1f731f] Merge branches 'pnp', 'pm-cpuidle' and 'pm-cpufreq' git bisect good 3466b547e37b988723dc93465b7cb06b4b1f731f # first bad commit: [cd50b70ccd5c87794ec28bfb87b7fba9961eb0ae] Merge tag 'pm+acpi-3.20-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm BUG: unable to handle kernel paging request at 0000000000001000 IP: [] scsi_init_cmd_errh+0x26/0x5d PGD 0 Oops: 0002 [#1] SMP Modules linked in: xfs crc32c_generic libcrc32c dm_crypt xts gf128mul algif_skcipher af_alg sd_mod mptsas scsi_transport_sas mptscsih mptbase dm_mod sg ipv6 CPU: 0 PID: 406 Comm: kworker/u2:0 Not tainted 3.19.0+ #53 Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 task: ffff88007bf73c60 ti: ffff88007cb20000 task.ti: ffff88007cb20000 RIP: 0010:[] [] scsi_init_cmd_errh+0x26/0x5d RSP: 0018:ffff88007cb23870 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88007bfa6800 RCX: 0000000000000018 RDX: ffff88007bfec970 RSI: 0000000000000000 RDI: 0000000000001000 RBP: ffff88007bfec970 R08: ffff88007be345c0 R09: 00000000000000fa R10: 0000000000000001 R11: ffffea0001ec8c40 R12: 0000000000000000 R13: ffff88007bfa6800 R14: ffff88007bc04000 R15: ffff88007bfec800 FS: 0000000000000000(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000001000 CR3: 000000007bc9b000 CR4: 00000000000007f0 Stack: ffffffff8126b67a ffff88007bf73c60 ffff88007bc04000 ffff88007bf13400 ffff88007bfa6968 ffff88007bfec978 ffff88007fc18e48 ffff88007bfb4f20 ffff88007cb23900 ffff88007bf13408 0000000000000000 0000000000000000 Call Trace: [] ? scsi_queue_rq+0x2e5/0x3d3 [] ? __blk_mq_run_hw_queue+0x19a/0x29f [] ? blk_mq_alloc_request+0xbc/0x102 [] ? __xfs_get_blocks+0x321/0x321 [xfs] [] ? blk_mq_run_hw_queue+0x4a/0x93 [] ? blk_sq_make_request+0x166/0x171 [] ? generic_make_request+0x8f/0xcc [] ? submit_bio+0x103/0x121 [] ? get_page+0x9/0x25 [] ? __lru_cache_add+0x1a/0x3a [] ? mpage_bio_submit+0x1f/0x25 [] ? mpage_readpages+0xe2/0xf6 [] ? __xfs_get_blocks+0x321/0x321 [xfs] [] ? alloc_pages_current+0xad/0xca [] ? __do_page_cache_readahead+0x116/0x1af [] ? radix_tree_lookup_slot+0x10/0x23 [] ? ondemand_readahead+0x1f9/0x20a [] ? pagecache_get_page+0x22/0x138 [] ? generic_file_read_iter+0x17a/0x4d4 [] ? xfs_attr_get+0x52/0x113 [xfs] [] ? xfs_file_read_iter+0x1bb/0x20d [xfs] [] ? new_sync_read+0x67/0x8b [] ? vfs_read+0x6d/0xb7 [] ? kernel_read+0x39/0x47 [] ? do_execveat_common.isra.31+0x3b7/0x5dd [] ? do_execve+0x23/0x28 [] ? ____call_usermodehelper+0x100/0x128 [] ? call_usermodehelper+0x47/0x47 [] ? ret_from_fork+0x7c/0xb0 [] ? call_usermodehelper+0x47/0x47 Code: c2 89 d0 5b c3 48 c7 87 b0 00 00 00 00 00 00 00 c7 87 f4 00 00 00 00 00 00 00 48 89 fa 48 8b bf 10 01 00 00 31 c0 b9 18 00 00 00 ab 66 83 ba cc 00 00 00 00 75 2a 48 8b 8a d8 00 00 00 8a 01 RIP [] scsi_init_cmd_errh+0x26/0x5d RSP CR2: 0000000000001000 ---[ end trace 54414923d584f14b ]--- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/