CVE-2026-64074
fs/statmount: fix slab out-of-bounds write in statmount_mnt_idmap
Reported by linux · Published July 19, 2026
In the Linux kernel, the following vulnerability has been resolved: fs/statmount: fix slab out-of-bounds write in statmount_mnt_idmap statmount_mnt_idmap() writes one mapping with seq_printf() and then manually advances seq->count to include the NUL separator. If seq_printf() overflows, seq_set_overflow() sets seq->count to seq->size. The manual seq->count++ changes this to seq->size + 1. seq_has_overflowed() then no longer detects the overflow. The corrupted count returns to statmount_string(), which later executes: seq->buf[seq->count++] = '\0'; This causes a 1-byte NULL out-of-bounds write on the dynamically allocated seq buffer. Fix this by checking for overflow immediately after seq_printf().
EPSS 0.17% · 6.8th percentile
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.18-modules-extra-common | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel-livepatch-6.18.35-68.127 | Amazon Linux | 1:1.0-0.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 37c4a9590e1efcae7749682239fc22a330d2d325, 37c4a9590e1efcae7749682239fc22a330d2d325, 37c4a9590e1efcae7749682239fc22a330d2d325 |
| Linux | Linux | 6.15, 0, 6.18.34 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| linux | linux_kernel | 6.15, 6.15, 6.15 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| Linux | Linux | 7.0.11, 7.1, 37c4a9590e1efcae7749682239fc22a330d2d325 |
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Aug 7, 2026 EPSS Score (12 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-64074
vulnetix vdb fixes CVE-2026-64074
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-64074/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart