staging: gpib: fix unset padding field copy back to userspace
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s staging gpib board_info_ioctl function copies an uninitialized padding field back to userspace. A local user invoking this ioctl may receive data from the kernel stack; the input does not specify additional authentication requirements.
Engineers running Linux kernels with the staging gpib component should check their versions; affected versions are not specified.