Public bug reported:
Hello Linux ACPI and ACPICA developers,
I would like to report a reproducible ACPI fan status issue affecting
the Samsung Galaxy Book5 Pro 360 (960QHA).
The issue causes recurring ACPI errors during normal operation, fan
status changes and hardware monitoring. The physical fans appear to
operate correctly, but the ACPI fan status method fails with
AE_AML_OPERAND_TYPE and, occasionally, AE_AML_PACKAGE_LIMIT.
**1. Hardware and software environment**
- Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
- Model: Samsung Galaxy Book5 Pro 360
- DMI product name: 960QHA
- DMI product version: P17ALY
- Processor: Intel Core Ultra 7 256V
- BIOS version: P17ALY.390.260616.03
- BIOS date: 2026-06-16
- Distribution: Ubuntu 26.04.1 LTS
- Kernel: 7.0.0-43-generic
- Architecture: x86_64
- ACPICA version reported in kernel errors: 20251212
- Secure Boot: enabled
- Kernel lockdown: integrity
- Samsung Galaxy Book driver: in-tree samsung_galaxybook
- Current platform profile: performance
No custom ACPI kernel parameters are in use.
The system also uses out-of-tree DKMS modules for camera, audio and
video functionality. No causal relationship between these modules and
the ACPI issue has been established.
**2. Problem description**
The ACPI fan driver repeatedly reports failures while evaluating:
`\_SB.PC00.LPCB.FAN0._FST`
The following error occurs frequently:
```text
ACPI Error: Needed [Integer/String/Buffer], found [Reference]
(20251212/exresop-388)
ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Add]
(20251212/dswexec-433)
ACPI Error: Aborting method \_SB.PC00.LPCB.FAN0._FST
due to previous error (AE_AML_OPERAND_TYPE)
acpi-fan PNP0C0B:00:
Error retrieving current fan status: -5
```
An additional error occasionally occurs:
```text
ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT,
Index (0x000000005) is beyond end of object (length 0x4)
(20251212/exoparg2-393)
ACPI Error: Aborting method \_SB.PC00.LPCB.FAN0._FST
due to previous error (AE_AML_PACKAGE_LIMIT)
```
These errors occur both during explicit hardware monitoring and
independently of periodic sensor polling.
**3. Steps to reproduce**
1. Boot Ubuntu using kernel 7.0.0-43-generic.
2. Allow the system to reach a temperature or workload at which the fans are
active.
3. Read the ACPI fan speed attribute:
```bash
for hw in /sys/class/hwmon/hwmon*; do
if [ "$(cat "$hw/name")" = "acpi_fan" ]; then
cat "$hw/fan1_input"
fi
done
```
4. Inspect the kernel log:
```bash
sudo journalctl -k -b --no-pager
```
Fan status notifications can also trigger the errors without manually
reading the sensor.
**4. Expected behavior**
The ACPI fan status method should return a valid fan status package, or
the driver should gracefully handle unavailable fan speed information.
Invalid AML operands and out-of-bounds package accesses should not
generate recurring kernel errors.
**5. Actual behavior**
- Fan speed telemetry is unreliable.
- The _FST method aborts with ACPI interpreter errors.
- Fan status notifications can generate repeated kernel log messages.
- Physical fans remain operational based on observed fan noise and thermal
behavior.
**6. Firmware analysis**
I extracted the ACPI tables using acpidump and acpixtract and
disassembled the DSDT using iasl version 20251212.
The relevant firmware code is located in:
`\_SB.PC00.LPCB.FAN0`
The fan lookup table is defined as:
```c
Name (FANT, Package (0x04)
{
0x0DAC,
0x0EE2,
0x1144,
0x127A
})
```
The status package is defined as:
```c
Name (SFST, Package (0x03)
{
Zero,
0xFFFFFFFF,
0xFFFFFFFF
})
```
The complete relevant _FST method is:
```c
Method (_FST, 0, Serialized)
{
Local0 = ^^H_EC.FANS
Switch (ToInteger (Local0))
{
Case (One)
{
Local0 = One
}
Case (0x02)
{
Local0 = 0x02
}
Case (0x03)
{
Local0 = 0x03
}
Case (0x04)
{
Local0 = 0x03
}
Case (0x05)
{
Local0 = 0x04
}
}
SFST [One] = Local0
If ((Local0 == Zero))
{
SFST [0x02] = Local0
}
Else
{
Local0--
Local1 = FANT [Local0]
Local1 += 0x0A
SFST [0x02] = Local1
}
Return (SFST)
}
```
The embedded controller defines FANS as a four-bit field:
```c
Offset (0x87),
FANS, 4,
```
Two potential issues are apparent:
A. Reference operand handling
The expression:
```c
Local1 = FANT [Local0]
Local1 += 0x0A
```
appears consistent with the observed AE_AML_OPERAND_TYPE error.
Explicit dereferencing may be relevant, although I have not tested a
modified method. It is unclear whether this behavior should be
attributed to firmware AML or ACPICA reference handling.
B. Missing bounds checking
The FANS field can represent values from 0 to 15, but the switch
explicitly handles only values from 1 to 5, with zero handled
separately.
An unexpected value such as 6 would remain unchanged, be decremented to
5 and then be used as an index into the four-element FANT package.
This is consistent with the observed AE_AML_PACKAGE_LIMIT error. The
actual raw EC value has not been independently measured.
**7. Fan notification mechanism**
The embedded controller also defines:
```c
Method (_Q76, 0, NotSerialized)
{
Notify (FAN0, 0x80)
}
```
This appears to explain why _FST may be evaluated even when userspace is
not explicitly polling the fan sensor.
**8. Physical cooling behavior**
The physical fans audibly increase their speed during demanding
workloads, including gaming.
A short CPU stress test using two workers showed:
- Highest observed CPU package temperature: 81°C
- Subsequent CPU package temperature: 47°C
- Temperature decrease between the final load observation and subsequent
measurement: 34°C
This suggests that basic automatic cooling remains functional, despite
the broken fan status reporting.
Long-duration maximum-load cooling behavior has not been tested.
**9. Related upstream work**
I found the following potentially related patch discussion:
ACPI: fan: Ignore broken _FST on Samsung Galaxy Book 930XDB
https://lists.openwall.net/linux-kernel/2026/10/19/2287
The reported reference operand error appears similar to the issue
observed on the 960QHA.
I also found the subsequent discussion concerning potential ACPICA
reference handling:
https://lists.openwall.net/linux-kernel/2026/10/22/1944
Related ACPICA issue:
https://github.com/open-acpica/acpica/issues/908
**10. Questions for maintainers**
- Could the Samsung Galaxy Book 960QHA be affected by the same _FST issue?
- Would extending the proposed model-specific workaround to this device be
appropriate?
- Could ACPICA reference handling account for the operand type error?
- Would a separate firmware workaround be required for the out-of-bounds
package access?
- What additional diagnostic information would be useful?
I have not applied any ACPI override, modified the BIOS, disabled Secure
Boot or changed the ACPI fan driver.
This report is based on the Ubuntu distribution kernel. The issue has
not yet been tested on a current unmodified upstream kernel, and the
first affected kernel version is unknown.
Relevant ACPI tables and filtered kernel logs can be provided upon
request.
Thank you for your work on Linux hardware support and for investigating
this issue.
Best regards,
Christopher Bormann
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-43-generic 7.0.0-43.43
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: wuffeljunior 4574 F.... pipewire
wuffeljunior 4582 F.... wireplumber
/dev/snd/controlC1: wuffeljunior 4582 F.... wireplumber
/dev/snd/seq: wuffeljunior 4574 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 28 18:48:31 2026
InstallationDate: Installed on 2026-08-17 (103 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 960QHA
ProcEnviron:
LANG=de_DE.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcFB: 0 xedrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-43-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
StagingDrivers: intel_ipu7 intel_ipu7_isys
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/16/2026
dmi.bios.release: 5.32
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: P17ALY.390.260616.03
dmi.board.asset.tag: No Asset Tag
dmi.board.name: NP960QHA-KG2DE
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: SGLB758A3U-C01-G001-S0001+10.0.26100
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias:
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrP17ALY.390.260616.03:bd06/16/2026:br5.32:svnSAMSUNGELECTRONICSCO.,LTD.:pn960QHA:pvrP17ALY:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP960QHA-KG2DE:rvrSGLB758A3U-C01-G001-S0001+10.0.26100:cvnSAMSUNGELECTRONICSCO.,LTD.:ct31:cvrN/A:skuSCAI-PROT-A5A5-LNLM-PALY:pfaGalaxyBook5Pro360:
dmi.product.family: Galaxy Book5 Pro 360
dmi.product.name: 960QHA
dmi.product.sku: SCAI-PROT-A5A5-LNLM-PALY
dmi.product.version: P17ALY
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute staging wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178322
Title:
ACPI: fan: Broken FAN0._FST on Samsung Galaxy Book5 Pro 360 (960QHA)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2178322/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs