linux/fs/quota
Nikolay Borisov c5bfa5379d quota: Fix possible GPF due to uninitialised pointers
[ Upstream commit ab73ef4639 ]

When dqget() in __dquot_initialize() fails e.g. due to IO error,
__dquot_initialize() will pass an array of uninitialized pointers to
dqput_all() and thus can lead to deference of random data. Fix the
problem by properly initializing the array.

CC: stable@vger.kernel.org
Signed-off-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-18 08:49:21 -04:00
..
compat.c quota: split out compat_sys_quotactl support from quota.c 2010-03-05 00:20:25 +01:00
dquot.c quota: Fix possible GPF due to uninitialised pointers 2016-04-18 08:49:21 -04:00
Kconfig fs/quota/Kconfig: Update filesystems 2014-03-04 12:19:26 +01:00
kqid.c fs/quota: kernel-doc warning fixes 2014-07-15 22:40:23 +02:00
Makefile userns: Implement struct kqid 2012-09-18 01:01:38 -07:00
netlink.c fs/quota: kernel-doc warning fixes 2014-07-15 22:40:23 +02:00
quota.c quota: Switch ->get_dqblk() and ->set_dqblk() to use bytes as space units 2015-02-05 22:36:09 -08:00
quota_tree.c userns: Convert struct dquot dq_id to be a struct kqid 2012-09-18 01:01:41 -07:00
quota_tree.h quota: Change quota error message to print out disk and function name 2010-07-21 16:05:58 +02:00
quota_v1.c quota: Store maximum space limit in bytes 2015-03-06 14:53:06 -08:00
quota_v2.c quota: Store maximum space limit in bytes 2015-03-06 14:53:06 -08:00
quotaio_v1.h quota: Move quota files into separate directory 2009-03-26 02:18:35 +01:00
quotaio_v2.h quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00