]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add validity checks for bitmap block numbers
authorTheodore Ts'o <tytso@mit.edu>
Tue, 27 Mar 2018 03:54:10 +0000 (23:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Mar 2018 03:54:10 +0000 (23:54 -0400)
commitc6c79670880cb4d8e58f9bdc18005eef781a8315
treec750d6e29407cc63499a6659abc2c45635a4bf28
parent073b8d5b7f1e66c3d82b68e62247f431c29e1576
ext4: add validity checks for bitmap block numbers

An privileged attacker can cause a crash by mounting a crafted ext4
image which triggers a out-of-bounds read in the function
ext4_valid_block_bitmap() in fs/ext4/balloc.c.

This issue has been assigned CVE-2018-1093.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199181
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1560782
Reported-by: Wen Xu <wen.xu@gatech.edu>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/balloc.c
fs/ext4/ialloc.c