Home
last modified time | relevance | path

Searched hist:"64 b4a25c3de81a69724e888ec2db3533b43816e2" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dfast_commit.hdiff 64b4a25c3de81a69724e888ec2db3533b43816e2 Sun Nov 06 16:48:38 CST 2022 Eric Biggers <ebiggers@google.com> ext4: add missing validation of fast-commit record lengths

Validate the inode and filename lengths in fast-commit journal records
so that a malicious fast-commit journal cannot cause a crash by having
invalid values for these. Also validate EXT4_FC_TAG_DEL_RANGE.

Fixes: aa75f4d3daae ("ext4: main fast-commit commit path")
Cc: <stable@vger.kernel.org> # v5.10+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221106224841.279231-5-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
H A Dfast_commit.cdiff 64b4a25c3de81a69724e888ec2db3533b43816e2 Sun Nov 06 16:48:38 CST 2022 Eric Biggers <ebiggers@google.com> ext4: add missing validation of fast-commit record lengths

Validate the inode and filename lengths in fast-commit journal records
so that a malicious fast-commit journal cannot cause a crash by having
invalid values for these. Also validate EXT4_FC_TAG_DEL_RANGE.

Fixes: aa75f4d3daae ("ext4: main fast-commit commit path")
Cc: <stable@vger.kernel.org> # v5.10+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221106224841.279231-5-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>