System will restart while resuming with SATA HDD or nvme installed with password set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Noble |
In Progress
|
Medium
|
AceLan Kao | ||
Plucky |
Fix Committed
|
Medium
|
AceLan Kao | ||
linux-oem-6.11 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
AceLan Kao | ||
Plucky |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-6.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
AceLan Kao | ||
Plucky |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The BIOS PCI device configuration and restoration during modern standby will check the ACPI function _REG value. It expects this value to be 0x2 (PCI_Config), and this value is returned by the operating system.
Windows returns 0x2 (PCI_Config), which allows the PCI device configuration and restoration function to complete successfully. However, Ubuntu returns 0x3 (EmbeddedControl), which prevents the SATA HDD password unlock function from working during Modern Standby resume.
[Fix]
The commit which will be included in v6.16 explicitly set all devices into D0 during initialization, so that _REG method works as expected.
https://<email address hidden>/
4d4c10f763d78 PCI: Explicitly put devices into D0 when initializing
[Test]
1. Install ubuntu 2404 on any machine(the issue has been found on Dell Pro Micro Mini PC with AMD Ryzen Processors), and enabled SATA HDD password.
1.1 connect SATA HDD on system
1.2 press F2 enter BIOS menu
1.3 choose the menu “Passwords“ in the left side
1.4 setup passowrd in “Internal HDD Passward“
1.5 save setting and boot into OS
2. After resume from suspend with w/ SATA HDD installed and hdd password set.
3. The machine should keep working and the SATA HDD could be accessed
[Where problems could occur]
It's trivial to set the device to D0 state while iniailizing, I don't see it could lead to any regression.
CVE References
Changed in linux-oem-6.11 (Ubuntu Plucky): | |
status: | New → Invalid |
Changed in linux-oem-6.11 (Ubuntu Noble): | |
status: | New → In Progress |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Plucky): | |
status: | New → In Progress |
Changed in linux (Ubuntu Noble): | |
status: | New → In Progress |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Plucky): | |
assignee: | nobody → AceLan Kao (acelankao) |
summary: |
- System will restart while resuming with SATA HDD installed with password - set + System will restart while resuming with SATA HDD or nvme installed with + password set |
description: | updated |
tags: | added: jira-wtn-245 oem-priority wtn |
description: | updated |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-6.11 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-6.11 (Ubuntu Noble): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-noble-linux-oem-6.11 removed: verification-needed-noble-linux-oem-6.11 |
Changed in linux (Ubuntu Noble): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Plucky): | |
importance: | Undecided → Medium |
Changed in linux-oem-6.14 (Ubuntu Noble): | |
assignee: | nobody → AceLan Kao (acelankao) |
status: | New → In Progress |
Changed in linux-oem-6.14 (Ubuntu Plucky): | |
status: | New → Invalid |
Changed in linux-oem-6.14 (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Plucky): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-6.14 (Ubuntu Noble): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-plucky-linux removed: verification-needed-plucky-linux |
tags: |
added: verification-done-noble-linux verification-done-noble-linux-oem-6.14 removed: verification-needed-noble-linux verification-needed-noble-linux-oem-6.14 |
This bug is awaiting verification that the linux-oem- 6.11/6. 11.0-1023. 23 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- noble-linux- oem-6.11' to 'verification- done-noble- linux-oem- 6.11'. If the problem still exists, change the tag 'verification- needed- noble-linux- oem-6.11' to 'verification- failed- noble-linux- oem-6.11' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!