{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-57904",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-57904",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2025-01-19T11:52:28.982Z",
    "updatedAt": "2026-05-11T21:00:16.336Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "iio: adc: at91: call input_free_device() on allocated iio_dev",
      "summary": "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->ts_input, however, the err label can be reached before the\nallocated iio_dev is stored to st->ts_input. Thus call\ninput_free_device() on input instead of st->ts_input.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b549c90bfe66f704878aa1e57b30ba15dab71935"
            },
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ac8d932e3214c10ec641ad45a253929a596ead62"
            },
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "028a1ba8e3bae593d701aee4f690ce7c195b67d6"
            },
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "25ef52f1c15db67d890b80203a911b9a57b0bf71"
            },
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "09e067e3c83e0695d338e8a26916e3c2bc44be02"
            },
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d115b7f3ddc03b38bb7e8754601556fe9b4fc034"
            },
            {
              "version": "84882b060301c35ab7e2c1ef355b0bd06b764195",
              "status": "affected",
              "versionType": "git",
              "lessThan": "de6a73bad1743e9e81ea5a24c178c67429ff510b"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.16",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.16"
            },
            {
              "version": "5.4.290",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.234",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.177",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.125",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.72",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}