{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43166","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-05-01T14:12:55.990Z","datePublished":"2026-05-06T11:27:43.242Z","dateUpdated":"2026-08-05T12:26:16.817Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:26:16.817Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix interlaced plain identification for encoded extents\n\nOnly plain data whose start position and on-disk physical length are\nboth aligned to the block size should be classified as interlaced\nplain extents. Otherwise, it must be treated as shifted plain extents.\n\nThis issue was found by syzbot using a crafted compressed image\ncontaining plain extents with unaligned physical lengths, which can\ncause OOB read in z_erofs_transform_plain()."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is reached by local VFS operations on a crafted EROFS image: mount the image and read/open a compressed file so EROFS performs readahead/decompression. There is no direct network, adjacent, or physical protocol entry point in EROFS itself.\nAC:L - The trigger is deterministic malformed extent metadata with an aligned physical start and unaligned encoded length; syzbot reproduced it with a crafted image and ordinary mount/open/read activity. No attacker-uncontrolled race or fragile timing condition is required.\nPR:N - An attacker can craft and supply the malicious EROFS image without privileges; the privileged filesystem mount/read can be performed by an interacting victim or image-processing environment. EROFS is not marked FS_USERNS_MOUNT, so a purely self-triggered local mount would require CAP_SYS_ADMIN, but the higher-severity defensible scenario is malicious media/image handling.\nUI:R - Exploitation requires some user or system action to mount or otherwise process the crafted EROFS image and read/open the affected file. The vulnerable code is not reached passively before the image is mounted/read.\nS:U - The bug is in kernel filesystem parsing/decompression and affects the same kernel security authority. It does not cross a hypervisor, VM, IOMMU, or sandbox boundary by itself.\nC:H - The bug causes a slab/out-of-bounds read of up to a page-sized copy in z_erofs_transform_plain(), and the copied bytes are placed into output/page-cache data readable through the file path. This can disclose kernel memory and is not limited to a few fixed bytes.\nI:N - The faulty operation is an out-of-bounds read from the input page mapping followed by copying into the file output page; it does not write out of bounds or corrupt kernel control data. No direct integrity modification primitive is evident.\nA:H - syzbot demonstrated a KASAN slab-out-of-bounds/use-after-free read in this path, and such kernel memory-safety faults can produce an oops/panic on hardened or faulting configurations. The crafted image can retrigger the fault through repeated reads."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/zmap.c"],"versions":[{"version":"1d191b4ca51d73699cb127386b95ac152af2b930","lessThan":"9d5a97bc71ed5783687705c708454c4453aa91d1","status":"affected","versionType":"git"},{"version":"1d191b4ca51d73699cb127386b95ac152af2b930","lessThan":"d3790f26d38606f020212486359b84632c19d08b","status":"affected","versionType":"git"},{"version":"1d191b4ca51d73699cb127386b95ac152af2b930","lessThan":"4a2d046e4b13202a6301a993961f5b30ae4d7119","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/zmap.c"],"versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.18.16","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.6","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.0"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9d5a97bc71ed5783687705c708454c4453aa91d1"},{"url":"https://git.kernel.org/stable/c/d3790f26d38606f020212486359b84632c19d08b"},{"url":"https://git.kernel.org/stable/c/4a2d046e4b13202a6301a993961f5b30ae4d7119"}],"title":"erofs: fix interlaced plain identification for encoded extents","x_generator":{"engine":"bippy-1.2.0"}}}}