CVE-2026-72481 (GCVE-0-2026-72481)
Vulnerability from cvelistv5
Published
2026-08-15 05:57
Modified
2026-08-17 05:15
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: magnetometer: ak8975: fix potential kernel stack memory leak Currently in the AK8975 driver there are four instances where potential uninitialized kernel stack memory leaks can occur. If i2c_smbus_read_i2c_block_data_or_emulated() returns a value less than the size of the buffer, uninitialized bytes are retained in the buffer and later the buffer is passed on to IIO buffers, potentially leaking memory to userspace. Fix this by adding checks whether the return value of the function is equal to the size of the buffer and subsequently if the value is lesser than zero to distinguish from a returned error code.
Impacted products
Vendor Product Version
Linux Linux Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Version: bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/magnetometer/ak8975.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "12848f4ded022963944c063e09a192549a4dad1e",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "a9cf46054f81972f8c0f1dc2a79d2a141999dbce",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "9f920550abacedc7fc3163dea65ac2a7d0b0765d",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "8cf346074533356d67a6a6a43a192328ad341f11",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "b974566803bceb72f0b9b5f1d7270b79ba963766",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "3d57672119525c59ed73ea21accb001ccbcd6cfd",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "fb27ebf81136e796c7b719303ef6fd7e1ae5d488",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            },
            {
              "lessThan": "a9a00d727b7bbc5e913a919530a9dd468935bf95",
              "status": "affected",
              "version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/magnetometer/ak8975.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.7"
            },
            {
              "lessThan": "4.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:15:31.386Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/12848f4ded022963944c063e09a192549a4dad1e"
        },
        {
          "url": "https://git.kernel.org/stable/c/a9cf46054f81972f8c0f1dc2a79d2a141999dbce"
        },
        {
          "url": "https://git.kernel.org/stable/c/9f920550abacedc7fc3163dea65ac2a7d0b0765d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8cf346074533356d67a6a6a43a192328ad341f11"
        },
        {
          "url": "https://git.kernel.org/stable/c/b974566803bceb72f0b9b5f1d7270b79ba963766"
        },
        {
          "url": "https://git.kernel.org/stable/c/3d57672119525c59ed73ea21accb001ccbcd6cfd"
        },
        {
          "url": "https://git.kernel.org/stable/c/fb27ebf81136e796c7b719303ef6fd7e1ae5d488"
        },
        {
          "url": "https://git.kernel.org/stable/c/a9a00d727b7bbc5e913a919530a9dd468935bf95"
        }
      ],
      "title": "iio: magnetometer: ak8975: fix potential kernel stack memory leak",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72481",
    "datePublished": "2026-08-15T05:57:19.613Z",
    "dateReserved": "2026-08-09T03:40:39.935Z",
    "dateUpdated": "2026-08-17T05:15:31.386Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…