CVE Catalog

CVE-2026-98222

Low risk· EPSS 6%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel KEYS encrypted mechanism, there is an integer overflow in the datablob_len variable (u16). If the sum of lengths exceeds U16_MAX, the assignment truncates the allocation size, leading to a slab-out-of-bounds write reported by KASAN. The fix uses check_add_overflow() and kzalloc_flex().

Risk Assessment

This could lead to kernel memory corruption, potentially enabling privilege escalation or system crash.

Recommendation

Update the Linux kernel to a version that rejects values not fitting the destination types.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS