# CVE-2025-38613: staging: gpib: fix unset padding field copy back to userspace

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-08-19T17:03:55.457Z
- Modified: 2026-06-17T09:17:12.987Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9dde4559e93955ccc47d588f7fd051684d55c4e7 before 19dedd4f70f5a6505e7c601ef7dd40542d1d9aa5; from 9dde4559e93955ccc47d588f7fd051684d55c4e7 before a739d3b13bff0dfa1aec679d08c7062131a2a425; 6.13 (not affected: before 6.13; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.13 before 6.16.1

## References

- <https://git.kernel.org/stable/c/19dedd4f70f5a6505e7c601ef7dd40542d1d9aa5> (patch)
- <https://git.kernel.org/stable/c/a739d3b13bff0dfa1aec679d08c7062131a2a425> (patch)

## Sources

- CVE List: [CVE-2025-38613](https://www.cve.org/CVERecord?id=CVE-2025-38613), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38613](https://nvd.nist.gov/vuln/detail/CVE-2025-38613), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38613 · Whole record: https://cve.day/CVE-2025-38613.json · Rebuilt by cve.day 2026-11-25T22:59:02.777Z
