CVE-2022-49581 (GCVE-0-2022-49581)
Vulnerability from cvelistv5
Published
2025-02-26 02:23
Modified
2025-05-04 08:41
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Version: e36edd9d26cf257511548edaf2b7a56eb4fed854
Create a notification for this product.
   Linux Linux Version: 3.18
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/emulex/benet/be_cmds.c",
            "drivers/net/ethernet/emulex/benet/be_cmds.h",
            "drivers/net/ethernet/emulex/benet/be_ethtool.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "fe4473fc7940f14c4a12db873b9729134c212654",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "8ff4f9df73e5c551a72ee6034886c17e8de6596d",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "a8569f76df7ec5b4b51155c57523a0b356db5741",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "665cbe91de2f7c97c51ca8fce39aae26477c1948",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "18043da94c023f3ef09c15017bdb04e8f695ef10",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            },
            {
              "lessThan": "d7241f679a59cfe27f92cb5c6272cb429fb1f7ec",
              "status": "affected",
              "version": "e36edd9d26cf257511548edaf2b7a56eb4fed854",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/emulex/benet/be_cmds.c",
            "drivers/net/ethernet/emulex/benet/be_cmds.h",
            "drivers/net/ethernet/emulex/benet/be_ethtool.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.18"
            },
            {
              "lessThan": "3.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.325",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.290",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.254",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.208",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.58",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.325",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.290",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.254",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.208",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.134",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.58",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.15",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:41:06.565Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d"
        },
        {
          "url": "https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741"
        },
        {
          "url": "https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948"
        },
        {
          "url": "https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f"
        },
        {
          "url": "https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10"
        },
        {
          "url": "https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec"
        }
      ],
      "title": "be2net: Fix buffer overflow in be_get_module_eeprom",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49581",
    "datePublished": "2025-02-26T02:23:19.148Z",
    "dateReserved": "2025-02-26T02:21:30.412Z",
    "dateUpdated": "2025-05-04T08:41:06.565Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…