[Bug 2042885] [NEW] [UBUNTU 22.04] Running smartctl on NVME hit segmentation fault
Launchpad Bug Tracker
2042885 at bugs.launchpad.net
Thu Jan 11 17:53:39 UTC 2024
You have been subscribed to a public bug by Andreas Hasenack (ahasenack):
[ Impact ]
* smartmontools crash when it is reading NVME error log on a big-endian
system.
[ Test Plan ]
* Prepare a big-endian system (like an Ubuntu on s390y)
and attach an NVME drive to it.
This nvme drive could have error logs, but it's ok if it doesn't.
* Run `sudo smartctl -i -a /dev/nvme0` against NVME drive to get SMART data
and hit Segmentation fault.
* Run this command again with patched smartctl will show SMART data and error
logs normally
[ Where problems could occur ]
* The process of reading error log page from NVME device on big-endian
system.
[ Other Info ]
* Ubuntu 'noble' is not affected, since it incl. v7.4 which incl. the
fix already.
* We skip 23.04, since it is too close to end of life (in about 2 weeks
from now).
------------------------------------------
== Comment: #0 - SCHAYNE BELLROSE <Schayne.Bellrose1 at ibm.com> - 2023-10-31 10:08:10 ==
---Problem Description---
Ran sudo smartctl -i -a /dev/nvme0 against NVME drive to get SMART data but hit Segmentation fault
Contact Information = Schayne Bellrose/schayne.bellrose1 at ibm.com
---Additional Hardware Info---
DPM system and added Storage group contains a NVME drive set for data.
---uname output---
Linux t249sb2 5.15.0-87-generic #97-Ubuntu SMP Mon Oct 2 21:11:23 UTC 2023 s390x s390x s390x GNU/Linux
Machine Type = 3932
---Steps to Reproduce---
Run the following command
smartctl -i -a /dev/nvme0
*Additional Instructions for Schayne Bellrose/schayne.bellrose1 at ibm.com:
-Post a private note with access information to the machine that the bug is occuring on.
** Affects: ubuntu-z-systems
Importance: High
Assignee: Skipper Bug Screeners (skipper-screen-team)
Status: In Progress
** Affects: smartmontools (Ubuntu)
Importance: High
Assignee: Zhaoxuan Zhai (kxuan)
Status: Fix Released
** Affects: smartmontools (Ubuntu Jammy)
Importance: Undecided
Status: In Progress
** Affects: smartmontools (Ubuntu Lunar)
Importance: Undecided
Status: Won't Fix
** Affects: smartmontools (Ubuntu Mantic)
Importance: Undecided
Assignee: Zhaoxuan Zhai (kxuan)
Status: In Progress
** Tags: architecture-s39064 bugnameltc-203947 patch severity-medium targetmilestone-inin---
--
[UBUNTU 22.04] Running smartctl on NVME hit segmentation fault
https://bugs.launchpad.net/bugs/2042885
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list