{"id":"CVE-2025-38082","aliases":["CVE-2025-38082"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: virtuser: fix potential out-of-bound write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gpio: virtuser: corrección de una posible escritura fuera de límite. Si el llamador escribió más caracteres, el recuento se trunca al espacio máximo disponible en \"simple_write_to_buffer\". Compruebe que el tamaño de entrada no supere el tamaño del búfer. Escriba una terminación de cero después.","source":"nvd"}],"published":"2025-06-18T09:35:41.902Z","modified":"2026-08-05T11:59:20.241Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"91581c4b3f29e2e22aeb1a62e842d529ca638b2d","fixed":"afe090366f470f77e140ff3407db813f57852c04","status":"affected"},{"type":"git","introduced":"91581c4b3f29e2e22aeb1a62e842d529ca638b2d","fixed":"b96feaaa0fda1e3871b438143c3446954b32d3a7","status":"affected"},{"type":"git","introduced":"91581c4b3f29e2e22aeb1a62e842d529ca638b2d","fixed":"7118be7c6072f40391923543fdd1563b8d56377c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.32","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.10","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.11","fixed":"6.12.32"},{"status":"affected","introduced":"6.13","fixed":"6.14.10"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/afe090366f470f77e140ff3407db813f57852c04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b96feaaa0fda1e3871b438143c3446954b32d3a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7118be7c6072f40391923543fdd1563b8d56377c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38082","url":"https://www.cve.org/CVERecord?id=CVE-2025-38082","licence":"CVE Terms of Use","modified":"2026-08-05T11:59:20.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38082","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38082","licence":"Public domain","modified":"2026-07-30T06:22:49.067Z"}],"updatedAt":"2026-11-25T22:58:59.376Z","epss":{"score":0.00185,"percentile":0.08466,"date":"2026-12-01T12:00:22.000Z"}}