CVE-2023-53472 (GCVE-0-2023-53472)

Vulnerability from cvelistv5 – Published: 2025-10-01 11:42 – Updated: 2026-05-11 19:45
VLAI?
Title
pwm: lpc32xx: Remove handling of PWM channels
Summary
In the Linux kernel, the following vulnerability has been resolved: pwm: lpc32xx: Remove handling of PWM channels Because LPC32xx PWM controllers have only a single output which is registered as the only PWM device/channel per controller, it is known in advance that pwm->hwpwm value is always 0. On basis of this fact simplify the code by removing operations with pwm->hwpwm, there is no controls which require channel number as input. Even though I wasn't aware at the time when I forward ported that patch, this fixes a null pointer dereference as lpc32xx->chip.pwms is NULL before devm_pwmchip_add() is called.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: bb4de81eb940e7027f37a6fd3b7ddcb4403deb56 , < abd9b2ee4047ccd980decbf26d61f9637604b1d5 (git)
Affected: 4459118977665f681017e1299933895d54b6e87b , < a9a505f5b39d8fff1a55963a5e524c84639e98b2 (git)
Affected: 81e6b51709da162b94e40a445bb60856406beaa1 , < 04301da4d87067a989f70ee56942bf9d97cd2a45 (git)
Affected: 322b70b522abe03cd59712bb47a72eddd835d19d , < a2d9d884e84bfd37892219b1f55847f36d8e9901 (git)
Affected: 3d2813fb17e5fd0d73c1d1442ca0192bde4af10e , < 5e22217c11424ef958ba28d03ff7167b4d7a8914 (git)
Affected: 3d2813fb17e5fd0d73c1d1442ca0192bde4af10e , < 523f6268e86552a048975749251184c4e9a4b38f (git)
Affected: 3d2813fb17e5fd0d73c1d1442ca0192bde4af10e , < e3a0ddbaf7f1f9ffc070718b417461ced3268758 (git)
Affected: 3d2813fb17e5fd0d73c1d1442ca0192bde4af10e , < 4aae44f65827f0213a7361cf9c32cfe06114473f (git)
Affected: 7fc2172ad4e701d3c6e7dcb7b2efd8df71d2417b (git)
Affected: 1c90a357cef4219cb436e59cc7463888103e104b (git)
Create a notification for this product.
Linux Linux Affected: 5.15
Unaffected: 0 , < 5.15 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.54 , ≤ 6.1.* (semver)
Unaffected: 6.5.4 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pwm/pwm-lpc32xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "abd9b2ee4047ccd980decbf26d61f9637604b1d5",
              "status": "affected",
              "version": "bb4de81eb940e7027f37a6fd3b7ddcb4403deb56",
              "versionType": "git"
            },
            {
              "lessThan": "a9a505f5b39d8fff1a55963a5e524c84639e98b2",
              "status": "affected",
              "version": "4459118977665f681017e1299933895d54b6e87b",
              "versionType": "git"
            },
            {
              "lessThan": "04301da4d87067a989f70ee56942bf9d97cd2a45",
              "status": "affected",
              "version": "81e6b51709da162b94e40a445bb60856406beaa1",
              "versionType": "git"
            },
            {
              "lessThan": "a2d9d884e84bfd37892219b1f55847f36d8e9901",
              "status": "affected",
              "version": "322b70b522abe03cd59712bb47a72eddd835d19d",
              "versionType": "git"
            },
            {
              "lessThan": "5e22217c11424ef958ba28d03ff7167b4d7a8914",
              "status": "affected",
              "version": "3d2813fb17e5fd0d73c1d1442ca0192bde4af10e",
              "versionType": "git"
            },
            {
              "lessThan": "523f6268e86552a048975749251184c4e9a4b38f",
              "status": "affected",
              "version": "3d2813fb17e5fd0d73c1d1442ca0192bde4af10e",
              "versionType": "git"
            },
            {
              "lessThan": "e3a0ddbaf7f1f9ffc070718b417461ced3268758",
              "status": "affected",
              "version": "3d2813fb17e5fd0d73c1d1442ca0192bde4af10e",
              "versionType": "git"
            },
            {
              "lessThan": "4aae44f65827f0213a7361cf9c32cfe06114473f",
              "status": "affected",
              "version": "3d2813fb17e5fd0d73c1d1442ca0192bde4af10e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7fc2172ad4e701d3c6e7dcb7b2efd8df71d2417b",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1c90a357cef4219cb436e59cc7463888103e104b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pwm/pwm-lpc32xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "4.14.248",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.19.208",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "5.4.149",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "5.10.69",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.54",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.4",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.284",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.14.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lpc32xx: Remove handling of PWM channels\n\nBecause LPC32xx PWM controllers have only a single output which is\nregistered as the only PWM device/channel per controller, it is known in\nadvance that pwm-\u003ehwpwm value is always 0. On basis of this fact\nsimplify the code by removing operations with pwm-\u003ehwpwm, there is no\ncontrols which require channel number as input.\n\nEven though I wasn\u0027t aware at the time when I forward ported that patch,\nthis fixes a null pointer dereference as lpc32xx-\u003echip.pwms is NULL\nbefore devm_pwmchip_add() is called."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:45:38.863Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/abd9b2ee4047ccd980decbf26d61f9637604b1d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/a9a505f5b39d8fff1a55963a5e524c84639e98b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/04301da4d87067a989f70ee56942bf9d97cd2a45"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2d9d884e84bfd37892219b1f55847f36d8e9901"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e22217c11424ef958ba28d03ff7167b4d7a8914"
        },
        {
          "url": "https://git.kernel.org/stable/c/523f6268e86552a048975749251184c4e9a4b38f"
        },
        {
          "url": "https://git.kernel.org/stable/c/e3a0ddbaf7f1f9ffc070718b417461ced3268758"
        },
        {
          "url": "https://git.kernel.org/stable/c/4aae44f65827f0213a7361cf9c32cfe06114473f"
        }
      ],
      "title": "pwm: lpc32xx: Remove handling of PWM channels",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53472",
    "datePublished": "2025-10-01T11:42:41.951Z",
    "dateReserved": "2025-10-01T11:39:39.401Z",
    "dateUpdated": "2026-05-11T19:45:38.863Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53472",
      "date": "2026-05-21",
      "epss": "0.00017",
      "percentile": "0.04265"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53472\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:49.420\",\"lastModified\":\"2026-01-20T17:03:13.247\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\npwm: lpc32xx: Remove handling of PWM channels\\n\\nBecause LPC32xx PWM controllers have only a single output which is\\nregistered as the only PWM device/channel per controller, it is known in\\nadvance that pwm-\u003ehwpwm value is always 0. On basis of this fact\\nsimplify the code by removing operations with pwm-\u003ehwpwm, there is no\\ncontrols which require channel number as input.\\n\\nEven though I wasn\u0027t aware at the time when I forward ported that patch,\\nthis fixes a null pointer dereference as lpc32xx-\u003echip.pwms is NULL\\nbefore devm_pwmchip_add() is called.\"}],\"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\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9.284\",\"versionEndExcluding\":\"4.10\",\"matchCriteriaId\":\"6D5E2E93-CF7C-4EB8-A897-64BAD08711B7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.14.248\",\"versionEndExcluding\":\"4.14.326\",\"matchCriteriaId\":\"416B8F88-942F-4850-9092-1038ECDD429B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.19.208\",\"versionEndExcluding\":\"4.19.295\",\"matchCriteriaId\":\"B23BA97E-A1DF-414D-8E03-D3657F31B448\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.149\",\"versionEndExcluding\":\"5.4.257\",\"matchCriteriaId\":\"A6D8239E-B285-44F7-84FE-07F052938EE9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.69\",\"versionEndExcluding\":\"5.10.195\",\"matchCriteriaId\":\"39657E45-4B2D-49C0-84C9-71C3DF7DB55C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.14.8\",\"versionEndExcluding\":\"5.15.132\",\"matchCriteriaId\":\"BE044518-5B3F-43AB-A0D0-D340B46C2255\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.54\",\"matchCriteriaId\":\"7353B9B4-AFFC-45DE-840E-1A7D2B00E7AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.5.4\",\"matchCriteriaId\":\"CA8C8B88-AF36-445D-A228-AD78F3615373\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/04301da4d87067a989f70ee56942bf9d97cd2a45\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4aae44f65827f0213a7361cf9c32cfe06114473f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/523f6268e86552a048975749251184c4e9a4b38f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5e22217c11424ef958ba28d03ff7167b4d7a8914\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a2d9d884e84bfd37892219b1f55847f36d8e9901\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a9a505f5b39d8fff1a55963a5e524c84639e98b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/abd9b2ee4047ccd980decbf26d61f9637604b1d5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e3a0ddbaf7f1f9ffc070718b417461ced3268758\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…