{"id":"CVE-2025-38082","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.","modified":"2026-04-02T12:47:47.278626Z","published":"2025-06-18T09:35:41.902Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/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"}],"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"}}],"schema_version":"1.7.5"}