{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e"
            },
            {
              "fixed": "12848f4ded022963944c063e09a192549a4dad1e"
            },
            {
              "fixed": "a9cf46054f81972f8c0f1dc2a79d2a141999dbce"
            },
            {
              "fixed": "9f920550abacedc7fc3163dea65ac2a7d0b0765d"
            },
            {
              "fixed": "8cf346074533356d67a6a6a43a192328ad341f11"
            },
            {
              "fixed": "b974566803bceb72f0b9b5f1d7270b79ba963766"
            },
            {
              "fixed": "3d57672119525c59ed73ea21accb001ccbcd6cfd"
            },
            {
              "fixed": "fb27ebf81136e796c7b719303ef6fd7e1ae5d488"
            },
            {
              "fixed": "a9a00d727b7bbc5e913a919530a9dd468935bf95"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.7.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72481.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: magnetometer: ak8975: fix potential kernel stack memory leak\n\nCurrently in the AK8975 driver there are four instances where potential\nuninitialized kernel stack memory leaks can occur. If\ni2c_smbus_read_i2c_block_data_or_emulated() returns a value less than\nthe size of the buffer, uninitialized bytes are retained in the buffer\nand later the buffer is passed on to IIO buffers, potentially leaking\nmemory to userspace.\n\nFix this by adding checks whether the return value of the function is\nequal to the size of the buffer and subsequently if the value is\nlesser than zero to distinguish from a returned error code.",
  "id": "CVE-2026-72481",
  "modified": "2026-08-18T03:31:01.751334823Z",
  "published": "2026-08-15T05:57:19.613Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/12848f4ded022963944c063e09a192549a4dad1e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d57672119525c59ed73ea21accb001ccbcd6cfd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8cf346074533356d67a6a6a43a192328ad341f11"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9f920550abacedc7fc3163dea65ac2a7d0b0765d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a9a00d727b7bbc5e913a919530a9dd468935bf95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a9cf46054f81972f8c0f1dc2a79d2a141999dbce"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b974566803bceb72f0b9b5f1d7270b79ba963766"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fb27ebf81136e796c7b719303ef6fd7e1ae5d488"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72481.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72481"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: magnetometer: ak8975: fix potential kernel stack memory leak"
}