iio: fix potential out-of-bound write
In the Linux kernel, the following vulnerability has been resolved: iio: fix potential out-of-bound write The buffer is set to 20 characters. If a caller write more characters, count is truncated to the max available space in "simple_write_to_buffer". To protect from OoB access, check that the input size fit into buffer and add a zero terminator after copy to the end of the copied data.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.15.9
- CVEs
- CVE-2025-38667
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:42 UTC · Revision 1
Source evidence
In the Linux kernel, the following vulnerability has been resolved: iio: fix potential out-of-bound write The buffer is set to 20 characters. If a caller write more characters, count is truncated to the max available space in "simple_write_to_buffer". To protect from OoB access, check that the input size fit into buffer and add a zero terminator after copy to the end of the copied data.
osv:CVE-2025-38667
Kernel
Fixed versions: 6.15.9
Complete source record
{
"id": "cd65427170b0f164d59e7223b0a0656d95cf244eb4d2a1d6c07076f8c31d35e9",
"url": "https://osv.dev/vulnerability/CVE-2025-38667",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "iio: fix potential out-of-bound write",
"summary": "In the Linux kernel, the following vulnerability has been resolved: iio: fix potential out-of-bound write The buffer is set to 20 characters. If a caller write more characters, count is truncated to the max available space in \"simple_write_to_buffer\". To protect from OoB access, check that the input size fit into buffer and add a zero terminator after copy to the end of the copied data.",
"evidence": "osv:CVE-2025-38667",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.15.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38667",
"aliases": [
"CVE-2025-38667"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6d5dd486c715908b5a6ed02315a15ff044a91025"
},
{
"fixed": "81a635b6eccd6fc889f6d07ab9583b705f739ce1"
},
{
"fixed": "16285a0931869baa618b1f5d304e1e9d090470a8"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38667.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.15.0"
},
{
"fixed": "6.15.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38667.json"
}
}
],
"modified": "2026-10-28T02:30:29.539968607Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/16285a0931869baa618b1f5d304e1e9d090470a8",
"https://git.kernel.org/stable/c/81a635b6eccd6fc889f6d07ab9583b705f739ce1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38667.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38667",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38667.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38667",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496013,
"published_at": "2025-08-22T16:02:58.865+00:00"
}