iio: accel: kionix-kx022a: Prevent memory leak and fix state
In the Linux kernel, the following vulnerability has been resolved: iio: accel: kionix-kx022a: Prevent memory leak and fix state The driver allocates memory for samples at buffer enable path. If regmap operation fails in the kx022a_fifo_enable() at the buffer enable path, the allocated memory is never freed. Furthermore, the state information and previous hardware configuration(s) aren't undone, potentially leaving WMI interrupts and buffers enabled, or driver state flags wrong. Free the memory and revert the hardware configuration and state flags on error path.
CVE-2026-98680
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98680
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "e7123a4dfcd732c4d10620748588e3715f362802",
"lessThan": "e3bc345d08639e62b629e0ec0799f7fb45e21372",
"versionType": "git"
},
{
"status": "affected",
"version": "e7123a4dfcd732c4d10620748588e3715f362802",
"lessThan": "5c7ca8fe72064c1c3c7a7418031f692bb2bff260",
"versionType": "git"
},
{
"status": "affected",
"version": "e7123a4dfcd732c4d10620748588e3715f362802",
"lessThan": "2ef953f7b54e1460718116b4c0a4c63b106348fc",
"versionType": "git"
},
{
"status": "affected",
"version": "e7123a4dfcd732c4d10620748588e3715f362802",
"lessThan": "e65e128b51a37dd1a9056ac3d1705d805a5c8bb0",
"versionType": "git"
}
],
"programFiles": [
"drivers/iio/accel/kionix-kx022a.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.7"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.7",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/iio/accel/kionix-kx022a.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98680
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38683 · Revision 1
- Added to Heist Feed
- Publisher date