CVE-2026-98222
KEYS: encrypted: fix integer overflow of datablob_len
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: KEYS: encrypted: fix integer overflow of datablob_len encrypted_key_alloc() stores datablob_len in a u16. It is computed from multiple string and payload lengths. If the result exceeds U16_MAX, the assignment truncates the allocation size. KASAN reports a 32760-byte slab-out-of-bounds write when __ekey_init() copies the master key description into the undersized buffer. The total payload length stored in key->datalen is also a u16. Use check_add_overflow() to reject values that do not fit either destination, and use kzalloc_flex() for the flexible-array allocation.
EPSS 0.17% · 6.1th 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 |
|---|---|---|
| kernel-tools | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.x86_64, 0:5.14.0-687.61.1.el9_8.cloud.1.0.x86_64 |
| kernel-debuginfo | errata.rockylinux.org | 0:6.12.0-211.72.1.el10_2.ppc64le, 0:5.14.0-687.61.1.el9_8.aarch64, 0:4.18.0-553.180.1.el8_10.cloud.0.1.x86_64 |
| kernel-rt-debug-core | errata.rockylinux.org | 0:6.12.0-211.72.1.el10_2.x86_64, 0:5.14.0-687.61.1.el9_8.x86_64, 0:4.18.0-553.180.1.rt7.521.el8_10.x86_64 |
| kernel-debug-debuginfo | errata.rockylinux.org | 0:6.12.0-211.72.1.el10_2.s390x, 0:4.18.0-553.180.1.el8_10.x86_64, 0:4.18.0-553.180.1.el8_10.cloud.0.1.x86_64 |
| perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel-debug | errata.rockylinux.org | 0:6.12.0-211.72.1.el10_2.s390x, 0:5.14.0-687.61.1.el9_8.x86_64 |
| kernel-rt-64k-debug-devel | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.aarch64 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel-modules | errata.rockylinux.org | 0:4.18.0-553.180.1.el8_10.cloud.0.1.aarch64, 0:4.18.0-553.180.1.el8_10.aarch64 |
| kernel-64k | errata.rockylinux.org | 0:6.12.0-211.72.1.el10_2.aarch64 |
| kernel | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.x86_64, 0:5.14.0-687.61.1.el9_8.src, 0:5.14.0-687.61.1.el9_8.ppc64le, 0:4.18.0-553.180.1.el8_10.cloud.0.1.x86_64, 0:4.18.0-553.180.1.el8_10.cloud.0.1.src |
| kernel-debug-core | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.x86_64 |
53 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c |
| Linux | Linux | 2.6.38, 0, 6.12.112 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | microvm-kernel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
…and 19 more
Timeline
- Oct 6, 2026 EPSS Score (6 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 19, 2026 CVE Updated
- Oct 27, 2026 Distribution Patch (9 in total, the first dated here)
- Oct 27, 2026 Security Advisory (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98222
vulnetix vdb fixes CVE-2026-98222
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-98222/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart