Description (CNA)
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]
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e8a60aa7404bfef37705da5607c97737073ac38d before 7b3dc1f764bf24eb99474a5de8173b0b43a8b071; affected e8a60aa7404bfef37705da5607c97737073ac38d before 75c738d4f27fa18a2a033de153bd40302bde6a66; affected e8a60aa7404bfef37705da5607c97737073ac38d before ba0843c1955864401295f7ba3b420afe19f2266d; affected e8a60aa7404bfef37705da5607c97737073ac38d before 5a04f9a36930792f6d64e28d43609e158d09b665; affected e8a60aa7404bfef37705da5607c97737073ac38d before c5683ca4949a514fbe656c6d0d08c4c126e21db9; affected e8a60aa7404bfef37705da5607c97737073ac38d before 90b118d264845f7aaf539ac49f7c75f1f29590e2; affected e8a60aa7404bfef37705da5607c97737073ac38d before 3c34471c26abc52a37f5ad90949e2e4b8027eb14 |
| Linux / Linux | affected 5.11; unaffected 0 before 5.11; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.141 through 6.6.*; unaffected 6.12.91 through 6.12.*; unaffected 6.18.33 through 6.18.*; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- 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