CVE-2022-49581
be2net: Fix buffer overflow in be_get_module_eeprom
Check your servers for CVE-2022-49581
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49581 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9 affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before fe4473fc7940f14c4a12db873b9729134c212654 affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before 8ff4f9df73e5c551a72ee6034886c17e8de6596d affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before a8569f76df7ec5b4b51155c57523a0b356db5741 affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before 665cbe91de2f7c97c51ca8fce39aae26477c1948 affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before 18043da94c023f3ef09c15017bdb04e8f695ef10 affected from e36edd9d26cf257511548edaf2b7a56eb4fed854, before d7241f679a59cfe27f92cb5c6272cb429fb1f7ec
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 4.9.325 up to and including 4.9.* unaffected from 4.14.290 up to and including 4.14.* unaffected from 4.19.254 up to and including 4.19.* unaffected from 5.4.208 up to and including 5.4.* unaffected from 5.10.134 up to and including 5.10.* unaffected from 5.15.58 up to and including 5.15.* unaffected from 5.18.15 up to and including 5.18.* unaffected 5.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49581 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49581
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49581
trivy image --scanners vuln IMAGE | grep CVE-2022-49581
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9 git.kernel.org
- https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654 git.kernel.org
- https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d git.kernel.org
- https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741 git.kernel.org
- https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948 git.kernel.org
- https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f git.kernel.org
- https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10 git.kernel.org
- https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec git.kernel.org
Source: the record CVE-2022-49581 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse