CVE-2022-49581
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.30%• Percentile: 23%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•linux
< 5.10.136-1 | < 5.18.16-1 | < 5.18.16-1 | < 5.18.16-1
- ubuntu•linux
all | < 4.15.0-197.208 | < 5.4.0-128.144 | < 5.15.0-50.56
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | < 4.15.0-1143.155 | < 5.4.0-1086.93 | < 5.15.0-1021.25
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1021.25~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1086.93~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-fips
< 4.15.0-2082.88 | all | < 5.4.0-1086.93+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1143.155~16.04.1
- ubuntu•linux-azure
< 4.15.0-1157.172~14.04.2 | < 4.15.0-1159.174~16.04.1 | all | < 5.4.0-1094.100 | < 5.15.0-1021.26
- ubuntu•linux-azure-4.15
< 4.15.0-1157.172
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1021.26~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1094.100~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2066.72 | all | < 5.4.0-1094.100+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1047.52
- ubuntu•linux-fips
all | < 4.15.0-1100.111 | < 5.4.0-1062.70
- ubuntu•linux-gcp
< 4.15.0-1138.154~16.04.1 | all | < 5.4.0-1090.98 | < 5.15.0-1019.25
- ubuntu•linux-gcp-4.15
< 4.15.0-1138.154
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1021.28~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1092.101~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-fips
< 4.15.0-2047.52 | all | < 5.4.0-1092.101+fips1
- ubuntu•linux-gke
all | < 5.15.0-1017.20
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
Showing first 50 affected entries in server-rendered view.
References (12)
- https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9
- https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654
- https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d
- https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741
- https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948
- https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f
- https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10
- https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec
- https://ubuntu.com/security/CVE-2022-49581
- https://www.cve.org/CVERecord?id=CVE-2022-49581
- https://git.kernel.org/linus/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec
- https://security-tracker.debian.org/tracker/CVE-2022-49581