CVE-2024-58003 (GCVE-0-2024-58003)
Vulnerability from cvelistv5
Published
2025-02-27 02:12
Modified
2025-05-04 10:08
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: i2c: ds90ub9x3: Fix extra fwnode_handle_put() The ub913 and ub953 drivers call fwnode_handle_put(priv->sd.fwnode) as part of their remove process, and if the driver is removed multiple times, eventually leads to put "overflow", possibly causing memory corruption or crash. The fwnode_handle_put() is a leftover from commit 905f88ccebb1 ("media: i2c: ds90ub9x3: Fix sub-device matching"), which changed the code related to the sd.fwnode, but missed removing these fwnode_handle_put() calls.
Impacted products
Vendor Product Version
Linux Linux Version: 905f88ccebb14e42bcd19455b0d9c0d4808f1897
Version: 905f88ccebb14e42bcd19455b0d9c0d4808f1897
Version: 905f88ccebb14e42bcd19455b0d9c0d4808f1897
Version: 905f88ccebb14e42bcd19455b0d9c0d4808f1897
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/i2c/ds90ub913.c",
            "drivers/media/i2c/ds90ub953.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "474d7baf91d37bc411fa60de5bbf03c9dd82e18a",
              "status": "affected",
              "version": "905f88ccebb14e42bcd19455b0d9c0d4808f1897",
              "versionType": "git"
            },
            {
              "lessThan": "f4e4373322f8d4c19721831f7fb989e52d30dab0",
              "status": "affected",
              "version": "905f88ccebb14e42bcd19455b0d9c0d4808f1897",
              "versionType": "git"
            },
            {
              "lessThan": "70743d6a8b256225675711e7983825f1be86062d",
              "status": "affected",
              "version": "905f88ccebb14e42bcd19455b0d9c0d4808f1897",
              "versionType": "git"
            },
            {
              "lessThan": "60b45ece41c5632a3a3274115a401cb244180646",
              "status": "affected",
              "version": "905f88ccebb14e42bcd19455b0d9c0d4808f1897",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/i2c/ds90ub913.c",
            "drivers/media/i2c/ds90ub953.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.14",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.78",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.14",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.3",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: i2c: ds90ub9x3: Fix extra fwnode_handle_put()\n\nThe ub913 and ub953 drivers call fwnode_handle_put(priv-\u003esd.fwnode) as\npart of their remove process, and if the driver is removed multiple\ntimes, eventually leads to put \"overflow\", possibly causing memory\ncorruption or crash.\n\nThe fwnode_handle_put() is a leftover from commit 905f88ccebb1 (\"media:\ni2c: ds90ub9x3: Fix sub-device matching\"), which changed the code\nrelated to the sd.fwnode, but missed removing these fwnode_handle_put()\ncalls."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T10:08:10.796Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/474d7baf91d37bc411fa60de5bbf03c9dd82e18a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4e4373322f8d4c19721831f7fb989e52d30dab0"
        },
        {
          "url": "https://git.kernel.org/stable/c/70743d6a8b256225675711e7983825f1be86062d"
        },
        {
          "url": "https://git.kernel.org/stable/c/60b45ece41c5632a3a3274115a401cb244180646"
        }
      ],
      "title": "media: i2c: ds90ub9x3: Fix extra fwnode_handle_put()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-58003",
    "datePublished": "2025-02-27T02:12:00.834Z",
    "dateReserved": "2025-02-27T02:10:48.226Z",
    "dateUpdated": "2025-05-04T10:08:10.796Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-58003\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-27T03:15:11.277\",\"lastModified\":\"2025-02-27T03:15:11.277\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: i2c: ds90ub9x3: Fix extra fwnode_handle_put()\\n\\nThe ub913 and ub953 drivers call fwnode_handle_put(priv-\u003esd.fwnode) as\\npart of their remove process, and if the driver is removed multiple\\ntimes, eventually leads to put \\\"overflow\\\", possibly causing memory\\ncorruption or crash.\\n\\nThe fwnode_handle_put() is a leftover from commit 905f88ccebb1 (\\\"media:\\ni2c: ds90ub9x3: Fix sub-device matching\\\"), which changed the code\\nrelated to the sd.fwnode, but missed removing these fwnode_handle_put()\\ncalls.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: i2c: ds90ub9x3: Fix extra fwnode_handle_put() Los controladores ub913 y ub953 llaman a fwnode_handle_put(priv-\u0026gt;sd.fwnode) como parte de su proceso de eliminaci\u00f3n y, si el controlador se elimina varias veces, eventualmente conduce a un \\\"desbordamiento\\\" de put, posiblemente causando corrupci\u00f3n de memoria o falla. fwnode_handle_put() es un remanente del commit 905f88ccebb1 (\\\"media: i2c: ds90ub9x3: Fix sub-device matching\\\"), que cambi\u00f3 el c\u00f3digo relacionado con sd.fwnode, pero no elimin\u00f3 estas llamadas fwnode_handle_put().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/474d7baf91d37bc411fa60de5bbf03c9dd82e18a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/60b45ece41c5632a3a3274115a401cb244180646\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70743d6a8b256225675711e7983825f1be86062d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4e4373322f8d4c19721831f7fb989e52d30dab0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.


Loading…

Loading…