CVE-2026-64146
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel-livepatch-6.12.114-139.210 | Amazon Linux | 1:1.0-0.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| linux-gcp-6.18 | Chainguard | 6.18.57-r0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bb88e8da00253bea0e7f0f4cdfd7910572d7799f, bb88e8da00253bea0e7f0f4cdfd7910572d7799f, bb88e8da00253bea0e7f0f4cdfd7910572d7799f |
| Linux | Linux | 5.17, 0, 6.1.191 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| linux | linux_kernel | 5.17, 5.17, 5.17 |
| chainguard | linux-qemu-melange | 0 |
| Linux | Linux | 6.12.114, 6.18.57, 7.0.11 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
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