What’s Vulnerable › Vulnerabilities
CVE-2025-38613: staging: gpib: fix unset padding field copy back to userspace
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-19 · updated 2026-06-17
- Weakness: CWE-908
Description
In the Linux kernel, the following vulnerability has been resolved: staging: gpib: fix unset padding field copy back to userspace The introduction of a padding field in the gpib_board_info_ioctl is showing up as initialized data on the stack frame being copyied back to userspace in function board_info_ioctl. The simplest fix is to initialize the entire struct to zero to ensure all unassigned padding fields are zero'd before being copied back to userspace.
Affected products
- Linux kernel: from 6.13 before 6.16.1 — fixed in 6.16.1
How to fix
Upgrade to a fixed version: Linux kernel 6.16.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/19dedd4f70f5a6505e7c601ef7dd40542d1d9aa5
- https://git.kernel.org/stable/c/a739d3b13bff0dfa1aec679d08c7062131a2a425
Get alerted when CVE-2025-38613 or the next vulnerability affects your stack