[BUGFIX PATCH] USB: chipidea: fix use after free bug

2012-11-22 Thread Lothar Waßmann
The pointer to a platform_device struct must not be dereferenced after the device has been unregistered. This bug produces a crash when unloading the ci13xxx kernel module compiled with CONFIG_PAGE_POISONING enabled. Signed-off-by: Lothar Waßmann --- drivers/usb/chipidea/core.c |3 ++- 1 fi

Re: [BUGFIX PATCH] USB: chipidea: fix use after free bug

2012-11-22 Thread Alexander Shishkin
Lothar Waßmann writes: > The pointer to a platform_device struct must not be dereferenced after > the device has been unregistered. > > This bug produces a crash when unloading the ci13xxx kernel module > compiled with CONFIG_PAGE_POISONING enabled. > > Signed-off-by: Lothar Waßmann Good one, t