diff options
author | Paul Emge <paulemge@forallsecure.com> | 2019-07-08 16:37:05 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-18 11:31:29 -0400 |
commit | 878269dbe74229005dd7f27aca66c554e31dad8e (patch) | |
tree | 1cfc04f11647a0a0a5012195205acc33066b8830 /common/spl/spl_fat.c | |
parent | 6e5a79de658cb1c8012c86e0837379aa6eabd024 (diff) |
CVE-2019-13104: ext4: check for underflow in ext4fs_read_file
in ext4fs_read_file, it is possible for a broken/malicious file
system to cause a memcpy of a negative number of bytes, which
overflows all memory. This patch fixes the issue by checking for
a negative length.
Signed-off-by: Paul Emge <paulemge@forallsecure.com>
Diffstat (limited to 'common/spl/spl_fat.c')
0 files changed, 0 insertions, 0 deletions