Squashfs: check block offset is not negative
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e4afd90bc7bf3dd477970c6c42bdd29ad3fda7fe, Kernel 3d2f0cb66c909ea2312cdef465165bb9a3ba2d84, Kernel 95dadf366c117dcdca78a570e6832071deab1ecd and 12 more.
In the Linux kernel, the following vulnerability has been resolved: Squashfs: check block offset is not negative If a negative offset is read off disk (for example the offset into the decompressed fragment block), this will cause squashfs_copy_data() to perform an out of bounds access. Fix by checking if offset is negative, and returning 0. This matches existing behaviour where an offset beyond the block returns 0 bytes copied. To trigger this out of bounds access requires a crafted Squashfs filesystem and CAP_SYS_ADMIN to mount it. Unprivileged users will not be able to mount such a filesystem, but once mounted, an unprivileged user can trigger the out of bounds access by reading the crafted file with the negative offset.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f400e12656ab518be107febfe2315fb1eab5a342 <e4afd90bc7bf3dd477970c6c42bdd29ad3fda7fe, >=f400e12656ab518be107febfe2315fb1eab5a342 <3d2f0cb66c909ea2312cdef465165bb9a3ba2d84, >=f400e12656ab518be107febfe2315fb1eab5a342 <95dadf366c117dcdca78a570e6832071deab1ecd, >=f400e12656ab518be107febfe2315fb1eab5a342 <b169185d5c672b989985c6c2e38cafab2548ba88, >=f400e12656ab518be107febfe2315fb1eab5a342 <bbb2218eb072b0a15dc063929200183bd23c2344, >=f400e12656ab518be107febfe2315fb1eab5a342 <c2a126fca820ae74872da28de68dc74d4595dc4b, >=f400e12656ab518be107febfe2315fb1eab5a342 <d0a3729d464fcf516416a41cf304c0c92126ee03, >=f400e12656ab518be107febfe2315fb1eab5a342 <e300eb5002925b29be803d2661af07266cfa267e, =2.6.29 | e4afd90bc7bf3dd477970c6c42bdd29ad3fda7fe, 3d2f0cb66c909ea2312cdef465165bb9a3ba2d84, 95dadf366c117dcdca78a570e6832071deab1ecd, b169185d5c672b989985c6c2e38cafab2548ba88, bbb2218eb072b0a15dc063929200183bd23c2344, c2a126fca820ae74872da28de68dc74d4595dc4b, d0a3729d464fcf516416a41cf304c0c92126ee03, e300eb5002925b29be803d2661af07266cfa267e |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=2.6.29 <5.10.270 | 5.15.221, 6.1.188, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket