[PATCH 0/1] [SRU] [T/X/B/F/I/J] ext4: limit length to bitmap_maxbytes
Paolo Pisati
paolo.pisati at canonical.com
Mon May 9 14:00:53 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1969476
[Impact]
Abusing ext4_fallocate() (as a normal user) can trigger a BUG()/kernel panic.
[Fix]
Apply this upstream fix:
commit 2da376228a2427501feb9d15815a45dbdbdd753e
Author: Tadeusz Struk <tadeusz.struk at linaro.org>
Date: Thu Mar 31 13:05:15 2022 -0700
ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
[Test]
The reporter has provided a working reproducer.
[Where problems could occur]
Upstream fix already slated for @stable inclusion.
Clean upstream cherry-pick, proposing for Trusty, Xenial, Bionic,
Focal, Impish and Jammy.
Reported-by: Colin King <colin.i.king at gmail.com>
Tadeusz Struk (1):
ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
fs/ext4/inode.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
--
2.25.1
More information about the kernel-team
mailing list