CVE-2026-64124

CVE-2026-64124

High · published July 19, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: devmem: reject dma-buf bind with non-page-aligned size or SG length

net_devmem_bind_dmabuf() trusts dmabuf->size and sg_dma_len() to be

PAGE_SIZE multiples without checking:

- tx_vec is sized dmabuf->size / PAGE_SIZE, and

net_devmem_get_niov_at() only bounds-checks virt_addr < dmabuf->size

before indexing tx_vec[virt_addr / PAGE_SIZE]. With size =

N*PAGE_SIZE + r (1 <= r < PAGE_SIZE), sendmsg() at iov_base =

N*PAGE_SIZE passes the bound check and reads tx_vec[N] -- one past.

- owner->area.num_niovs = len / PAGE_SIZE while gen_pool_add_owner()

covers the full byte len, so a non-page-multiple non-final sg

desyncs num_niovs from the gen_pool region for every later sg, on

both RX and TX.

dma-buf does not require page-aligned sizes, so the bind path has to

enforce what its own indexing assumes. Reject both with -EINVAL.

The size check is TX-only (only tx_vec is sized off dmabuf->size); the

SG-length check covers both directions.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00173 · 6.4th percentile
Published
2026-07-19T20:17Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 6.16, < 6.18.356.18.35
linux/linux_kernel≥ 6.19, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 19 JUL 15:40Z
    net: devmem: reject dma-buf bind with non-page-aligned size or SG length
    cvelistv5