platform/x86: dell-wmi-sysman: bound enumeration string aggregation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e8a60aa7404bfef37705da5607c97737073ac38d · < 90b118d264845f7aaf539ac49f7c75f1f29590e2| No fix yet |
| Linux Linux |
|
|
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]
From the CVE record · Linux
The Linux kernel’s dell-wmi-sysman component appends firmware-provided enumeration strings to fixed 512-byte buffers without checking the combined length. An oversized enumeration package could overflow those buffers. The input does not specify how an attacker could supply such a package or whether authentication or user interaction is required.
Engineers running Linux kernels with the dell-wmi-sysman component should check their exposure; affected versions are not specified.