Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: validate topology volume range before allocation SOF treats the topology mixer min and max values as non-negative indices into its volume table. It stores them in signed fields, allocates max + 1 entries through an int argument, and later indexes the table with the stored range. An inverted range is invalid, while a maximum at or above INT_MAX cannot be represented safely after the increment or in the signed fields. Validate the complete range before storing it or allocating the table.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 311ce4fe7637d96608b6e57bf9ebbd8aabcf429e before 992e130b888699d18da901b593d7a0fb75041a03; affected 311ce4fe7637d96608b6e57bf9ebbd8aabcf429e before cd63a1eb677e9548ba2d512be5dac4cb474ae145; affected 311ce4fe7637d96608b6e57bf9ebbd8aabcf429e before 8e1d63f5e272061208455b5aa4cc0d5bcbe5c1a8; affected 311ce4fe7637d96608b6e57bf9ebbd8aabcf429e before d2f41287b51a3261d447ae38000f7a6f5860663a; affected 311ce4fe7637d96608b6e57bf9ebbd8aabcf429e before 72d0b77412aef2cec554cc84e176658f2a48dafa; affected 311ce4fe7637d96608b6e57bf9ebbd8aabcf429e before a698e4a60fa54268a38f4e66378851a196cb139b |
| Linux / Linux | affected 5.2; unaffected 0 before 5.2; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/992e130b888699d18da901b593d7a0fb75041a03
- https://git.kernel.org/stable/c/cd63a1eb677e9548ba2d512be5dac4cb474ae145
- https://git.kernel.org/stable/c/8e1d63f5e272061208455b5aa4cc0d5bcbe5c1a8
- https://git.kernel.org/stable/c/d2f41287b51a3261d447ae38000f7a6f5860663a
- https://git.kernel.org/stable/c/72d0b77412aef2cec554cc84e176658f2a48dafa
- https://git.kernel.org/stable/c/a698e4a60fa54268a38f4e66378851a196cb139b