Backport to 4.9- ext4: protect journal inode's blocks using block_validity
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ext4: avoid declaring fs inconsistent due to invalid file handlesfs/ fs/ fs/ +4 more | +56 | 0 replies | |
| 2/5 | ext4: protect journal inode's blocks using block_validityfs/ fs/ | +52 | 0 replies | |
| 3/5 | ext4: don't perform block validity checks on the journal inodefs/ | +8 | 0 replies | |
| 4/5 | ext4: fix block validity checks for journal inodes using indirect blocksfs/ | +5 | 0 replies | |
| 5/5 | ext4: unsigned int compared against zerofs/ | +2 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Naresh Kamboju |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | T-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Backport to 4.9- ext4: protect journal inode's blocks using block_validity
[PATCH 1/5] ext4: avoid declaring fs inconsistent due to invalid file handles
This patch is backported as functionality in this commit is used by Patch 2 in this patchset.
[PATCH 2/5] ext4: protect journal inode's blocks using block_validity Backport to 4.9
[PATCH 3/5] ext4: don't perform block validity checks on the journal [PATCH 4/5] ext4: fix block validity checks for journal inodes using [PATCH 5/5] ext4: unsigned int compared against zero Fixes issues found in Patch 2 in this patchset.
These patches addresses CVE-2019-19319
Colin Ian King (1):
ext4: unsigned int compared against zero
Theodore Ts'o (4):
ext4: avoid declaring fs inconsistent due to invalid file handles
ext4: protect journal inode's blocks using block_validity
ext4: don't perform block validity checks on the journal inode
ext4: fix block validity checks for journal inodes using indirect
blocks
fs/ext4/block_validity.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/ext4/ext4.h | 15 ++++++++++++-- fs/ext4/extents.c | 12 +++++++---- fs/ext4/ialloc.c | 2 +- fs/ext4/inode.c | 48 ++++++++++++++++++++++++++++++------------ fs/ext4/ioctl.c | 2 +- fs/ext4/namei.c | 4 ++-- fs/ext4/resize.c | 5 +++-- fs/ext4/super.c | 19 +++++------------ 9 files changed, 122 insertions(+), 39 deletions(-)
Signature · 1 line
2.7.4