[SRU][ZESTY]kernel BUG at /build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
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://
729204ef49ec00b
is missing a follow-up fix commit
5a8d75a1b8c99bd
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/
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_
Aug 07 09:19:09 ubuntu kernel: RSP: 0018:ffffb580c1
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: 00007f92511ba08
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_
Aug 07 09:19:09 ubuntu kernel: blk_mq_
Aug 07 09:19:09 ubuntu kernel: generic_
Aug 07 09:19:09 ubuntu kernel: submit_
Aug 07 09:19:09 ubuntu kernel: ? __percpu_
Aug 07 09:19:09 ubuntu kernel: submit_
Aug 07 09:19:09 ubuntu kernel: __block_
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_
Aug 07 09:19:09 ubuntu kernel: blkdev_
Aug 07 09:19:09 ubuntu kernel: __writepage+
Aug 07 09:19:09 ubuntu kernel: write_cache_
Aug 07 09:19:09 ubuntu kernel: ? wb_position_
Aug 07 09:19:09 ubuntu kernel: generic_
Aug 07 09:19:09 ubuntu kernel: blkdev_
Aug 07 09:19:09 ubuntu kernel: do_writepages+
Aug 07 09:19:09 ubuntu kernel: __filemap_
Aug 07 09:19:09 ubuntu kernel: SyS_fadvise64+
Aug 07 09:19:09 ubuntu kernel: entry_SYSCALL_
Aug 07 09:19:09 ubuntu kernel: RIP: 0033:0x7f925066debd
Aug 07 09:19:09 ubuntu kernel: RSP: 002b:00007ffeec
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_
LKML reference: https:/
CVE References
tags: | added: zesty |
Changed in linux (Ubuntu Zesty): | |
status: | New → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1709073
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.