CVE-2022-48708 (GCVE-0-2022-48708)

Vulnerability from cvelistv5 – Published: 2024-05-21 15:22 – Updated: 2025-05-04 08:21
VLAI?
Title
pinctrl: single: fix potential NULL dereference
Summary
In the Linux kernel, the following vulnerability has been resolved: pinctrl: single: fix potential NULL dereference Added checking of pointer "function" in pcs_set_mux(). pinmux_generic_get_function() can return NULL and the pointer "function" was dereferenced without checking against NULL. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < 1177bdafe87cbe543a2dc48a9bbac265aa5864db (git)
Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < e671e63587c92b3fd767cf82e73129f6d5feeb33 (git)
Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < 2b763f7de108cb1a5ad5ed08e617d677341947cb (git)
Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < 6e2a0521e4e84a2698f2da3950fb5c5496a4d208 (git)
Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < 71668706fbe7d20e6f172fa3287fa8aac1b56c26 (git)
Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < bcc487001a15f71f103d102cba4ac8145d7a68f2 (git)
Affected: 571aec4df5b72a80f80d1e524da8fbd7ff525c98 , < d2d73e6d4822140445ad4a7b1c6091e0f5fe703b (git)
Create a notification for this product.
    Linux Linux Affected: 4.11
Unaffected: 0 , < 4.11 (semver)
Unaffected: 4.14.306 , ≤ 4.14.* (semver)
Unaffected: 4.19.273 , ≤ 4.19.* (semver)
Unaffected: 5.4.232 , ≤ 5.4.* (semver)
Unaffected: 5.10.168 , ≤ 5.10.* (semver)
Unaffected: 5.15.94 , ≤ 5.15.* (semver)
Unaffected: 6.1.12 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48708",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-11T17:23:32.256877Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-11T17:24:41.903Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T15:17:55.728Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1177bdafe87cbe543a2dc48a9bbac265aa5864db"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/e671e63587c92b3fd767cf82e73129f6d5feeb33"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2b763f7de108cb1a5ad5ed08e617d677341947cb"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6e2a0521e4e84a2698f2da3950fb5c5496a4d208"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/71668706fbe7d20e6f172fa3287fa8aac1b56c26"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/bcc487001a15f71f103d102cba4ac8145d7a68f2"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d2d73e6d4822140445ad4a7b1c6091e0f5fe703b"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/pinctrl-single.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1177bdafe87cbe543a2dc48a9bbac265aa5864db",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            },
            {
              "lessThan": "e671e63587c92b3fd767cf82e73129f6d5feeb33",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            },
            {
              "lessThan": "2b763f7de108cb1a5ad5ed08e617d677341947cb",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            },
            {
              "lessThan": "6e2a0521e4e84a2698f2da3950fb5c5496a4d208",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            },
            {
              "lessThan": "71668706fbe7d20e6f172fa3287fa8aac1b56c26",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            },
            {
              "lessThan": "bcc487001a15f71f103d102cba4ac8145d7a68f2",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            },
            {
              "lessThan": "d2d73e6d4822140445ad4a7b1c6091e0f5fe703b",
              "status": "affected",
              "version": "571aec4df5b72a80f80d1e524da8fbd7ff525c98",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/pinctrl-single.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.11"
            },
            {
              "lessThan": "4.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.306",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.232",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.306",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.273",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.232",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.168",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.94",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.12",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: single: fix potential NULL dereference\n\nAdded checking of pointer \"function\" in pcs_set_mux().\npinmux_generic_get_function() can return NULL and the pointer\n\"function\" was dereferenced without checking against NULL.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:21:29.180Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1177bdafe87cbe543a2dc48a9bbac265aa5864db"
        },
        {
          "url": "https://git.kernel.org/stable/c/e671e63587c92b3fd767cf82e73129f6d5feeb33"
        },
        {
          "url": "https://git.kernel.org/stable/c/2b763f7de108cb1a5ad5ed08e617d677341947cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e2a0521e4e84a2698f2da3950fb5c5496a4d208"
        },
        {
          "url": "https://git.kernel.org/stable/c/71668706fbe7d20e6f172fa3287fa8aac1b56c26"
        },
        {
          "url": "https://git.kernel.org/stable/c/bcc487001a15f71f103d102cba4ac8145d7a68f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/d2d73e6d4822140445ad4a7b1c6091e0f5fe703b"
        }
      ],
      "title": "pinctrl: single: fix potential NULL dereference",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48708",
    "datePublished": "2024-05-21T15:22:49.381Z",
    "dateReserved": "2024-05-03T14:55:07.148Z",
    "dateUpdated": "2025-05-04T08:21:29.180Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/1177bdafe87cbe543a2dc48a9bbac265aa5864db\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/e671e63587c92b3fd767cf82e73129f6d5feeb33\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2b763f7de108cb1a5ad5ed08e617d677341947cb\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/6e2a0521e4e84a2698f2da3950fb5c5496a4d208\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/71668706fbe7d20e6f172fa3287fa8aac1b56c26\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/bcc487001a15f71f103d102cba4ac8145d7a68f2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d2d73e6d4822140445ad4a7b1c6091e0f5fe703b\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T15:17:55.728Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48708\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-11T17:23:32.256877Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-11T17:24:16.574Z\"}}], \"cna\": {\"title\": \"pinctrl: single: fix potential NULL dereference\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"1177bdafe87cbe543a2dc48a9bbac265aa5864db\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"e671e63587c92b3fd767cf82e73129f6d5feeb33\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"2b763f7de108cb1a5ad5ed08e617d677341947cb\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"6e2a0521e4e84a2698f2da3950fb5c5496a4d208\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"71668706fbe7d20e6f172fa3287fa8aac1b56c26\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"bcc487001a15f71f103d102cba4ac8145d7a68f2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"571aec4df5b72a80f80d1e524da8fbd7ff525c98\", \"lessThan\": \"d2d73e6d4822140445ad4a7b1c6091e0f5fe703b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/pinctrl/pinctrl-single.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.11\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.11\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.14.306\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.273\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.232\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.168\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.94\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.2\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/pinctrl/pinctrl-single.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/1177bdafe87cbe543a2dc48a9bbac265aa5864db\"}, {\"url\": \"https://git.kernel.org/stable/c/e671e63587c92b3fd767cf82e73129f6d5feeb33\"}, {\"url\": \"https://git.kernel.org/stable/c/2b763f7de108cb1a5ad5ed08e617d677341947cb\"}, {\"url\": \"https://git.kernel.org/stable/c/6e2a0521e4e84a2698f2da3950fb5c5496a4d208\"}, {\"url\": \"https://git.kernel.org/stable/c/71668706fbe7d20e6f172fa3287fa8aac1b56c26\"}, {\"url\": \"https://git.kernel.org/stable/c/bcc487001a15f71f103d102cba4ac8145d7a68f2\"}, {\"url\": \"https://git.kernel.org/stable/c/d2d73e6d4822140445ad4a7b1c6091e0f5fe703b\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\npinctrl: single: fix potential NULL dereference\\n\\nAdded checking of pointer \\\"function\\\" in pcs_set_mux().\\npinmux_generic_get_function() can return NULL and the pointer\\n\\\"function\\\" was dereferenced without checking against NULL.\\n\\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.306\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.273\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.232\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.168\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.94\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.12\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.2\", \"versionStartIncluding\": \"4.11\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T08:21:29.180Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-48708\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T08:21:29.180Z\", \"dateReserved\": \"2024-05-03T14:55:07.148Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:22:49.381Z\", \"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…