CVEvulnerability

CVE-2022-49581

7.8 HIGH Published 2025-02-26 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2025-02-26
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

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.

Affected configurations

• linux linux kernel (>= 3.18 < 4.9.325) • linux linux kernel (>= 4.10 < 4.14.290) • linux linux kernel (>= 4.15 < 4.19.254) • linux linux kernel (>= 4.20 < 5.4.208) • linux linux kernel (>= 5.5 < 5.10.134) • linux linux kernel (>= 5.11 < 5.15.58) • linux linux kernel (>= 5.16 < 5.18.15) • linux linux kernel 5.19

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References