{"id":"CVE-2022-49581","aliases":["CVE-2022-49581"],"related":[],"kind":"vulnerability","state":"published","title":"be2net: Fix buffer overflow in be_get_module_eeprom","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbe2net: Fix buffer overflow in be_get_module_eeprom\n\nbe_cmd_read_port_transceiver_data assumes that it is given a buffer that\nis at least PAGE_DATA_LEN long, or twice that if the module supports SFF\n8472. However, this is not always the case.\n\nFix this by passing the desired offset and length to\nbe_cmd_read_port_transceiver_data so that we only copy the bytes once.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbe2net: Fix buffer overflow in be_get_module_eeprom\n\nbe_cmd_read_port_transceiver_data assumes that it is given a buffer that\nis at least PAGE_DATA_LEN long, or twice that if the module supports SFF\n8472. However, this is not always the case.\n\nFix this by passing the desired offset and length to\nbe_cmd_read_port_transceiver_data so that we only copy the bytes once.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: be2net: Se ha corregido el desbordamiento del búfer en be_get_module_eeprom be_cmd_read_port_transceiver_data asume que se le proporciona un búfer que tiene al menos una longitud de PAGE_DATA_LEN, o el doble si el módulo admite SFF 8472. Sin embargo, este no siempre es el caso. Corrija esto pasando el desplazamiento y la longitud deseados a be_cmd_read_port_transceiver_data para que solo copiemos los bytes una vez.","source":"nvd"}],"published":"2025-02-26T02:23:19.148Z","modified":"2026-10-15T22:17:24.680Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"fe4473fc7940f14c4a12db873b9729134c212654","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"8ff4f9df73e5c551a72ee6034886c17e8de6596d","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"a8569f76df7ec5b4b51155c57523a0b356db5741","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"665cbe91de2f7c97c51ca8fce39aae26477c1948","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"18043da94c023f3ef09c15017bdb04e8f695ef10","status":"affected"},{"type":"git","introduced":"e36edd9d26cf257511548edaf2b7a56eb4fed854","fixed":"d7241f679a59cfe27f92cb5c6272cb429fb1f7ec","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"4.9.325","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.290","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.254","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.208","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.134","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.58","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.15","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.18","fixed":"4.9.325"},{"status":"affected","introduced":"4.10","fixed":"4.14.290"},{"status":"affected","introduced":"4.15","fixed":"4.19.254"},{"status":"affected","introduced":"4.20","fixed":"5.4.208"},{"status":"affected","introduced":"5.5","fixed":"5.10.134"},{"status":"affected","introduced":"5.11","fixed":"5.15.58"},{"status":"affected","introduced":"5.16","fixed":"5.18.15"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:18:08.826Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49581","url":"https://www.cve.org/CVERecord?id=CVE-2022-49581","licence":"CVE Terms of Use","modified":"2026-10-15T21:21:07.860Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49581","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49581","licence":"Public domain","modified":"2026-10-15T22:17:24.680Z"}],"updatedAt":"2026-11-25T22:58:20.742Z","epss":{"score":0.0031,"percentile":0.25656,"date":"2026-12-02T12:00:21.000Z"}}