cve-2022-48952
Vulnerability from cvelistv5
Published
2024-10-21 20:05
Modified
2024-12-19 08:11
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: PCI: mt7621: Add sentinel to quirks table Current driver is missing a sentinel in the struct soc_device_attribute array, which causes an oops when assessed by the soc_device_match(mt7621_pcie_quirks_match) call. This was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr was fixed to register the SOC as a device, in: commit 7c18b64bba3b ("mips: ralink: mt7621: do not use kzalloc too early") Fix it by adding the required sentinel.
Impacted products
Vendor Product Version
Linux Linux Version: b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f
Version: b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f
Version: b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f
Version: b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f
Create a notification for this product.
   Linux Linux Version: 5.5
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48952",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-22T13:21:30.198741Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-22T13:28:40.502Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/controller/pcie-mt7621.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3e9c395ef2d52975b2c2894d2da09d6db2958bc6",
              "status": "affected",
              "version": "b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f",
              "versionType": "git"
            },
            {
              "lessThan": "cb7323ece786f243f6d6ccf2e5b2b27b736bdc04",
              "status": "affected",
              "version": "b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f",
              "versionType": "git"
            },
            {
              "lessThan": "a4997bae1b5b012c8a6e2643e26578a7bc2cae36",
              "status": "affected",
              "version": "b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f",
              "versionType": "git"
            },
            {
              "lessThan": "19098934f910b4d47cb30251dd39ffa57bef9523",
              "status": "affected",
              "version": "b483b4e4d3f6bfd5089b9e6dc9ba259879c6ce6f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/controller/pcie-mt7621.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: mt7621: Add sentinel to quirks table\n\nCurrent driver is missing a sentinel in the struct soc_device_attribute\narray, which causes an oops when assessed by the\nsoc_device_match(mt7621_pcie_quirks_match) call.\n\nThis was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr\nwas fixed to register the SOC as a device, in:\n\ncommit 7c18b64bba3b (\"mips: ralink: mt7621: do not use kzalloc too early\")\n\nFix it by adding the required sentinel."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:11:09.353Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3e9c395ef2d52975b2c2894d2da09d6db2958bc6"
        },
        {
          "url": "https://git.kernel.org/stable/c/cb7323ece786f243f6d6ccf2e5b2b27b736bdc04"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4997bae1b5b012c8a6e2643e26578a7bc2cae36"
        },
        {
          "url": "https://git.kernel.org/stable/c/19098934f910b4d47cb30251dd39ffa57bef9523"
        }
      ],
      "title": "PCI: mt7621: Add sentinel to quirks table",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48952",
    "datePublished": "2024-10-21T20:05:39.755Z",
    "dateReserved": "2024-08-22T01:27:53.626Z",
    "dateUpdated": "2024-12-19T08:11:09.353Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-48952\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-10-21T20:15:06.617\",\"lastModified\":\"2024-10-25T20:09:39.900\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nPCI: mt7621: Add sentinel to quirks table\\n\\nCurrent driver is missing a sentinel in the struct soc_device_attribute\\narray, which causes an oops when assessed by the\\nsoc_device_match(mt7621_pcie_quirks_match) call.\\n\\nThis was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr\\nwas fixed to register the SOC as a device, in:\\n\\ncommit 7c18b64bba3b (\\\"mips: ralink: mt7621: do not use kzalloc too early\\\")\\n\\nFix it by adding the required sentinel.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: mt7621: Agregar centinela a la tabla de peculiaridades Al controlador actual le falta un centinela en la matriz struct soc_device_attribute, lo que provoca un error cuando se eval\u00faa mediante la llamada soc_device_match(mt7621_pcie_quirks_match). Esto solo se expuso una vez que se arregl\u00f3 CONFIG_SOC_MT7621 mt7621 soc_dev_attr para registrar el SOC como un dispositivo, en: commit 7c18b64bba3b (\\\"mips: ralink: mt7621: no use kzalloc demasiado pronto\\\") Arr\u00e9glelo agregando el centinela requerido.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.17\",\"versionEndExcluding\":\"5.15.86\",\"matchCriteriaId\":\"2C490AF3-5FE0-4883-A850-AB2007E13585\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.0.15\",\"matchCriteriaId\":\"3E66ABBB-C60E-481F-88C6-ED81661DFC31\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EB047947-8B25-46FD-8AEA-A916F4A3DC71\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6DFB454D-4F85-4BE2-8CC9-70245EAE4D31\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/19098934f910b4d47cb30251dd39ffa57bef9523\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3e9c395ef2d52975b2c2894d2da09d6db2958bc6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a4997bae1b5b012c8a6e2643e26578a7bc2cae36\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cb7323ece786f243f6d6ccf2e5b2b27b736bdc04\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48952\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:21:30.198741Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:21:33.281Z\"}}], \"cna\": {\"title\": \"PCI: mt7621: Add sentinel to quirks table\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"b483b4e4d3f6\", \"lessThan\": \"3e9c395ef2d5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b483b4e4d3f6\", \"lessThan\": \"cb7323ece786\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b483b4e4d3f6\", \"lessThan\": \"a4997bae1b5b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b483b4e4d3f6\", \"lessThan\": \"19098934f910\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/pci/controller/pcie-mt7621.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.5\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.5\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.86\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.15\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.1\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.2\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/pci/controller/pcie-mt7621.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3e9c395ef2d52975b2c2894d2da09d6db2958bc6\"}, {\"url\": \"https://git.kernel.org/stable/c/cb7323ece786f243f6d6ccf2e5b2b27b736bdc04\"}, {\"url\": \"https://git.kernel.org/stable/c/a4997bae1b5b012c8a6e2643e26578a7bc2cae36\"}, {\"url\": \"https://git.kernel.org/stable/c/19098934f910b4d47cb30251dd39ffa57bef9523\"}], \"x_generator\": {\"engine\": \"bippy-9e1c9544281a\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nPCI: mt7621: Add sentinel to quirks table\\n\\nCurrent driver is missing a sentinel in the struct soc_device_attribute\\narray, which causes an oops when assessed by the\\nsoc_device_match(mt7621_pcie_quirks_match) call.\\n\\nThis was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr\\nwas fixed to register the SOC as a device, in:\\n\\ncommit 7c18b64bba3b (\\\"mips: ralink: mt7621: do not use kzalloc too early\\\")\\n\\nFix it by adding the required sentinel.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-11-04T12:19:48.126Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-48952\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-11-04T12:19:48.126Z\", \"dateReserved\": \"2024-08-22T01:27:53.626Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T20:05:39.755Z\", \"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 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.