{"schema_version":"1.9.0","id":"CVE-2025-38082","published":"2025-06-18T09:35:41.902Z","modified":"2026-08-12T03:51:32.479895748Z","summary":"gpio: virtuser: fix potential out-of-bound write","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: virtuser: fix potential out-of-bound write\n\nIf the caller wrote more characters, count is truncated to the max\navailable space in \"simple_write_to_buffer\". Check that the input\nsize does not exceed the buffer size. Write a zero termination\nafterwards.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.32"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38082.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7118be7c6072f40391923543fdd1563b8d56377c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/afe090366f470f77e140ff3407db813f57852c04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b96feaaa0fda1e3871b438143c3446954b32d3a7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38082.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38082"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38082.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}