# CVE-2022-48806: eeprom: ee1004: limit i2c reads to I2C\_SMBUS\_BLOCK\_MAX

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2024-07-16T11:43:57.598Z
- **Modified:** 2026-06-17T05:16:14.530Z

## Who should check

- Anyone running Linux \>= aca56c298e2a6d20ab6308e203a8d37f2a7759d3, \< 3937c35493ee2847aaefcfa5460e94b7443eef49; \>= 25714ad6bf5e98025579fa4c08ff2041a663910c, \< a37960df7eac3cc8094bd1ab84864e9e32c91345; \>= be9313f755a7bfa02230b15731d07074d5255ecb, \< 9a5f471ae380f9fcb9756d453c12ca1f8595a93c; \>= 07d9beb6e3c2e852e884113d6803ea4b3643ae38, \< 9443ddeb3754e9e382a396b50adc1961301713ce; \>= effa453168a7eeb8a562ff4edc1dbf9067360a61, \< c0689e46be23160d925dca95dfc411f1a0462708; 74650c34f93044d3ab441235f161f9e1e761e96b; a126a8c3dd51519513141b4fc94fd4813bca2c0f; 202d0e22fe512df0f1cb6253d40ce1058e373247; 7414af7bdad9a9cddb3a765ca98ea207048618c5; \>= 4.4.300, \< 4.5; …
- Anyone running Linux \>= 5.4.174, \< 5.4.180; \>= 5.10.94, \< 5.10.101; \>= 5.15.17, \< 5.15.24; \>= 5.16.3, \< 5.16.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

eeprom: ee1004: limit i2c reads to I2C\_SMBUS\_BLOCK\_MAX

Commit effa453168a7 ("i2c: i801: Don't silently correct invalid transfer
size") revealed that ee1004\_eeprom\_read() did not properly limit how
many bytes to read at once.

In particular, i2c\_smbus\_read\_i2c\_block\_data\_or\_emulated() takes the
length to read as an u8.  If count == 256 after taking into account the
offset and page boundary, the cast to u8 overflows.  And this is common
when user space tries to read the entire EEPROM at once.

To fix it, limit each read to I2C\_SMBUS\_BLOCK\_MAX (32) bytes, already
the maximum length i2c\_smbus\_read\_i2c\_block\_data\_or\_emulated() allows.

## Affected and fixed versions

- Linux: \>= aca56c298e2a6d20ab6308e203a8d37f2a7759d3, \< 3937c35493ee2847aaefcfa5460e94b7443eef49; \>= 25714ad6bf5e98025579fa4c08ff2041a663910c, \< a37960df7eac3cc8094bd1ab84864e9e32c91345; \>= be9313f755a7bfa02230b15731d07074d5255ecb, \< 9a5f471ae380f9fcb9756d453c12ca1f8595a93c; \>= 07d9beb6e3c2e852e884113d6803ea4b3643ae38, \< 9443ddeb3754e9e382a396b50adc1961301713ce; \>= effa453168a7eeb8a562ff4edc1dbf9067360a61, \< c0689e46be23160d925dca95dfc411f1a0462708; 74650c34f93044d3ab441235f161f9e1e761e96b; a126a8c3dd51519513141b4fc94fd4813bca2c0f; 202d0e22fe512df0f1cb6253d40ce1058e373247; 7414af7bdad9a9cddb3a765ca98ea207048618c5; \>= 4.4.300, \< 4.5; … (cvelist)
- Linux: \>= 5.4.174, \< 5.4.180; \>= 5.10.94, \< 5.10.101; \>= 5.15.17, \< 5.15.24; \>= 5.16.3, \< 5.16.10 (cvelist)

## Mitigation

- Upgrade Linux to 5.16.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48806. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48806.md
Affected: Linux >= aca56c298e2a6d20ab6308e203a8d37f2a7759d3, < 3937c35493ee2847aaefcfa5460e94b7443eef49; >= 25714ad6bf5e98025579fa4c08ff2041a663910c, < a37960df7eac3cc8094bd1ab84864e9e32c91345; >= be9313f755a7bfa02230b15731d07074d5255ecb, < 9a5f471ae380f9fcb9756d453c12ca1f8595a93c; >= 07d9beb6e3c2e852e884113…
Fixed in: Linux 3937c35493ee2847aaefcfa5460e94b7443eef49, Linux 9a5f471ae380f9fcb9756d453c12ca1f8595a93c, Linux 9443ddeb3754e9e382a396b50adc1961301713ce, Linux 4.5, Linux 5.4.180, Linux 5.10.101, Linux 5.15.24, Linux 5.16.10

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48806 being exploited?

There is no confirmed exploitation: CVE-2022-48806 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48806?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48806?

Linux \>= aca56c298e2a6d20ab6308e203a8d37f2a7759d3, \< 3937c35493ee2847aaefcfa5460e94b7443eef49; \>= 25714ad6bf5e98025579fa4c08ff2041a663910c, \< a37960df7eac3cc8094bd1ab84864e9e32c91345; \>= be9313f755a7bfa02230b15731d07074d5255ecb, \< 9a5f471ae380f9fcb9756d453c12ca1f8595a93c; \>= 07d9beb6e3c2e852e884113d6803ea4b3643ae38, \< 9443ddeb3754e9e382a396b50adc1961301713ce; \>= effa453168a7eeb8a562ff4edc1dbf9067360a61, \< c0689e46be23160d925dca95dfc411f1a0462708; 74650c34f93044d3ab441235f161f9e1e761e96b; a126a8c3dd51519513141b4fc94fd4813bca2c0f; 202d0e22fe512df0f1cb6253d40ce1058e373247; 7414af7bdad9a9cddb3a765ca98ea207048618c5; \>= 4.4.300, \< 4.5; …; Linux \>= 5.4.174, \< 5.4.180; \>= 5.10.94, \< 5.10.101; \>= 5.15.17, \< 5.15.24; \>= 5.16.3, \< 5.16.10.

### Is there a fix for CVE-2022-48806?

Yes. Fixed in Linux 3937c35493ee2847aaefcfa5460e94b7443eef49, Linux 9a5f471ae380f9fcb9756d453c12ca1f8595a93c, Linux 9443ddeb3754e9e382a396b50adc1961301713ce, Linux 4.5, Linux 5.4.180, Linux 5.10.101, Linux 5.15.24, Linux 5.16.10. Upgrade Linux to 5.16.10 or later.

### How do I check if I'm affected by CVE-2022-48806?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3937c35493ee2847aaefcfa5460e94b7443eef49>
- patch: <https://git.kernel.org/stable/c/a37960df7eac3cc8094bd1ab84864e9e32c91345>
- patch: <https://git.kernel.org/stable/c/9a5f471ae380f9fcb9756d453c12ca1f8595a93c>
- patch: <https://git.kernel.org/stable/c/9443ddeb3754e9e382a396b50adc1961301713ce>
- patch: <https://git.kernel.org/stable/c/c0689e46be23160d925dca95dfc411f1a0462708>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48806>

HTML: <https://flawdb.com/CVE-2022-48806> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48806>
