Skip to content
Commit 592acbf1 authored by Sriram Rajagopalan's avatar Sriram Rajagopalan Committed by Theodore Ts'o
Browse files

ext4: zero out the unused memory region in the extent tree block



This commit zeroes out the unused memory region in the buffer_head
corresponding to the extent metablock after writing the extent header
and the corresponding extent node entries.

This is done to prevent random uninitialized data from getting into
the filesystem when the extent block is synced.

This fixes CVE-2019-11833.

Signed-off-by: default avatarSriram Rajagopalan <sriramr@arista.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
parent db90f419
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment