]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ibmasm: use after free fix
authorMax Asbock <masbock@us.ibm.com>
Fri, 10 Mar 2006 01:33:48 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 03:47:37 +0000 (19:47 -0800)
commit2fb158d7926169934dc5cc2bcd0635ffbb63add1
tree383281e2e283a2f3da686d3ea57cd7c4777a7282
parent520305cee4aea6217ee51d59df47ceb36e35ae23
[PATCH] ibmasm: use after free fix

The kobject_put() can free the memory at *cmd, but cmd->lock points to a
persistent lock that is not freed with cmd.

Signed-off-by: Max Asbock <masbock@us.ibm.com>
Cc: Vernon Mauery <vernux@us.ibm.com>
Cc: Srihari Vijayaraghavan <sriharivijayaraghavan@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/misc/ibmasm/ibmasm.h