Rafael J. Wysocki 623cf33cb0 ACPI / PM: Walk physical_node_list under physical_node_lock
The list of physical devices corresponding to an ACPI device
object is walked by acpi_system_wakeup_device_seq_show() and
physical_device_enable_wakeup() without taking that object's
physical_node_lock mutex.  Since each of those functions may be
run at any time as a result of a user space action, the lack of
appropriate locking in them may lead to a kernel crash if that
happens during device hot-add or hot-remove involving the device
object in question.

Fix the issue by modifying acpi_system_wakeup_device_seq_show() and
physical_device_enable_wakeup() to use physical_node_lock as
appropriate.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: All <stable@vger.kernel.org>
2013-08-06 02:26:22 +02:00
..
2013-07-18 01:29:14 +02:00
2013-06-28 12:59:02 +02:00
2013-03-25 00:13:15 +01:00
2013-06-19 23:34:58 +02:00
2013-04-28 01:54:08 +02:00
2013-06-28 13:00:38 +02:00
2013-04-28 01:54:08 +02:00
2013-06-28 13:00:38 +02:00
2013-06-29 15:03:44 +02:00
2013-01-17 14:11:06 +01:00