Linux
Squashfs: check metadata block offset is within range
In the Linux kernel, the following vulnerability has been resolved: Squashfs: check metadata block offset is within range Syzkaller reports a "general protection fault in squashfs_copy_data" This is ultimately caused by a corrupted index look-up table, which produces a negative metadata block offset. This is subsequently passed to squashfs_copy_data (via squashfs_read_metadata) where the negative offset causes an out of bounds access. The fix is to check that the offset is within range in squashfs_read_metadata. This will trap this and other cases.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 60f679f643f3f36a8571ea585e4ce5d93ef952b5
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 3f68a9457a6190814377577374da75f872e0a013
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 0c8ab092aec3ac4294940054772d30b511b16713
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 6b847d65f5b0065e02080c61fad93d57d6686383
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 9e9fa5ad37c9cbad73c165c7ff1e76e650825e7c
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 01ee0bcc29864b78249308e8b35042b09bbf5fe3
- >= f400e12656ab518be107febfe2315fb1eab5a342, < 3b9499e7d677dd4366239a292238489a804936b2
- >= f400e12656ab518be107febfe2315fb1eab5a342, < fdb24a820a5832ec4532273282cbd4f22c291a0d
Fixed in 60f679f643f3f36a8571ea585e4ce5d93ef952b5, 3f68a9457a6190814377577374da75f872e0a013, 0c8ab092aec3ac4294940054772d30b511b16713, 6b847d65f5b0065e02080c61fad93d57d6686383, 9e9fa5ad37c9cbad73c165c7ff1e76e650825e7c, 01ee0bcc29864b78249308e8b35042b09bbf5fe3, 3b9499e7d677dd4366239a292238489a804936b2, fdb24a820a5832ec4532273282cbd4f22c291a0d
- 2.6.29
Fixed in 0, 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7, 7.0
Mitigation
Upgrade Linux to 60f679f643f3f36a8571ea585e4ce5d93ef952b5 or 3f68a9457a6190814377577374da75f872e0a013 or 0c8ab092aec3ac4294940054772d30b511b16713 or 6b847d65f5b0065e02080c61fad93d57d6686383 or 9e9fa5ad37c9cbad73c165c7ff1e76e650825e7c or 01ee0bcc29864b78249308e8b35042b09bbf5fe3 or 3b9499e7d677dd4366239a292238489a804936b2 or fdb24a820a5832ec4532273282cbd4f22c291a0d or later.
Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.167 or 6.6.130 or 6.12.77 or 6.18.17 or 6.19.7 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.