# CVE-2022-48696: regmap: spi: Reserve space for register address/padding

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-02)
- Published: 2024-05-03T15:09:48.280Z
- Modified: 2026-08-05T08:51:49.444Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f231ff38b7b23197013b437128d196710fe282da before 15ff1f17847c19174b260bd7dd0de33edcebd45e; from f231ff38b7b23197013b437128d196710fe282da before f5723cfc01932c7a8d5c78dbf7e067e537c91439; 5.16 (not affected: before 5.16; from 5.19.9 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.16 before 5.19.9; 6.0

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://git.kernel.org/stable/c/15ff1f17847c19174b260bd7dd0de33edcebd45e> (patch)
- <https://git.kernel.org/stable/c/f5723cfc01932c7a8d5c78dbf7e067e537c91439> (patch)

## Sources

- CVE List: [CVE-2022-48696](https://www.cve.org/CVERecord?id=CVE-2022-48696), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-48696](https://nvd.nist.gov/vuln/detail/CVE-2022-48696), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-48696 · Whole record: https://cve.day/CVE-2022-48696.json · Rebuilt by cve.day 2026-11-25T22:58:19.803Z
