Skip to contentSkip to conversation

CVE-2026-53022: platform/x86: dell-wmi-sysman: bound enumeration string aggregation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

platform/x86: dell-wmi-sysman: bound enumeration string aggregation

populate_enum_data() aggregates firmware-provided value-modifier and possible-value strings into fixed 512-byte struct members. The current code bounds each individual source string but then appends every string and separator with raw strcat() and no remaining-space check.

Switch the aggregation loops to a bounded append helper and reject enumeration packages whose combined strings do not fit in the destination buffers.

[ij: add include]

The Linux kernel CVE team has assigned CVE-2026-53022 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 5.15.209 with commit 7b3dc1f764bf24eb99474a5de8173b0b43a8b071
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.1.175 with commit 75c738d4f27fa18a2a033de153bd40302bde6a66
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.6.141 with commit ba0843c1955864401295f7ba3b420afe19f2266d
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.12.91 with commit 5a04f9a36930792f6d64e28d43609e158d09b665
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.18.33 with commit c5683ca4949a514fbe656c6d0d08c4c126e21db9
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 7.0.10 with commit 90b118d264845f7aaf539ac49f7c75f1f29590e2
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 7.1 with commit 3c34471c26abc52a37f5ad90949e2e4b8027eb14

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53022

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/7b3dc1f764bf24eb99474a5de8173b0b43a8b071
	https://git.kernel.org/stable/c/75c738d4f27fa18a2a033de153bd40302bde6a66
	https://git.kernel.org/stable/c/ba0843c1955864401295f7ba3b420afe19f2266d
	https://git.kernel.org/stable/c/5a04f9a36930792f6d64e28d43609e158d09b665
	https://git.kernel.org/stable/c/c5683ca4949a514fbe656c6d0d08c4c126e21db9
	https://git.kernel.org/stable/c/90b118d264845f7aaf539ac49f7c75f1f29590e2
	https://git.kernel.org/stable/c/3c34471c26abc52a37f5ad90949e2e4b8027eb14