** Also affects: linux (Ubuntu Zesty) Importance: Undecided Status: New
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1709073 Title: [SRU][ZESTY]kernel BUG at /build/linux- H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567! Status in linux package in Ubuntu: Confirmed Status in linux source package in Zesty: Fix Committed Bug description: SRU Justification: Impact: reliably reproducible kernel BUG_ON leading to complete system hang Fix: cherry-pick upstream followup commit Testcase: mkfs.btrfs on Samsung SM/PM961 no longer triggers the BUG_ON Detailed description: the fix for http://bugs.launchpad.net/bugs/1657539 which cherry-picked 729204ef49ec00b788ce23deb9eb922a5769f55d block: relax check on sg gap is missing a follow-up fix commit 5a8d75a1b8c99bdc926ba69b7b7dbe4fae81a5af block: fix bio_will_gap() for first bvec with offset without, the following BUG_ON is triggered using a mkfs.btrfs /dev/nvme0n1 on a Samsung SM961/PM961 M.2 device: Aug 07 09:19:09 ubuntu kernel: kernel BUG at /build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567! Aug 07 09:19:09 ubuntu kernel: invalid opcode: 0000 [#1] SMP Aug 07 09:19:09 ubuntu kernel: Modules linked in: nls_iso8859_1 ppdev snd_hda_intel snd_hda_codec snd_hda_core joydev snd_hwdep snd_pcm snd_ti Aug 07 09:19:09 ubuntu kernel: CPU: 0 PID: 2071 Comm: mkfs.btrfs Not tainted 4.10.0-30-generic #34-Ubuntu Aug 07 09:19:09 ubuntu kernel: Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 Aug 07 09:19:09 ubuntu kernel: task: ffff8e537417bfc0 task.stack: ffffb580c1698000 Aug 07 09:19:09 ubuntu kernel: RIP: 0010:nvme_queue_rq+0x746/0x8e0 [nvme] Aug 07 09:19:09 ubuntu kernel: RSP: 0018:ffffb580c169b950 EFLAGS: 00010286 Aug 07 09:19:09 ubuntu kernel: RAX: 0000000000000078 RBX: 00000000fffffa00 RCX: 0000000000001000 Aug 07 09:19:09 ubuntu kernel: RDX: 0000000000000010 RSI: 0000000000000200 RDI: 0000000000000246 Aug 07 09:19:09 ubuntu kernel: RBP: ffffb580c169ba28 R08: ffff8e53733cb000 R09: 000000000000fa00 Aug 07 09:19:09 ubuntu kernel: R10: 0000000000001000 R11: ffff8e53733d0000 R12: 0000000273a8a000 Aug 07 09:19:09 ubuntu kernel: R13: 000000000002fc00 R14: ffff8e53733cb000 R15: 0000000000000200 Aug 07 09:19:09 ubuntu kernel: FS: 00007f92511ba080(0000) GS:ffff8e537fc00000(0000) knlGS:0000000000000000 Aug 07 09:19:09 ubuntu kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Aug 07 09:19:09 ubuntu kernel: CR2: 00007ffeecdc9000 CR3: 0000000274323000 CR4: 00000000000006f0 Aug 07 09:19:09 ubuntu kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Aug 07 09:19:09 ubuntu kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Aug 07 09:19:09 ubuntu kernel: Call Trace: Aug 07 09:19:09 ubuntu kernel: blk_mq_try_issue_directly+0x7e/0x100 Aug 07 09:19:09 ubuntu kernel: blk_mq_make_request+0x3cf/0x4e0 Aug 07 09:19:09 ubuntu kernel: generic_make_request+0x110/0x2d0 Aug 07 09:19:09 ubuntu kernel: submit_bio+0x73/0x150 Aug 07 09:19:09 ubuntu kernel: ? __percpu_counter_add+0x4f/0x60 Aug 07 09:19:09 ubuntu kernel: submit_bh_wbc+0x152/0x180 Aug 07 09:19:09 ubuntu kernel: __block_write_full_page+0x176/0x360 Aug 07 09:19:09 ubuntu kernel: ? I_BDEV+0x20/0x20 Aug 07 09:19:09 ubuntu kernel: ? I_BDEV+0x20/0x20 Aug 07 09:19:09 ubuntu kernel: block_write_full_page+0x13b/0x160 Aug 07 09:19:09 ubuntu kernel: blkdev_writepage+0x18/0x20 Aug 07 09:19:09 ubuntu kernel: __writepage+0x13/0x30 Aug 07 09:19:09 ubuntu kernel: write_cache_pages+0x205/0x530 Aug 07 09:19:09 ubuntu kernel: ? wb_position_ratio+0x1f0/0x1f0 Aug 07 09:19:09 ubuntu kernel: generic_writepages+0x56/0x90 Aug 07 09:19:09 ubuntu kernel: blkdev_writepages+0x2f/0x40 Aug 07 09:19:09 ubuntu kernel: do_writepages+0x1e/0x30 Aug 07 09:19:09 ubuntu kernel: __filemap_fdatawrite_range+0xc6/0x100 Aug 07 09:19:09 ubuntu kernel: SyS_fadvise64+0x25e/0x290 Aug 07 09:19:09 ubuntu kernel: entry_SYSCALL_64_fastpath+0x1e/0xad Aug 07 09:19:09 ubuntu kernel: RIP: 0033:0x7f925066debd Aug 07 09:19:09 ubuntu kernel: RSP: 002b:00007ffeecd46a38 EFLAGS: 00000246 ORIG_RAX: 00000000000000dd Aug 07 09:19:09 ubuntu kernel: RAX: ffffffffffffffda RBX: 00007ffeecd45a30 RCX: 00007f925066debd Aug 07 09:19:09 ubuntu kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 Aug 07 09:19:09 ubuntu kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000001001 Aug 07 09:19:09 ubuntu kernel: R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000010 Aug 07 09:19:09 ubuntu kernel: R13: 00007ffeecd45a40 R14: 0000000000000004 R15: 0000000000000000 Aug 07 09:19:09 ubuntu kernel: Code: f1 61 26 d5 8b 95 48 ff ff ff 48 89 85 60 ff ff ff 4c 8b 50 10 44 8b 48 18 8b 8d 50 ff ff ff 44 8b 9d 58 Aug 07 09:19:09 ubuntu kernel: RIP: nvme_queue_rq+0x746/0x8e0 [nvme] RSP: ffffb580c169b950 LKML reference: https://lkml.org/lkml/2017/4/13/105 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709073/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp