In the Linux kernel, the following vulnerability has been resolved:
staging: vme_user: bound slave read/write to the kern_buf size
The SLAVE-path helpers buffer_to_user() and buffer_from_user() copy 'count' bytes into/out of the fixed-size kern_buf (size_buf == PCI_BUF_SIZE == 0x20000, 128 KiB) using *ppos as the offset, without bounding *ppos + count against size_buf.
vme_user_write()/vme_user_read() only clamp count to the VME window size (image_size = vme_get_size(resource)), which VME_SET_SLAVE sets from the user-supplied slave.size -- validated against the VME address space (up to VME_A32_MAX = 4 GiB), not against PCI_BUF_SIZE. When the window exceeds 128 KiB, a write()/read() copies past the kern_buf allocation.
Clamp count against size_buf in both helpers, with an early return when *ppos is already at/after the buffer end. *ppos is >= 0 here (the caller rejects negative offsets), so size_buf - *ppos cannot wrap. This mirrors the existing clamp in the MASTER-path helpers resource_to_user() / resource_from_user(), and matches the read()/write() convention of a short transfer at end-of-buffer.
Found by static analysis (CodeQL taint tracking + CBMC bounded model checking) and confirmed dynamically under KASAN with the vme_fake bridge:
BUG: KASAN: slab-out-of-bounds in _copy_from_user+0x2d/0x80 Write of size 262144 at addr ffff888004100000 by task trigger/68 _copy_from_user+0x2d/0x80 vme_user_write+0x13e/0x240 [vme_user] vfs_write+0x1b8/0x7a0 ksys_write+0xb8/0x150
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linuxUpgrade linux-6.1Upgrade linux-6.12 | Jul 28, 2026 | Jul 28, 2026 |
| Ubuntu | — | Upgrade linux-image-realtimeUpgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-7.0.0-1012-awsUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-gcp-64kUpgrade linux-image-awsUpgrade linux-image-raspiUpgrade linux-image-7.0.0-1013-oemUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-nvidia-bosUpgrade linux-image-oem-7.0Upgrade linux-image-generic-7.0Upgrade linux-image-generic-hwe-26.04Upgrade linux-image-gkeUpgrade linux-image-aws-64k-7.0Upgrade linux-image-gke-7.0Upgrade linux-image-oem-26.04aUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-raspi-7.0Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-realtime-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-gke-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-gcp-7.0Upgrade linux-image-virtual-7.0Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidiaUpgrade linux-image-ibmUpgrade linux-image-oem-26.04bUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-7.0.0-31-genericUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-raspi-realtimeUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-virtualUpgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-genericUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-gcpUpgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-generic-64k-7.0Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-ibm-7.0Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-generic-64kUpgrade linux-image-aws-64kUpgrade linux-image-nvidia-64k | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 31, 2026 | Jul 25, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub