# CVE-2022-49581: be2net: Fix buffer overflow in be_get_module_eeprom

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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.31%, higher than 25% of CVEs (2026-12-02)
- Published: 2025-02-26T02:23:19.148Z
- Modified: 2026-10-15T22:17:24.680Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

be2net: Fix buffer overflow in be_get_module_eeprom

be_cmd_read_port_transceiver_data assumes that it is given a buffer that
is at least PAGE_DATA_LEN long, or twice that if the module supports SFF
8472. However, this is not always the case.

Fix this by passing the desired offset and length to
be_cmd_read_port_transceiver_data so that we only copy the bytes once.

(As written by CVE List.)

## Affected

- Linux Linux: from e36edd9d26cf257511548edaf2b7a56eb4fed854 before a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before fe4473fc7940f14c4a12db873b9729134c212654; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before 8ff4f9df73e5c551a72ee6034886c17e8de6596d; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before a8569f76df7ec5b4b51155c57523a0b356db5741; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before 665cbe91de2f7c97c51ca8fce39aae26477c1948; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before 18043da94c023f3ef09c15017bdb04e8f695ef10; from e36edd9d26cf257511548edaf2b7a56eb4fed854 before d7241f679a59cfe27f92cb5c6272cb429fb1f7ec; 3.18 (not affected: before 3.18; from 4.9.325 up to 4.9.*; from 4.14.290 up to 4.14.*; from 4.19.254 up to 4.19.*; from 5.4.208 up to 5.4.*; from 5.10.134 up to 5.10.*; from 5.15.58 up to 5.15.*; from 5.18.15 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 3.18 before 4.9.325; from 4.10 before 4.14.290; from 4.15 before 4.19.254; from 4.20 before 5.4.208; from 5.5 before 5.10.134; from 5.11 before 5.15.58; from 5.16 before 5.18.15; 5.19

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9> (patch)
- <https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654> (patch)
- <https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d> (patch)
- <https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741> (patch)
- <https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948> (patch)
- <https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f> (patch)
- <https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10> (patch)
- <https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec> (patch)

## Sources

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

---

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