Skip to content

Handle a common BIOS bug on recent ASUS BIOS updates gracefully

Thomas Renninger linux-acpi 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3Fix a memory overflow bug when copying NULL internal package element object to external.drivers/acpi/utilities/utobject.c+1 -11 reply
2/3Warn if packages with invalid references are evaluateddrivers/acpi/utils.c+6 -00 replies
3/3Warn user about a BIOS bug in recent asus boardsdrivers/acpi/thermal.c+11 -98 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] [2.6.25-rc5] Handle a common BIOS bug on recent ASUS BIOS updates gracefully

Hi Len,

the first patch fixes a memory corruption in ACPICA.
Memory corruption should legitimate this as 2.6.25-rc5 material (also because this looks rather safe to do and seem to pop up on a lot recent BIOS updates).
The second patch catches the NULL pointer which is passed on evaluate_reference now, instead of a corrupted pointer.
The third patch tells the user that his BIOS has an invalid reference as a passive cooling device (the invalid reference is the NULL handle now).

I have checked this working (ran into the corrupted memory and NULL pointer) by invalidating a passive trip point and simulate the broken ASUS BIOSes by overriding a DSDT on another system.

The first report which verifies the patches working with a 2.6.24 kernel patched on a real broken ASUS Bios can be found here:
https://bugzilla.novell.com/show_bug.cgi?id=350017

Comment #40:
"Works on the Asus M2N-E and M2A VM HDMI."

Thanks,

Thomas