CVE-2026-43166 (GCVE-0-2026-43166)

Vulnerability from cvelistv5 – Published: 2026-05-06 11:27 – Updated: 2026-08-05 12:26
VLAI
Title
erofs: fix interlaced plain identification for encoded extents
Summary
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().
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 1d191b4ca51d73699cb127386b95ac152af2b930 , < 9d5a97bc71ed5783687705c708454c4453aa91d1 (git)
Affected: 1d191b4ca51d73699cb127386b95ac152af2b930 , < d3790f26d38606f020212486359b84632c19d08b (git)
Affected: 1d191b4ca51d73699cb127386b95ac152af2b930 , < 4a2d046e4b13202a6301a993961f5b30ae4d7119 (git)
Create a notification for this product.
Linux Linux Affected: 6.15
Unaffected: 0 , < 6.15 (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/erofs/zmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9d5a97bc71ed5783687705c708454c4453aa91d1",
              "status": "affected",
              "version": "1d191b4ca51d73699cb127386b95ac152af2b930",
              "versionType": "git"
            },
            {
              "lessThan": "d3790f26d38606f020212486359b84632c19d08b",
              "status": "affected",
              "version": "1d191b4ca51d73699cb127386b95ac152af2b930",
              "versionType": "git"
            },
            {
              "lessThan": "4a2d046e4b13202a6301a993961f5b30ae4d7119",
              "status": "affected",
              "version": "1d191b4ca51d73699cb127386b95ac152af2b930",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/erofs/zmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.15"
            },
            {
              "lessThan": "6.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:26:16.817Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43166",
    "datePublished": "2026-05-06T11:27:43.242Z",
    "dateReserved": "2026-05-01T14:12:55.990Z",
    "dateUpdated": "2026-08-05T12:26:16.817Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43166",
      "date": "2026-08-12",
      "epss": "0.00132",
      "percentile": "0.0313"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43166\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-06T12:16:34.800\",\"lastModified\":\"2026-06-17T10:49:03.530\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"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().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/erofs/zmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"1d191b4ca51d73699cb127386b95ac152af2b930\",\"lessThan\":\"9d5a97bc71ed5783687705c708454c4453aa91d1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1d191b4ca51d73699cb127386b95ac152af2b930\",\"lessThan\":\"d3790f26d38606f020212486359b84632c19d08b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1d191b4ca51d73699cb127386b95ac152af2b930\",\"lessThan\":\"4a2d046e4b13202a6301a993961f5b30ae4d7119\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/erofs/zmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.16\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19.6\",\"lessThanOrEqual\":\"6.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"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\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.2}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.15\",\"versionEndExcluding\":\"6.18.16\",\"matchCriteriaId\":\"5B5F989F-E891-48E4-9EC9-3C5EFD3DB9DC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19\",\"versionEndExcluding\":\"6.19.6\",\"matchCriteriaId\":\"373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"F253B622-8837-4245-BCE5-A7BF8FC76A16\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/4a2d046e4b13202a6301a993961f5b30ae4d7119\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9d5a97bc71ed5783687705c708454c4453aa91d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d3790f26d38606f020212486359b84632c19d08b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T11:32:06+00:00",
      "cve": "CVE-2026-43166",
      "id": "CVE-2026-43166",
      "initial_release_date": "2026-05-06T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: erofs: fix interlaced plain identification for encoded extents",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43166.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-06T01:21:12Z",
      "cve": "CVE-2026-43166",
      "id": "CVE-2026-43166",
      "initial_release_date": "2026-05-08T02:20:36Z",
      "product_status:known_not_affected": "293",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43166",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-43166.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…