CVE-2022-49581

be2net: Fix buffer overflow in be_get_module_eeprom

HIGH
7.8
CVSS Score
Published: February 26, 2025 at 02:23 AM UTC
Updated: October 15, 2026 at 10:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.18 ≤ v < 4.9.3254.10 ≤ v < 4.14.2904.15 ≤ v < 4.19.2544.20 ≤ v < 5.4.2085.11 ≤ v < 5.15.585.16 ≤ v < 5.18.155.5 ≤ v < 5.10.1345.195.19 rc15.19 rc25.19 rc35.19 rc45.19 rc55.19 rc65.19 rc7e36edd9d26cf257511548edaf2b7a56eb4fed854
Vendor states this is fixed in 18043da94c023f3ef09c15017bdb04e8f695ef10 (fixed)
Vendor states this is fixed in 665cbe91de2f7c97c51ca8fce39aae26477c1948 (fixed)
Vendor states this is fixed in 8ff4f9df73e5c551a72ee6034886c17e8de6596d (fixed)
Vendor states this is fixed in a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9 (fixed)
Vendor states this is fixed in a8569f76df7ec5b4b51155c57523a0b356db5741 (fixed)
Vendor states this is fixed in aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f (fixed)
Vendor states this is fixed in d7241f679a59cfe27f92cb5c6272cb429fb1f7ec (fixed)
Vendor states this is fixed in fe4473fc7940f14c4a12db873b9729134c212654 (fixed)
Vendor states this is fixed in 3.18 (unaffected)
Vendor states this is fixed in 4.14.290 (unaffected)
Vendor states this is fixed in 4.19.254 (unaffected)
Vendor states this is fixed in 4.9.325 (unaffected)
Vendor states this is fixed in 5.10.134 (unaffected)
Vendor states this is fixed in 5.15.58 (unaffected)
Vendor states this is fixed in 5.18.15 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.208 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card