Linux
gpio: virtuser: fix potential out-of-bound write
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, < afe090366f470f77e140ff3407db813f57852c04
- >= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, < b96feaaa0fda1e3871b438143c3446954b32d3a7
- >= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, < 7118be7c6072f40391923543fdd1563b8d56377c
Fixed in afe090366f470f77e140ff3407db813f57852c04, b96feaaa0fda1e3871b438143c3446954b32d3a7, 7118be7c6072f40391923543fdd1563b8d56377c
- 6.11
Fixed in 0, 6.12.32, 6.14.10, 6.15
Mitigation
Upgrade Linux to afe090366f470f77e140ff3407db813f57852c04 or b96feaaa0fda1e3871b438143c3446954b32d3a7 or 7118be7c6072f40391923543fdd1563b8d56377c or later.
Upgrade Linux to 0 or 6.12.32 or 6.14.10 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.