In the Linux kernel, the following vulnerability has been resolved:
iio: backend: make sure to NULL terminate stack buffer
Make sure to NULL terminate the buffer in iiobackenddebugfswritereg() before passing it to sscanf(). It is a stack variable so we should not assume it will 0 initialized.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22082.json",
"cna_assigner": "Linux"
}[
{
"target": {
"file": "drivers/iio/industrialio-backend.c"
},
"id": "CVE-2025-22082-011a0456",
"digest": {
"line_hashes": [
"318294359330513344663831891112801494739",
"167877506241028325183033420541071282547",
"248003960580347156582105488430513621590",
"111196252995279392420595465621420543573",
"48854099561726316778215996641017897283",
"326143033690395277216227616018468871373"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@035b4989211dc1c8626e186d655ae8ca5141bb73",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"function": "iio_backend_debugfs_write_reg",
"file": "drivers/iio/industrialio-backend.c"
},
"id": "CVE-2025-22082-0cddb923",
"digest": {
"function_hash": "254965340060694884907587370264197717246",
"length": 564.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@035b4989211dc1c8626e186d655ae8ca5141bb73",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22082.json"