CVE-2026-64124
Last modified
CVE-2026-64124 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= bd61848900bff597764238f3a8ec67c815cd316e, < 134c517dfa63203287b2aad6558017f42435a02e; >= bd61848900bff597764238f3a8ec67c815cd316e, < d5008e4e4ee6b739256b796702a7d1aae1b5c3b4; >= bd61848900bff597764238f3a8ec67c815cd316e, < 4eb82ba543421e9e38cc14e4e82058b78850df50 |
| Linux | Linux | 6.16 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-64124?
How severe is CVE-2026-64124?
How do I fix CVE-2026-64124?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64119In the Linux kernel, the following vulnerability has been re…
- CVE-2026-6412Certificate policy and RFC 8446 compliance concerns regardin…4.3
- CVE-2026-64120In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64121In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64122In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64123In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64125In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64126In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-64127In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64128In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64129In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64130In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-64124?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
