# CVE-2026-45943: erofs: fix inline data read failure for ztailpacking pclusters

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-05-27T12:17:58.764Z
- **Modified:** 2026-10-30T13:18:54.033Z

## Who should check

- Anyone running Linux \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 9ac759f2fb20b0cc3e367ce965b7279ea3919505; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 237e0524a53812706e4cad30f40ef6c3213a2a92; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< ad07ea069f924465061cfee40ef2861bb99f4dd8; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 5de1aa0bf3a5db0b3cbf61959da5ac61250833ed; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 92088bd9aa2a7246bba8b9648fbc64edd173cf17; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< c134a40f86efb8d6b5a949ef70e06d5752209be5
- Anyone running Linux 5.17

## Description

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 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000
 Call trace:
  z\_erofs\_decompress\_queue+0x4c8/0xa14
  z\_erofs\_runqueue+0x908/0x97c
  z\_erofs\_read\_folio+0x128/0x228
  filemap\_read\_folio+0x68/0x128
  filemap\_get\_pages+0x44c/0x8b4
  filemap\_read+0x12c/0x5b8
  generic\_file\_read\_iter+0x4c/0x15c
  do\_iter\_readv\_writev+0x188/0x1e0
  vfs\_iter\_read+0xac/0x1a4
  backing\_file\_read\_iter+0x170/0x34c
  ovl\_read\_iter+0xf0/0x140
  vfs\_read+0x28c/0x344
  ksys\_read+0x80/0xf0
  \_\_arm64\_sys\_read+0x24/0x34
  invoke\_syscall+0x60/0x114
  el0\_svc\_common+0x88/0xe4
  do\_el0\_svc+0x24/0x30
  el0\_svc+0x40/0xa8
  el0t\_64\_sync\_handler+0x70/0xbc
  el0t\_64\_sync+0x1bc/0x1c0

Fix this by reading the inline data before allocating and adding
the pclusters to the I/O chains.

## Affected and fixed versions

- Linux: \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 9ac759f2fb20b0cc3e367ce965b7279ea3919505; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 237e0524a53812706e4cad30f40ef6c3213a2a92; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< ad07ea069f924465061cfee40ef2861bb99f4dd8; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 5de1aa0bf3a5db0b3cbf61959da5ac61250833ed; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 92088bd9aa2a7246bba8b9648fbc64edd173cf17; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< c134a40f86efb8d6b5a949ef70e06d5752209be5 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45943. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45943.md
Affected: Linux >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 9ac759f2fb20b0cc3e367ce965b7279ea3919505; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 237e0524a53812706e4cad30f40ef6c3213a2a92; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < ad07ea069f924465061cfee40ef2861bb99f4dd8; >= cecf864d3d76d50e3d9c581…
Fixed in: Linux 9ac759f2fb20b0cc3e367ce965b7279ea3919505, Linux 237e0524a53812706e4cad30f40ef6c3213a2a92, Linux 5de1aa0bf3a5db0b3cbf61959da5ac61250833ed, Linux 92088bd9aa2a7246bba8b9648fbc64edd173cf17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45943 being exploited?

There is no confirmed exploitation: CVE-2026-45943 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45943?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45943?

Linux \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 9ac759f2fb20b0cc3e367ce965b7279ea3919505; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 237e0524a53812706e4cad30f40ef6c3213a2a92; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< ad07ea069f924465061cfee40ef2861bb99f4dd8; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 5de1aa0bf3a5db0b3cbf61959da5ac61250833ed; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< 92088bd9aa2a7246bba8b9648fbc64edd173cf17; \>= cecf864d3d76d50e3d9c58145e286a0b8c284e92, \< c134a40f86efb8d6b5a949ef70e06d5752209be5; Linux 5.17.

### Is there a fix for CVE-2026-45943?

Yes. Fixed in Linux 9ac759f2fb20b0cc3e367ce965b7279ea3919505, Linux 237e0524a53812706e4cad30f40ef6c3213a2a92, Linux 5de1aa0bf3a5db0b3cbf61959da5ac61250833ed, Linux 92088bd9aa2a7246bba8b9648fbc64edd173cf17. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-45943?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ad07ea069f924465061cfee40ef2861bb99f4dd8>
- patch: <https://git.kernel.org/stable/c/5de1aa0bf3a5db0b3cbf61959da5ac61250833ed>
- patch: <https://git.kernel.org/stable/c/92088bd9aa2a7246bba8b9648fbc64edd173cf17>
- patch: <https://git.kernel.org/stable/c/c134a40f86efb8d6b5a949ef70e06d5752209be5>
- other: <https://git.kernel.org/stable/c/9ac759f2fb20b0cc3e367ce965b7279ea3919505>
- other: <https://git.kernel.org/stable/c/237e0524a53812706e4cad30f40ef6c3213a2a92>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45943>

HTML: <https://flawdb.com/CVE-2026-45943> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45943>
