{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e7123a4dfcd732c4d10620748588e3715f362802"
            },
            {
              "fixed": "e3bc345d08639e62b629e0ec0799f7fb45e21372"
            },
            {
              "fixed": "5c7ca8fe72064c1c3c7a7418031f692bb2bff260"
            },
            {
              "fixed": "2ef953f7b54e1460718116b4c0a4c63b106348fc"
            },
            {
              "fixed": "e65e128b51a37dd1a9056ac3d1705d805a5c8bb0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.56"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98680.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: kionix-kx022a: Prevent memory leak and fix state\n\nThe driver allocates memory for samples at buffer enable path. If regmap\noperation fails in the kx022a_fifo_enable() at the buffer enable path, the\nallocated memory is never freed. Furthermore, the state information and\nprevious hardware configuration(s) aren't undone, potentially leaving\nWMI interrupts and buffers enabled, or driver state flags wrong.\n\nFree the memory and revert the hardware configuration and state flags on\nerror path.",
  "id": "CVE-2026-98680",
  "modified": "2026-10-20T02:30:31.387224880Z",
  "published": "2026-10-18T15:45:39.927Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2ef953f7b54e1460718116b4c0a4c63b106348fc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5c7ca8fe72064c1c3c7a7418031f692bb2bff260"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3bc345d08639e62b629e0ec0799f7fb45e21372"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e65e128b51a37dd1a9056ac3d1705d805a5c8bb0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98680.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98680"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: accel: kionix-kx022a: Prevent memory leak and fix state"
}