CVE-2022-49581 json
be2net: Fix buffer overflow in be_get_module_eeprom
published 2025-02-26 20 mo ago modified 2026-10-15 24 d ago also EUVD-2022-54651
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.325, 4.14.290, 4.19.254, 5.4.208, 5.10.134, 5.15.58, 5.18.15, 5.19
- linux Debian 14, Debian 13, Debian 12 5.18.16-1
debian advisories DEBIAN-CVE-2022-49581
- linux Ubuntu 18.04 LTS 4.15.0-197.208
- linux Ubuntu 20.04 LTS 5.4.0-128.144
- linux Ubuntu 22.04 LTS 5.15.0-50.56
- linux-aws Ubuntu 18.04 LTS 4.15.0-1143.155
- linux-aws Ubuntu 20.04 LTS 5.4.0-1086.93
- linux-aws Ubuntu 22.04 LTS 5.15.0-1021.25
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1090.98
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1019.25
ubuntu advisories UBUNTU-CVE-2022-49581
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-kvm RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-core RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-modules RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-debug-kvm RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-debug-core RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-debug-modules RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
- kernel-rt-modules-extra RHEL 9.0 E4S 5.14.0-70.163.1.rt21.235.el9_0
red hat advisories RHSA-2026:1495RHSA-2026:1494
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.100.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.100.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1.150500.6.47.1
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.115.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.115.1
suse advisories SUSE-SU-2025:1293-1SUSE-SU-2025:1241-1SUSE-SU-2025:1183-1SUSE-SU-2025:1176-1SUSE-SU-2025:1027-1
- git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9 commit
- git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654 commit
- git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d commit
- git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741 commit
- git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948 commit
- git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f commit
- git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10 commit
- git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49581 updated cvss 7.8
kernel: Linux kernel: be2net buffer overflow in be_get_module_eeprom
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix available
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.163.1.el9_0, kernel-devel-matched 5.14.0-70.163.1.el9_0, kernel-debug-devel-matched 5.14.0-70.163.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.163.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.163.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.163.1.el9_0, +2 more Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.163.1.el9_0, bpftool 5.14.0-70.163.1.el9_0, kernel-core 5.14.0-70.163.1.el9_0, kernel-tools 5.14.0-70.163.1.el9_0, python3-perf 5.14.0-70.163.1.el9_0, kernel-modules 5.14.0-70.163.1.el9_0, +14 morefixed: vendor fix RHSA-2026:1494
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-kvm 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-core 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-modules 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-debug-kvm 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-debug-core 5.14.0-70.163.1.rt21.235.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-core 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-modules 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-debug-core 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-debug-modules 5.14.0-70.163.1.rt21.235.el9_0, kernel-rt-modules-extra 5.14.0-70.163.1.rt21.235.el9_0, +2 morefixed: vendor fix RHSA-2026:1495
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
git.kernel.org
/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9
patch
-
git.kernel.org
/stable/c/fe4473fc7940f14c4a12db873b9729134c212654
patch
-
git.kernel.org
/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d
patch
-
git.kernel.org
/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741
patch
-
git.kernel.org
/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948
patch
-
git.kernel.org
/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f
patch
-
git.kernel.org
/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10
patch
-
git.kernel.org
/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec
patch
Sources
- CVE List CVE-2022-49581
- NVD CVE-2022-49581
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.