Linux ACPI
 help / color / mirror / Atom feed
* [BUG] ACPI: fan: Broken FAN0._FST on Samsung Galaxy Book5 Pro 360 (960QHA)
@ 2026-11-28 18:15 Christopher Bormann
  0 siblings, 0 replies; only message in thread
From: Christopher Bormann @ 2026-11-28 18:15 UTC (permalink / raw)
  To: leonard; +Cc: linux-acpi

Hello Leonard and Linux ACPI 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:

|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:

|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:

|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:

|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:

|Name (FANT, Package (0x04) { 0x0DAC, 0x0EE2, 0x1144, 0x127A })|

The status package is defined as:

|Name (SFST, Package (0x03) { Zero, 0xFFFFFFFF, 0xFFFFFFFF })|

The complete relevant _FST method is:

|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:

|Offset (0x87), FANS, 4,|

Two potential issues are apparent:

A. Reference operand handling

The expression:

|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:

|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 
<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 
<https://lists.openwall.net/linux-kernel/2026/10/22/1944>

Related ACPICA issue:

https://github.com/open-acpica/acpica/issues/908 
<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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-28 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 18:15 [BUG] ACPI: fan: Broken FAN0._FST on Samsung Galaxy Book5 Pro 360 (960QHA) Christopher Bormann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox