FKIE_CVE-2023-54307

Vulnerability from fkie_nvd - Published: 2025-12-30 13:16 - Updated: 2026-06-17 06:47
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: ptp_qoriq: fix memory leak in probe() Smatch complains that: drivers/ptp/ptp_qoriq.c ptp_qoriq_probe() warn: 'base' from ioremap() not released. Fix this by revising the parameter from 'ptp_qoriq->base' to 'base'. This is only a bug if ptp_qoriq_init() returns on the first -ENODEV error path. For other error paths ptp_qoriq->base and base are the same. And this change makes the code more readable.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/ptp/ptp_qoriq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "46c4993a1514eea3bbc7147d0c81c23cc06c6bed",
              "status": "affected",
              "version": "7f4399ba405b6201fb318b43091703a34b1489ab",
              "versionType": "git"
            },
            {
              "lessThan": "3907fcb5a439933cf8c10d6dc300bc11eba30de3",
              "status": "affected",
              "version": "7f4399ba405b6201fb318b43091703a34b1489ab",
              "versionType": "git"
            },
            {
              "lessThan": "c0de1a26e6595b0e7969c5b35990a77a2d93104f",
              "status": "affected",
              "version": "7f4399ba405b6201fb318b43091703a34b1489ab",
              "versionType": "git"
            },
            {
              "lessThan": "43b4331ce0cd88ccba425e0702ba35c1a52daccf",
              "status": "affected",
              "version": "7f4399ba405b6201fb318b43091703a34b1489ab",
              "versionType": "git"
            },
            {
              "lessThan": "c960785c8168d0e572101ed921b9be3934ed0bc9",
              "status": "affected",
              "version": "7f4399ba405b6201fb318b43091703a34b1489ab",
              "versionType": "git"
            },
            {
              "lessThan": "f33642224e38d7e0d59336e10e7b4e370b1c4506",
              "status": "affected",
              "version": "7f4399ba405b6201fb318b43091703a34b1489ab",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/ptp/ptp_qoriq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "lessThan": "5.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.240",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.177",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.106",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nptp_qoriq: fix memory leak in probe()\n\nSmatch complains that:\ndrivers/ptp/ptp_qoriq.c ptp_qoriq_probe()\nwarn: \u0027base\u0027 from ioremap() not released.\n\nFix this by revising the parameter from \u0027ptp_qoriq-\u003ebase\u0027 to \u0027base\u0027.\nThis is only a bug if ptp_qoriq_init() returns on the\nfirst -ENODEV error path.\nFor other error paths ptp_qoriq-\u003ebase and base are the same.\nAnd this change makes the code more readable."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nptp_qoriq: corrige una fuga de memoria en probe()\n\nSmatch se queja de que:\ndrivers/ptp/ptp_qoriq.c ptp_qoriq_probe()\nadvertencia: \u0027base\u0027 de ioremap() no liberada.\n\nSoluciona esto revisando el par\u00e1metro de \u0027ptp_qoriq-\u0026gt;base\u0027 a \u0027base\u0027.\nEsto es solo un error si ptp_qoriq_init() retorna en la\nprimera ruta de error -ENODEV.\nPara otras rutas de error, ptp_qoriq-\u0026gt;base y base son lo mismo.\nY este cambio hace el c\u00f3digo m\u00e1s legible."
    }
  ],
  "id": "CVE-2023-54307",
  "lastModified": "2026-06-17T06:47:11.807",
  "metrics": {},
  "published": "2025-12-30T13:16:19.867",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/3907fcb5a439933cf8c10d6dc300bc11eba30de3"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/43b4331ce0cd88ccba425e0702ba35c1a52daccf"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/46c4993a1514eea3bbc7147d0c81c23cc06c6bed"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c0de1a26e6595b0e7969c5b35990a77a2d93104f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c960785c8168d0e572101ed921b9be3934ed0bc9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f33642224e38d7e0d59336e10e7b4e370b1c4506"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Deferred"
}


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…