Linux
erofs: fix interlaced plain identification for encoded extents
In the Linux kernel, the following vulnerability has been resolved: 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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1d191b4ca51d73699cb127386b95ac152af2b930, < 9d5a97bc71ed5783687705c708454c4453aa91d1
- >= 1d191b4ca51d73699cb127386b95ac152af2b930, < d3790f26d38606f020212486359b84632c19d08b
- >= 1d191b4ca51d73699cb127386b95ac152af2b930, < 4a2d046e4b13202a6301a993961f5b30ae4d7119
Fixed in 9d5a97bc71ed5783687705c708454c4453aa91d1, d3790f26d38606f020212486359b84632c19d08b, 4a2d046e4b13202a6301a993961f5b30ae4d7119
- 6.15
Fixed in 0, 6.18.16, 6.19.6, 7.0
Mitigation
Upgrade Linux to 9d5a97bc71ed5783687705c708454c4453aa91d1 or d3790f26d38606f020212486359b84632c19d08b or 4a2d046e4b13202a6301a993961f5b30ae4d7119 or later.
Upgrade Linux to 0 or 6.18.16 or 6.19.6 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.