HighFix available
gpio: virtuser: fix potential out-of-bound write
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix potential out-of-bound write If the caller wrote more characters, count is truncated to the max available space in "simple_write_to_buffer". Check that the input size does not exceed the buffer size. Write a zero termination afterwards.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.32, 6.14.10
- CVEs
- CVE-2025-38082
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:04 UTC · Revision 1
Source evidence
gpio: virtuser: fix potential out-of-bound write
core-osv · Original sourcePublished 18 Jun 2025, 09:35 UTC
In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix potential out-of-bound write If the caller wrote more characters, count is truncated to the max available space in "simple_write_to_buffer". Check that the input size does not exceed the buffer size. Write a zero termination afterwards.
osv:CVE-2025-38082
Kernel
Fixed versions: 6.12.32, 6.14.10
Complete source record
{
"id": "4dad88841a0d05beed538244cb940e33c5c8dca4e46d8973dcba6e6cde71eb4e",
"url": "https://osv.dev/vulnerability/CVE-2025-38082",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "gpio: virtuser: fix potential out-of-bound write",
"summary": "In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix potential out-of-bound write If the caller wrote more characters, count is truncated to the max available space in \"simple_write_to_buffer\". Check that the input size does not exceed the buffer size. Write a zero termination afterwards.",
"evidence": "osv:CVE-2025-38082",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.32",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38082",
"aliases": [
"CVE-2025-38082"
],
"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": "91581c4b3f29e2e22aeb1a62e842d529ca638b2d"
},
{
"fixed": "afe090366f470f77e140ff3407db813f57852c04"
},
{
"fixed": "b96feaaa0fda1e3871b438143c3446954b32d3a7"
},
{
"fixed": "7118be7c6072f40391923543fdd1563b8d56377c"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38082.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.12.32"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38082.json"
}
}
],
"modified": "2026-10-28T02:30:25.497528675Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/7118be7c6072f40391923543fdd1563b8d56377c",
"https://git.kernel.org/stable/c/afe090366f470f77e140ff3407db813f57852c04",
"https://git.kernel.org/stable/c/b96feaaa0fda1e3871b438143c3446954b32d3a7",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38082.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38082",
"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-38082.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38082",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491772,
"published_at": "2025-06-18T09:35:41.902+00:00"
}