{
  "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-2026-64496",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-64496",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-07-25T08:51:53.194Z",
    "updatedAt": "2026-10-19T20:48:37.305Z",
    "importedAt": "2026-10-24T01:58:25.636Z",
    "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: event: Fix event FIFO reset race",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: event: Fix event FIFO reset race\n\n`iio_event_getfd()` creates the event file descriptor with\n`anon_inode_getfd()`, which allocates a new fd, creates the anonymous\nfile and installs it in the process fd table before returning to the\ncaller.\n\nThe IIO code resets the event FIFO after `anon_inode_getfd()` has returned,\nbut before `IIO_GET_EVENT_FD_IOCTL` has copied the fd number to userspace.\nBut since fd tables are shared between threads, another thread can guess\nthe newly allocated fd number and issue a `read()` on it as soon as the fd\nhas been installed.\n\nThis means the `kfifo_to_user()` in `iio_event_chrdev_read()` can run in\nparallel with the `kfifo_reset_out()` in `iio_event_getfd()`.\n\nThe kfifo documentation says that `kfifo_reset_out()` is only safe when it\nis called from the reader thread and there is only one concurrent reader.\nOtherwise it is dangerous and must be handled in the same way as\n`kfifo_reset()`.\n\nIf that happens, `kfifo_to_user()` can advance the FIFO `out` index based\non state from before the reset, after the reset has already moved the `out`\nindex to the current `in` index. That can leave the FIFO with an `out`\nindex past the `in` index. A later `read()` can then see an underflowed\nFIFO length and copy more data than the event FIFO buffer contains. This\ncan result in an out-of-bounds read and leak adjacent kernel memory to\nuserspace.\n\nMove the FIFO reset before `anon_inode_getfd()`. At that point the event fd is\nmarked busy, but the new fd has not been installed yet, so userspace cannot\naccess it while the FIFO is reset.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9dc84ba4be5bbeb29ee49efe6cea2cb32c461424"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d16a702ca7d29c0b7a9b509339d1b044a1cadb32"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a13ef1adbc62085b21b546b07b0be7e2fbf52150"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0d4a646d7f87ea3625fafe387043fddc6a2f5e7f"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "72c6aa8e0d74eab91b8694cde97dec088c248fee"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9edefd4c56bee3fe331e0355d1f10a533134999d"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f187dc5a4c4846ffa07d9bda6e760837ed005574"
            },
            {
              "version": "b91accafbb1031b80d22ad83576877ff2f8b4774",
              "status": "affected",
              "versionType": "git",
              "lessThan": "af791d295737ea6b6ff2c8d8488462a49c14af01"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.15",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.15"
            },
            {
              "version": "5.10.261",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.212",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.178",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.145",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.96",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.39",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.1.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.1.*"
            },
            {
              "version": "7.2",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}