commit | e743995d0233281e65502abc77684f054380d53e | [log] [tgz] |
---|---|---|
author | Anirudh Rayabharam <mail@anirudhrb.com> | Fri May 07 00:26:54 2021 +0530 |
committer | Bharath <bharath@teamb58.org> | Mon Jan 30 15:32:54 2023 +0530 |
tree | bdfecc76fdbec6ce605fb5503585e8ea99462d84 | |
parent | e0efac41419636f76e517a3b58c17da091f63395 [diff] |
ext4: fix kernel infoleak via ext4_extent_header commit ce3aba43599f0b50adbebff133df8d08a3d5fffe upstream. Initialize eh_generation of struct ext4_extent_header to prevent leaking info to userspace. Fixes KMSAN kernel-infoleak bug reported by syzbot at: http://syzkaller.appspot.com/bug?id=78e9ad0e6952a3ca16e8234724b2fa92d041b9b8 Issue: SEC-3790 Cc: stable@kernel.org Reported-by: syzbot+2dcfeaf8cb49b05e8f1a@syzkaller.appspotmail.com Fixes: a86c61812637 ("[PATCH] ext3: add extent map support") Change-Id: I3a05bd8d0dd70f4f5db67e73b0adeaa5f79a02f0 Signed-off-by: Anirudh Rayabharam <mail@anirudhrb.com> Link: https://lore.kernel.org/r/20210506185655.7118-1-mail@anirudhrb.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 25dcc64fa0c9399653e1fd1a4bad6c1e8cb31f3f)