Toshi Kani
d19f503e22
ACPI / memhotplug: Fix a stale pointer in error path
...
device->driver_data needs to be cleared when releasing its data,
mem_device, in an error path of acpi_memory_device_add().
The function evaluates the _CRS of memory device objects, and fails
when it gets an unexpected resource or cannot allocate memory. A
kernel crash or data corruption may occur when the kernel accesses
the stale pointer.
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Cc: 2.6.32+ <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-07-15 01:26:18 +02:00
..
2013-06-20 01:43:15 +02:00
2013-07-04 10:29:23 -07:00
2013-05-12 14:03:15 +02:00
2013-06-27 21:35:37 +02:00
2013-04-02 15:30:41 +02:00
2010-12-14 00:22:14 -05:00
2013-06-28 12:59:02 +02:00
2013-07-15 01:26:18 +02:00
2013-03-25 00:13:15 +01:00
2013-03-21 22:44:38 +01:00
2013-06-01 22:23:39 +02:00
2013-06-19 23:34:58 +02:00
2012-09-29 12:21:03 -07:00
2011-10-31 19:30:33 -04:00
2013-06-19 23:34:58 +02:00
2013-05-01 17:51:54 -07:00
2009-08-28 19:57:27 -04:00
2013-04-28 01:54:08 +02:00
2013-02-25 15:41:43 -08:00
2011-10-31 19:30:34 -04:00
2013-07-04 13:22:11 +02:00
2013-07-04 13:25:04 +02:00
2013-06-19 23:29:20 +02:00
2013-06-27 21:37:18 +02:00
2011-10-31 19:30:34 -04:00
2013-07-04 13:33:25 +02:00
2013-06-28 13:00:38 +02:00
2013-01-26 00:37:24 +01: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-03-02 09:34:39 -08:00
2012-03-30 02:46:57 -04:00
2013-06-29 15:03:44 +02:00
2013-02-16 11:58:34 -07:00
2013-03-24 01:00:38 +01:00
2013-07-03 16:31:35 -07:00
2013-04-12 15:38:25 -06:00
2013-07-05 13:30:20 +02:00
2013-04-09 14:13:32 -04:00
2013-03-04 14:23:39 +01:00
2013-06-24 12:58:43 +02:00
2013-06-19 23:36:41 +02:00
2013-06-25 23:05:24 +02:00
2013-03-25 23:01:01 +01:00
2013-03-25 00:05:48 +01:00
2012-04-20 11:19:35 -07:00
2013-06-19 23:55:59 +02:00
2013-05-01 17:29:46 -04:00
2013-01-26 00:37:24 +01:00
2007-12-14 15:14:06 -05:00
2013-07-15 01:26:18 +02:00
2013-06-19 23:36:30 +02:00
2013-01-17 14:11:06 +01:00
2013-07-03 17:12:13 -07:00
2013-01-11 13:10:16 +01:00
2013-04-26 13:34:40 +02:00
2012-11-21 23:20:22 +01:00
2013-05-23 01:41:45 +02:00
2013-06-20 01:25:19 +02:00
2011-02-12 01:39:53 +01:00