CVE-2026-72481
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2026-72481",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-08-15T06:22:22.313",
"lastModified": "2026-11-06T17:19:44.800",
"vulnStatus": "Received",
"cveTags": [],
"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": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/iio/magnetometer/ak8975.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "12848f4ded022963944c063e09a192549a4dad1e",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "a9cf46054f81972f8c0f1dc2a79d2a141999dbce",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "9f920550abacedc7fc3163dea65ac2a7d0b0765d",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "8cf346074533356d67a6a6a43a192328ad341f11",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "b974566803bceb72f0b9b5f1d7270b79ba963766",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "3d57672119525c59ed73ea21accb001ccbcd6cfd",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "fb27ebf81136e796c7b719303ef6fd7e1ae5d488",
"versionType": "git",
"status": "affected"
},
{
"version": "bc11ca4a0b84a2f2ebaca2614b92998738d13b1e",
"lessThan": "a9a00d727b7bbc5e913a919530a9dd468935bf95",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/iio/magnetometer/ak8975.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.7",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.261",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.212",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.178",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.145",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.97",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.40",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.1.5",
"lessThanOrEqual": "7.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-11-06T16:55:37.682804Z",
"id": "CVE-2026-72481",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"references": [
{
"url": "https://git.kernel.org/stable/c/12848f4ded022963944c063e09a192549a4dad1e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3d57672119525c59ed73ea21accb001ccbcd6cfd",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8cf346074533356d67a6a6a43a192328ad341f11",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/9f920550abacedc7fc3163dea65ac2a7d0b0765d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a9a00d727b7bbc5e913a919530a9dd468935bf95",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a9cf46054f81972f8c0f1dc2a79d2a141999dbce",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/b974566803bceb72f0b9b5f1d7270b79ba963766",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/fb27ebf81136e796c7b719303ef6fd7e1ae5d488",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}