Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: remoteproc: qcom_wcnss: Fix handling the lack of PD regulators in v3 The changes introduced to handle single power domain platforms have swapped the info pointer increment from num_pd_vregs to num_pds, which would shift the info pointer past the end of the array for pronto-v3, which does not list power domain regulators in vregs. This showed up as a difference between GCC- and LLVM-compiled kernels on SDM632 devices, where only with LLVM one would get the "regulator request with no identifier" error, because the out-of-bounds memory ended up being zeroed. Fix by skipping the increment when there are more power domains than regulators.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected fef1e1487dea81c2b4560e393ba4b0be57e28d01 before 7abab59d6c99ba2b8101d6f44ad25159b1510724; affected 69bb5b3ae348040e385113efba5bdc76396644d0 before e572cbb513cde53d90fb4729cad75056cd647ce3; affected 65991ea8a6d1e68effdc01d95ebe39f1653f7b71 before 2e7e39bb81913feaac463b7add46bafdca06fbde; affected 65991ea8a6d1e68effdc01d95ebe39f1653f7b71 before bce6b48af3abf7468d12ef4933f21bd8c1d822e9; affected 65991ea8a6d1e68effdc01d95ebe39f1653f7b71 before 3dbc90b9c22ea96e37bf55f6011e63b5123ec668; affected 654c295f9079d2c7875172142022168e34c4e34e; affected 8d0d4c11cace475f1b07f98ee3d2bd334590e17b; affected 04a89c98810d2dba8187120c07fdb732aa40ca14; affected 6.6.93 before 6.6.160; affected 6.12.31 before 6.12.114; affected 5.15.185 before 5.16; affected 6.1.141 before 6.2; affected 6.14.9 before 6.15 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 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/7abab59d6c99ba2b8101d6f44ad25159b1510724
- https://git.kernel.org/stable/c/e572cbb513cde53d90fb4729cad75056cd647ce3
- https://git.kernel.org/stable/c/2e7e39bb81913feaac463b7add46bafdca06fbde
- https://git.kernel.org/stable/c/bce6b48af3abf7468d12ef4933f21bd8c1d822e9
- https://git.kernel.org/stable/c/3dbc90b9c22ea96e37bf55f6011e63b5123ec668