VDB

CVE-2026-64146

CVE-2026-64146 PUBLISHED

erofs: fix metabuf leak in inode xattr initialization

Reported by linux · Published July 19, 2026

In the Linux kernel, the following vulnerability has been resolved: erofs: fix metabuf leak in inode xattr initialization commit bb88e8da0025 ("erofs: use meta buffers for xattr operations") converted xattr operations to use on-stack erofs_buf instances. erofs_init_inode_xattrs() uses such a metabuf while reading the inline xattr header and shared xattr id array. Some error paths after erofs_read_metabuf() leave through out_unlock without dropping the metabuf, so the folio reference can leak. Consolidate the cleanup at out_unlock. erofs_put_metabuf() is a no-op if no folio has been acquired, and this keeps all paths after taking EROFS_I_BL_XATTR_BIT covered by a single cleanup site.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.114-139.210.amzn2023
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-headersAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.114-139.210.amzn2023
kernel-livepatch-6.12.114-139.210Amazon Linux1:1.0-0.amzn2023
python3-perf6.12Amazon Linux1:6.12.114-139.210.amzn2023
linux-gcp-6.18Chainguard6.18.57-r0

Affected products

VendorProductVersions
LinuxLinuxbb88e8da00253bea0e7f0f4cdfd7910572d7799f, bb88e8da00253bea0e7f0f4cdfd7910572d7799f, bb88e8da00253bea0e7f0f4cdfd7910572d7799f
LinuxLinux5.17, 0, 6.1.191
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023python3-perf6.120
chainguardlinux-gcp-6.180
linuxlinux_kernel5.17, 5.17, 5.17
chainguardlinux-qemu-melange0
LinuxLinux6.12.114, 6.18.57, 7.0.11
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
amazon:2023perf6.120
amazon:2023kernel6.12-tools-devel0

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (10 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64146
vulnetix vdb fixes CVE-2026-64146

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64146/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›