Skip to content
Heist/ feed
Unrated

erofs: fix inline data read failure for ztailpacking pclusters

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: erofs: fix inline data read failure for ztailpacking pclusters Compressed folios for ztailpacking pclusters must be valid before adding these pclusters to I/O chains. Otherwise, z_erofs_decompress_pcluster() may assume they are already valid and then trigger a NULL pointer dereference. It is somewhat hard to reproduce because the inline data is in the same block as the tail of the compressed indexes, which are usually read just before. However, it may still happen if a fatal signal arrives while read_mapping_folio() is running, as shown below: erofs: (device dm-1): z_erofs_pcluster_begin: failed to get inline data -4 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 ... pc : z_erofs_decompress_queue+0x4c8/0xa14 lr : z_erofs_decompress_queue+0x160/0xa14 sp : ffffffc08b3eb3a0 x29: ffffffc08b3eb570 x28: ffffffc08b3eb418 x27: 0000000000001000 x26: ffffff8086ebdbb8 x25: ffffff8086ebdbb8 x24: 0000000000000001 x23: 0000000000000008 x22: 00000000fffffffb x21: dead000000000700 x20: 00000000000015e7 x19: ffffff808babb400 x18: ffffffc089edc098 x17: 00000000c006287d x16: 00000000c006287d x15: 0000000000000004 x14: ffffff80ba8f8000 x13: 0000000000000004 x12: 00000006589a77c9 x11: 0000000000000015 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : ffffffffffffffe0 x3 : 0000000000000020 x2 : 0000000000000

Announced Source revision 1
Original source ↗

CVE-2026-45943

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-45943

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "cecf864d3d76d50e3d9c58145e286a0b8c284e92",
        "lessThan": "237e0524a53812706e4cad30f40ef6c3213a2a92",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cecf864d3d76d50e3d9c58145e286a0b8c284e92",
        "lessThan": "ad07ea069f924465061cfee40ef2861bb99f4dd8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cecf864d3d76d50e3d9c58145e286a0b8c284e92",
        "lessThan": "5de1aa0bf3a5db0b3cbf61959da5ac61250833ed",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cecf864d3d76d50e3d9c58145e286a0b8c284e92",
        "lessThan": "92088bd9aa2a7246bba8b9648fbc64edd173cf17",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cecf864d3d76d50e3d9c58145e286a0b8c284e92",
        "lessThan": "c134a40f86efb8d6b5a949ef70e06d5752209be5",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/erofs/zdata.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.17"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.17",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.78",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.14",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.4",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/erofs/zdata.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-45943

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46313 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement