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

Vulnerability from cvelistv5 – Published: 2025-10-01 11:42 – Updated: 2025-10-01 11:42
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": "2025-10-01T11:42:41.951Z",
        "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": "2025-10-01T11:42:41.951Z",
    "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 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…