linux/fs/nfs/blocklayout
fanchaoting 4376c94618 pnfs-block: removing DM device maybe cause oops when call dev_remove
when pnfs block using device mapper,if umounting later,it maybe
cause oops. we apply "1 + sizeof(bl_umount_request)" memory for
msg->data, the memory maybe overflow when we do "memcpy(&dataptr
[sizeof(bl_msg)], &bl_umount_request, sizeof(bl_umount_request))",
because the size of bl_msg is more than 1 byte.

Signed-off-by: fanchaoting<fanchaoting@cn.fujitsu.com>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2013-03-21 10:11:06 -04:00
..
blocklayout.c umount oops when remove blocklayoutdriver first 2013-02-17 15:40:15 -05:00
blocklayout.h pnfsblock: cleanup nfs4_blkdev_get 2012-10-08 19:32:40 -04:00
blocklayoutdev.c pnfsblock: cleanup nfs4_blkdev_get 2012-10-08 19:32:40 -04:00
blocklayoutdm.c pnfs-block: removing DM device maybe cause oops when call dev_remove 2013-03-21 10:11:06 -04:00
extents.c pnfsblock: use list_move_tail instead of list_del/list_add_tail 2012-10-01 15:39:05 -07:00
Makefile pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00