summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2026-02-24 18:31:25 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2026-02-25 17:40:58 +0800
commit4a2d046e4b13202a6301a993961f5b30ae4d7119 (patch)
treea07a4907c29a8b0957f5487e4b1921a3d347f277 /tools/lib/python/kdoc/kdoc_parser.py
parentbf4fde7db4a8e2613cba36d81ac271f3d66c28f7 (diff)
erofs: fix interlaced plain identification for encoded extents
Only plain data whose start position and on-disk physical length are both aligned to the block size should be classified as interlaced plain extents. Otherwise, it must be treated as shifted plain extents. This issue was found by syzbot using a crafted compressed image containing plain extents with unaligned physical lengths, which can cause OOB read in z_erofs_transform_plain(). Reported-and-tested-by: syzbot+d988dc155e740d76a331@syzkaller.appspotmail.com Closes: https://lore.kernel.org/r/699d5714.050a0220.cdd3c.03e7.GAE@google.com Fixes: 1d191b4ca51d ("erofs: implement encoded extent metadata") Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions