CVE-2026-74399
evm: terminate and bound the evm_xattrs read buffer
Reported by linux · Published August 15, 2026
In the Linux kernel, the following vulnerability has been resolved: evm: terminate and bound the evm_xattrs read buffer evm_read_xattrs() allocates size + 1 bytes, fills them from the list of enabled xattrs, and then passes strlen(temp) to simple_read_from_buffer(). When no configured xattrs are enabled, the fill loop stores nothing and temp[0] remains uninitialized, so strlen() reads beyond initialized memory. Explicitly terminate the buffer after allocation, use snprintf() for each formatted line, and pass the accumulated length, without risk of truncation, to simple_read_from_buffer().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| Linux | Linux | 4.18, 12ad52dc45a0c8c9d25e85b4a84201de4c5420ed |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fa516b66a1bfce1d72f1620c54bdfebc493000d1, fa516b66a1bfce1d72f1620c54bdfebc493000d1, fa516b66a1bfce1d72f1620c54bdfebc493000d1 |
| Linux | Linux | 4.18, 0, 5.15.212 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 7.1.5, 6.18.40, 6.12.97 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.41-94.142 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| linux | linux_kernel | 4.18, 4.18, 4.18 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
…and 18 more
Timeline
- Aug 15, 2026 CVE Published
- Aug 16, 2026 EPSS Score (16 in total, the first dated here)
- Aug 19, 2026 Security Advisory
- Nov 6, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74399
vulnetix vdb fixes CVE-2026-74399
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-74399/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart