regmap: spi: Reserve space for register address/padding
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 15ff1f17847c19174b260bd7dd0de33edcebd45e and Kernel f5723cfc01932c7a8d5c78dbf7e067e537c91439.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.16, >=f231ff38b7b23197013b437128d196710fe282da <15ff1f17847c19174b260bd7dd0de33edcebd45e, >=f231ff38b7b23197013b437128d196710fe282da <f5723cfc01932c7a8d5c78dbf7e067e537c91439 | 15ff1f17847c19174b260bd7dd0de33edcebd45e, f5723cfc01932c7a8d5c78dbf7e067e537c91439 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket