CVE-2022-48696
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Summary
In the Linux kernel, the following vulnerability has been resolved:
regmap: spi: Reserve space for register address/padding
Currently the max_raw_read and max_raw_write limits in regmap_spi struct do not take into account the additional size of the transmitted register address and padding. This may result in exceeding the maximum permitted SPI message size, which could cause undefined behaviour, e.g. data corruption.
Fix regmap_get_spi_bus() to properly adjust the above mentioned limits by reserving space for the register address/padding as set in the regmap configuration.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | f231ff38b7b23197013b437128d196710fe282da < 15ff1f17847c19174b260bd7dd0de33edcebd45e | affected |
| Linux | Linux | f231ff38b7b23197013b437128d196710fe282da < f5723cfc01932c7a8d5c78dbf7e067e537c91439 | affected |
| Linux | Linux | 5.16 | affected |
| Linux | Linux | 0 < 5.16 | unaffected |
| Linux | Linux | 5.19.9 <= 5.19.* | unaffected |
| Linux | Linux | 6.0 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/15ff1f17847c19174b260bd7dd0de33edcebd45e
- https://git.kernel.org/stable/c/f5723cfc01932c7a8d5c78dbf7e067e537c91439
References
- https://git.kernel.org/stable/c/15ff1f17847c19174b260bd7dd0de33edcebd45e
- https://git.kernel.org/stable/c/f5723cfc01932c7a8d5c78dbf7e067e537c91439
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.