kernel-hacking-2024-linux-s.../fs/quota
Nikolay Borisov ab73ef4639 quota: Fix possible GPF due to uninitialised pointers
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>
2016-03-03 11:01:58 +01:00
..
compat.c
dquot.c quota: Fix possible GPF due to uninitialised pointers 2016-03-03 11:01:58 +01:00
Kconfig
kqid.c
Makefile
netlink.c fs: make quota/netlink.c explicitly non-modular 2015-12-14 12:04:34 +01:00
quota.c quota: Forbid Q_GETQUOTA and Q_GETNEXTQUOTA for frozen filesystem 2016-02-18 14:03:03 +01:00
quota_tree.c quota_v2: Implement get_next_id() for V2 quota format 2016-02-09 13:05:23 +01:00
quota_tree.h
quota_v1.c
quota_v2.c quota_v2: Implement get_next_id() for V2 quota format 2016-02-09 13:05:23 +01:00
quotaio_v1.h
quotaio_v2.h