VDB

CVE-2026-98222

CVE-2026-98222 PUBLISHED

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.

PackageEcosystemFixed in
kernel-toolserrata.rockylinux.org0: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-debuginfoerrata.rockylinux.org0: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-coreerrata.rockylinux.org0: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-debuginfoerrata.rockylinux.org0: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.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel-debugerrata.rockylinux.org0:6.12.0-211.72.1.el10_2.s390x, 0:5.14.0-687.61.1.el9_8.x86_64
kernel-rt-64k-debug-develerrata.rockylinux.org0:5.14.0-687.61.1.el9_8.aarch64
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
kernel-moduleserrata.rockylinux.org0:4.18.0-553.180.1.el8_10.cloud.0.1.aarch64, 0:4.18.0-553.180.1.el8_10.aarch64
kernel-64kerrata.rockylinux.org0:6.12.0-211.72.1.el10_2.aarch64
kernelerrata.rockylinux.org0: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-coreerrata.rockylinux.org0:5.14.0-687.61.1.el9_8.x86_64

53 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.17%
6.1th percentile

Affected products

VendorProductVersions
LinuxLinux7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c
LinuxLinux2.6.38, 0, 6.12.112
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-devel0
amazon:2023bpftool0
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-headers0
amazon:2023perf6.180
amazon:2023kernel-tools0
amazon:2023microvm-kernel0
amazon:2023microvm-kernel6.180
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools0

…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

References

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