CVE-2025-38613

Source
https://cve.org/CVERecord?id=CVE-2025-38613
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38613.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38613
Downstream
Published
2025-08-19T17:03:55.457Z
Modified
2026-08-12T03:51:14.191360161Z
Summary
staging: gpib: fix unset padding field copy back to userspace
Details

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 gpibboardinfoioctl is showing up as initialized data on the stack frame being copyied back to userspace in function boardinfo_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38613.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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
9dde4559e93955ccc47d588f7fd051684d55c4e7
Fixed
19dedd4f70f5a6505e7c601ef7dd40542d1d9aa5
Fixed
a739d3b13bff0dfa1aec679d08c7062131a2a425

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38613.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.16.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38613.json"