Subject : ACPI: kmemcheck: Caught 16-bit read from freed memory (f7c12ec6) Submitter : "Vegard Nossum" <vegard.nossum@gmail.com> Date : 2008-05-06 16:09 References : http://marc.info/?l=linux-acpi&m=121009034825514&w=4 Handled-By : Lin Ming <ming.m.lin@intel.com> This entry is being used for tracking a regression from 2.6.25. Please don't close it until the problem is fixed in the mainline.
note that bc7a36ab74e09da7bb63e2477b0740ac992b290e "ACPICA: Fixes for Unload and DDBHandles" is reverted from the acpi-test tree until this is root-caused and resolved.
Created attachment 16198 [details] proposed patch
Created attachment 16199 [details] proposed patch
Hi, Vegard Would you please help to test the patch at comment #3? Thanks
add comments for the patch: ---- It's not safe to access walk_state->op in acpi_ps_get_next_namepath and acpi_ps_get_next_arg since it may have been deleted. It's safe to refer to current op by walk_state->opcode.
Regressions list annotation: Handled-By : Ming Lin <ming.m.lin@intel.com>
Regressions list annotation: Patch : http://bugzilla.kernel.org/attachment.cgi?id=16199&action=view
Hi, The patch in comment #3 fixes it for me! Thanks :-) Vegard
now as commit 8410565f540db87ca938f56f92780d251e4f157d in Linus' tree