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