diff options
author | Theodore Ts'o <tytso@mit.edu> | 2020-02-15 16:40:37 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-02-21 00:37:09 -0500 |
commit | 1d0c3924a92e69bfa91163bda83c12a994b4d106 (patch) | |
tree | c8bdc41a140f8ef4f01d6b1b7f4bd7c86b3edecc /kernel/rseq.c | |
parent | 9424ef56e13a1f14c57ea161eed3ecfdc7b2770e (diff) |
ext4: fix potential race between online resizing and write operations
During an online resize an array of pointers to buffer heads gets
replaced so it can get enlarged. If there is a racing block
allocation or deallocation which uses the old array, and the old array
has gotten reused this can lead to a GPF or some other random kernel
memory getting modified.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206443
Link: https://lore.kernel.org/r/20200221053458.730016-2-tytso@mit.edu
Reported-by: Suraj Jitindar Singh <surajjs@amazon.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'kernel/rseq.c')
0 files changed, 0 insertions, 0 deletions