CVE-2024-57904
Vulnerability from cvelistv5
Published
2025-01-19 11:52
Modified
2025-02-02 10:15
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: adc: at91: call input_free_device() on allocated iio_dev Current implementation of at91_ts_register() calls input_free_deivce() on st->ts_input, however, the err label can be reached before the allocated iio_dev is stored to st->ts_input. Thus call input_free_device() on input instead of st->ts_input.
Impacted products
Vendor Product Version
Linux Linux Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Version: 84882b060301c35ab7e2c1ef355b0bd06b764195
Create a notification for this product.
   Linux Linux Version: 3.16
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/adc/at91_adc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b549c90bfe66f704878aa1e57b30ba15dab71935",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            },
            {
              "lessThan": "ac8d932e3214c10ec641ad45a253929a596ead62",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            },
            {
              "lessThan": "028a1ba8e3bae593d701aee4f690ce7c195b67d6",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            },
            {
              "lessThan": "25ef52f1c15db67d890b80203a911b9a57b0bf71",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            },
            {
              "lessThan": "09e067e3c83e0695d338e8a26916e3c2bc44be02",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            },
            {
              "lessThan": "d115b7f3ddc03b38bb7e8754601556fe9b4fc034",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            },
            {
              "lessThan": "de6a73bad1743e9e81ea5a24c178c67429ff510b",
              "status": "affected",
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/adc/at91_adc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.290",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.234",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.177",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.125",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.72",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: at91: call input_free_device() on allocated iio_dev\n\nCurrent implementation of at91_ts_register() calls input_free_deivce()\non st-\u003ets_input, however, the err label can be reached before the\nallocated iio_dev is stored to st-\u003ets_input. Thus call\ninput_free_device() on input instead of st-\u003ets_input."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-02T10:15:28.272Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b549c90bfe66f704878aa1e57b30ba15dab71935"
        },
        {
          "url": "https://git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62"
        },
        {
          "url": "https://git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71"
        },
        {
          "url": "https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02"
        },
        {
          "url": "https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034"
        },
        {
          "url": "https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b"
        }
      ],
      "title": "iio: adc: at91: call input_free_device() on allocated iio_dev",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-57904",
    "datePublished": "2025-01-19T11:52:28.982Z",
    "dateReserved": "2025-01-19T11:50:08.372Z",
    "dateUpdated": "2025-02-02T10:15:28.272Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-57904\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-01-19T12:15:23.970\",\"lastModified\":\"2025-02-02T11:15:12.590\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\niio: adc: at91: call input_free_device() on allocated iio_dev\\n\\nCurrent implementation of at91_ts_register() calls input_free_deivce()\\non st-\u003ets_input, however, the err label can be reached before the\\nallocated iio_dev is stored to st-\u003ets_input. Thus call\\ninput_free_device() on input instead of st-\u003ets_input.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: adc: at91: llamar a input_free_device() en iio_dev asignado La implementaci\u00f3n actual de at91_ts_register() llama a input_free_deivce() en st-\u0026gt;ts_input, sin embargo, se puede llegar a la etiqueta err antes de que el iio_dev asignado se almacene en st-\u0026gt;ts_input. Por lo tanto, se llama a input_free_device() en la entrada en lugar de a st-\u0026gt;ts_input.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b549c90bfe66f704878aa1e57b30ba15dab71935\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b\",\"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.