Bug 2546385 (CVE-2026-98222) - CVE-2026-98222 kernel: KEYS: encrypted: fix integer overflow of datablob_len
Summary: CVE-2026-98222 kernel: KEYS: encrypted: fix integer overflow of datablob_len
Keywords:
Status: NEW
Alias: CVE-2026-98222
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 09:11 UTC by OSIDB Bzimport
Modified: 2026-11-11 11:34 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:90365 0 None None None 2026-10-26 21:02:57 UTC
Red Hat Product Errata RHSA-2026:92208 0 None None None 2026-10-29 03:02:11 UTC
Red Hat Product Errata RHSA-2026:92209 0 None None None 2026-10-29 03:16:41 UTC
Red Hat Product Errata RHSA-2026:93413 0 None None None 2026-11-01 21:53:00 UTC
Red Hat Product Errata RHSA-2026:94537 0 None None None 2026-11-09 14:40:28 UTC
Red Hat Product Errata RHSA-2026:95346 0 None None None 2026-11-06 18:09:37 UTC
Red Hat Product Errata RHSA-2026:98608 0 None None None 2026-11-11 11:34:41 UTC

Description OSIDB Bzimport 2026-10-06 09:11:02 UTC
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.

Comment 2 Jon Orris 2026-10-26 21:02:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:90365 https://access.redhat.com/errata/RHSA-2026:90365

Comment 3 Jon Orris 2026-10-29 03:02:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:92208 https://access.redhat.com/errata/RHSA-2026:92208

Comment 4 Jon Orris 2026-10-29 03:16:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:92209 https://access.redhat.com/errata/RHSA-2026:92209

Comment 5 Jon Orris 2026-11-01 21:52:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:93413 https://access.redhat.com/errata/RHSA-2026:93413

Comment 6 Jon Orris 2026-11-06 18:09:35 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:95346 https://access.redhat.com/errata/RHSA-2026:95346

Comment 7 errata-xmlrpc 2026-11-09 14:40:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 5.0

Via RHSA-2026:94537 https://access.redhat.com/errata/RHSA-2026:94537

Comment 8 errata-xmlrpc 2026-11-11 11:34:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98608 https://access.redhat.com/errata/RHSA-2026:98608


Note You need to log in before you can comment on or make changes to this bug.