Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c678e6ab authored by Sriram Rajagopalan's avatar Sriram Rajagopalan Committed by Razziell
Browse files

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



commit 592acbf16821288ecdc4192c47e3774a4c48bb64 upstream.

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
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: Ifdaabce48c69694958a0d42866bdd83d26b9a026
parent 73c7dbc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment