aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorSuraj Jitindar Singh <surajjs@amazon.com>2020-02-18 19:08:50 -0800
committerTheodore Ts'o <tytso@mit.edu>2020-02-21 00:38:12 -0500
commitdf3da4ea5a0fc5d115c90d5aa6caa4dd433750a7 (patch)
treef9ff3e4480025acaef8bec07cbf806a7cd6dfb2b /fs/ext4/super.c
parentext4: fix potential race between online resizing and write operations (diff)
downloadlinux-dev-df3da4ea5a0fc5d115c90d5aa6caa4dd433750a7.tar.xz
linux-dev-df3da4ea5a0fc5d115c90d5aa6caa4dd433750a7.zip
ext4: fix potential race between s_group_info online resizing and access
During an online resize an array of pointers to s_group_info gets replaced so it can get enlarged. If there is a concurrent access to the array in ext4_get_group_info() and this memory has been reused then this can lead to an invalid memory access. Link: https://bugzilla.kernel.org/show_bug.cgi?id=206443 Link: https://lore.kernel.org/r/20200221053458.730016-3-tytso@mit.edu Signed-off-by: Suraj Jitindar Singh <surajjs@amazon.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Balbir Singh <sblbir@amazon.com> Cc: stable@kernel.org
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions