CVE-2024-58082 (GCVE-0-2024-58082)
Vulnerability from cvelistv5
Published
2025-03-06 16:13
Modified
2025-05-04 10:09
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: nuvoton: Fix an error check in npcm_video_ece_init() When function of_find_device_by_node() fails, it returns NULL instead of an error code. So the corresponding error check logic should be modified to check whether the return value is NULL and set the error code to be returned as -ENODEV.
Impacted products
Vendor Product Version
Linux Linux Version: 46c15a4ff1f4fe078c5b250fb2570020211eab38
Version: 46c15a4ff1f4fe078c5b250fb2570020211eab38
Version: 46c15a4ff1f4fe078c5b250fb2570020211eab38
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/nuvoton/npcm-video.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bdd823b9d068284e1d998b962cfef29236365df3",
              "status": "affected",
              "version": "46c15a4ff1f4fe078c5b250fb2570020211eab38",
              "versionType": "git"
            },
            {
              "lessThan": "c36b830754ae1dd1db41c27f57b29267878f9702",
              "status": "affected",
              "version": "46c15a4ff1f4fe078c5b250fb2570020211eab38",
              "versionType": "git"
            },
            {
              "lessThan": "c4b7779abc6633677e6edb79e2809f4f61fde157",
              "status": "affected",
              "version": "46c15a4ff1f4fe078c5b250fb2570020211eab38",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/nuvoton/npcm-video.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "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.12.14",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.3",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: nuvoton: Fix an error check in npcm_video_ece_init()\n\nWhen function of_find_device_by_node() fails, it returns NULL instead of\nan error code. So the corresponding error check logic should be modified\nto check whether the return value is NULL and set the error code to be\nreturned as -ENODEV."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T10:09:39.779Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bdd823b9d068284e1d998b962cfef29236365df3"
        },
        {
          "url": "https://git.kernel.org/stable/c/c36b830754ae1dd1db41c27f57b29267878f9702"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4b7779abc6633677e6edb79e2809f4f61fde157"
        }
      ],
      "title": "media: nuvoton: Fix an error check in npcm_video_ece_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-58082",
    "datePublished": "2025-03-06T16:13:44.896Z",
    "dateReserved": "2025-03-06T15:52:09.183Z",
    "dateUpdated": "2025-05-04T10:09:39.779Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-58082\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-03-06T17:15:21.677\",\"lastModified\":\"2025-03-06T17:15:21.677\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: nuvoton: Fix an error check in npcm_video_ece_init()\\n\\nWhen function of_find_device_by_node() fails, it returns NULL instead of\\nan error code. So the corresponding error check logic should be modified\\nto check whether the return value is NULL and set the error code to be\\nreturned as -ENODEV.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: nuvoton: Se corrige una comprobaci\u00f3n de errores en npcm_video_ece_init(). Cuando la funci\u00f3n of_find_device_by_node() falla, devuelve NULL en lugar de un c\u00f3digo de error. Por lo tanto, se debe modificar la l\u00f3gica de comprobaci\u00f3n de errores correspondiente para verificar si el valor de retorno es NULL y establecer el c\u00f3digo de error que se devolver\u00e1 como -ENODEV.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/bdd823b9d068284e1d998b962cfef29236365df3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c36b830754ae1dd1db41c27f57b29267878f9702\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4b7779abc6633677e6edb79e2809f4f61fde157\",\"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…