CVE-2022-48966 (GCVE-0-2022-48966)

Vulnerability from cvelistv5 – Published: 2024-10-21 20:05 – Updated: 2025-05-04 08:27
VLAI?
Title
net: mvneta: Prevent out of bounds read in mvneta_config_rss()
Summary
In the Linux kernel, the following vulnerability has been resolved: net: mvneta: Prevent out of bounds read in mvneta_config_rss() The pp->indir[0] value comes from the user. It is passed to: if (cpu_online(pp->rxq_def)) inside the mvneta_percpu_elect() function. It needs bounds checkeding to ensure that it is not beyond the end of the cpu bitmap.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < 3ceffb8f410b93553fb16fe7e84aa0d35b3ba79b (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < 47a1a2f6cd5ec3a4f8a2d9bfa1e0605347cdb92c (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < 5a142486a0db6b0b85031f22d69acd0cdcf8f72b (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < eec1fc21edc2bb99c9e66cf66f0b5d4d643fbb50 (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < 146ebee8fcdb349d7ec0e49915e6cdafb92544ae (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < a6b30598fec84f8809f5417cde73071ca43e8471 (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < 6ca0a506dddc3e1d636935eef339576b263bf3d8 (git)
Affected: cad5d847a093077b499a8b0bbfe6804b9226c03e , < e8b4fc13900b8e8be48debffd0dfd391772501f7 (git)
Create a notification for this product.
    Linux Linux Affected: 4.5
Unaffected: 0 , < 4.5 (semver)
Unaffected: 4.9.336 , ≤ 4.9.* (semver)
Unaffected: 4.14.302 , ≤ 4.14.* (semver)
Unaffected: 4.19.269 , ≤ 4.19.* (semver)
Unaffected: 5.4.227 , ≤ 5.4.* (semver)
Unaffected: 5.10.159 , ≤ 5.10.* (semver)
Unaffected: 5.15.83 , ≤ 5.15.* (semver)
Unaffected: 6.0.13 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48966",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-22T13:19:44.933611Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-22T13:28:38.488Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/mvneta.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3ceffb8f410b93553fb16fe7e84aa0d35b3ba79b",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "47a1a2f6cd5ec3a4f8a2d9bfa1e0605347cdb92c",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "5a142486a0db6b0b85031f22d69acd0cdcf8f72b",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "eec1fc21edc2bb99c9e66cf66f0b5d4d643fbb50",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "146ebee8fcdb349d7ec0e49915e6cdafb92544ae",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "a6b30598fec84f8809f5417cde73071ca43e8471",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "6ca0a506dddc3e1d636935eef339576b263bf3d8",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            },
            {
              "lessThan": "e8b4fc13900b8e8be48debffd0dfd391772501f7",
              "status": "affected",
              "version": "cad5d847a093077b499a8b0bbfe6804b9226c03e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/mvneta.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.336",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.302",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.227",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.336",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.302",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.269",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.227",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.159",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.83",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.13",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mvneta: Prevent out of bounds read in mvneta_config_rss()\n\nThe pp-\u003eindir[0] value comes from the user.  It is passed to:\n\n\tif (cpu_online(pp-\u003erxq_def))\n\ninside the mvneta_percpu_elect() function.  It needs bounds checkeding\nto ensure that it is not beyond the end of the cpu bitmap."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:27:05.157Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3ceffb8f410b93553fb16fe7e84aa0d35b3ba79b"
        },
        {
          "url": "https://git.kernel.org/stable/c/47a1a2f6cd5ec3a4f8a2d9bfa1e0605347cdb92c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5a142486a0db6b0b85031f22d69acd0cdcf8f72b"
        },
        {
          "url": "https://git.kernel.org/stable/c/eec1fc21edc2bb99c9e66cf66f0b5d4d643fbb50"
        },
        {
          "url": "https://git.kernel.org/stable/c/146ebee8fcdb349d7ec0e49915e6cdafb92544ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6b30598fec84f8809f5417cde73071ca43e8471"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ca0a506dddc3e1d636935eef339576b263bf3d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8b4fc13900b8e8be48debffd0dfd391772501f7"
        }
      ],
      "title": "net: mvneta: Prevent out of bounds read in mvneta_config_rss()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48966",
    "datePublished": "2024-10-21T20:05:49.126Z",
    "dateReserved": "2024-08-22T01:27:53.628Z",
    "dateUpdated": "2025-05-04T08:27:05.157Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48966\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:19:44.933611Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:19:47.987Z\"}}], \"cna\": {\"title\": \"net: mvneta: Prevent out of bounds read in mvneta_config_rss()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"3ceffb8f410b93553fb16fe7e84aa0d35b3ba79b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"47a1a2f6cd5ec3a4f8a2d9bfa1e0605347cdb92c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"5a142486a0db6b0b85031f22d69acd0cdcf8f72b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"eec1fc21edc2bb99c9e66cf66f0b5d4d643fbb50\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"146ebee8fcdb349d7ec0e49915e6cdafb92544ae\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"a6b30598fec84f8809f5417cde73071ca43e8471\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"6ca0a506dddc3e1d636935eef339576b263bf3d8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cad5d847a093077b499a8b0bbfe6804b9226c03e\", \"lessThan\": \"e8b4fc13900b8e8be48debffd0dfd391772501f7\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/ethernet/marvell/mvneta.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.5\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.5\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.9.336\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.302\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.269\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.227\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.159\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.83\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.13\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/ethernet/marvell/mvneta.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3ceffb8f410b93553fb16fe7e84aa0d35b3ba79b\"}, {\"url\": \"https://git.kernel.org/stable/c/47a1a2f6cd5ec3a4f8a2d9bfa1e0605347cdb92c\"}, {\"url\": \"https://git.kernel.org/stable/c/5a142486a0db6b0b85031f22d69acd0cdcf8f72b\"}, {\"url\": \"https://git.kernel.org/stable/c/eec1fc21edc2bb99c9e66cf66f0b5d4d643fbb50\"}, {\"url\": \"https://git.kernel.org/stable/c/146ebee8fcdb349d7ec0e49915e6cdafb92544ae\"}, {\"url\": \"https://git.kernel.org/stable/c/a6b30598fec84f8809f5417cde73071ca43e8471\"}, {\"url\": \"https://git.kernel.org/stable/c/6ca0a506dddc3e1d636935eef339576b263bf3d8\"}, {\"url\": \"https://git.kernel.org/stable/c/e8b4fc13900b8e8be48debffd0dfd391772501f7\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: mvneta: Prevent out of bounds read in mvneta_config_rss()\\n\\nThe pp-\u003eindir[0] value comes from the user.  It is passed to:\\n\\n\\tif (cpu_online(pp-\u003erxq_def))\\n\\ninside the mvneta_percpu_elect() function.  It needs bounds checkeding\\nto ensure that it is not beyond the end of the cpu bitmap.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:11:31.364Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-48966\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:11:31.364Z\", \"dateReserved\": \"2024-08-22T01:27:53.628Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T20:05:49.126Z\", \"assignerShortName\": \"Linux\"}",
      "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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…