CVE-2026-98222

KEYS: encrypted: fix integer overflow of datablob_len

No CVSS score yet EPSS 0.17%

Published 6 Oct 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-98222

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98222 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.94% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, before 7e58a9ac7798bd66fa9d5ef225b3228383785a70
affected from 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, before 8454e76acf5d65cf0841f1a026cb68b300c36304
affected from 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, before 1e720f63dbafc093a8f5d519f05b67724993edd4
affected from 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, before a1a98eca102b1cbbc37ff9eaa197ae4e6a3ea4b0
affected from 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, before cca38f2102a4cd35eda8d48950df4817b4b24757
affected from 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c, before 8697c431e297eb0d0ab13dda6bc172b48a34f05c
Other versions: unaffected
Linux
affected 2.6.38
unaffected before 2.6.38
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.54 up to and including 6.18.*
unaffected from 7.2.8 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98222 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98222

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98222
trivy image --scanners vuln IMAGE | grep CVE-2026-98222

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98222 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.