CVE-2026-64124
published high CVSS 3.1 · 8.8net: devmem: reject dma-buf bind with non-page-aligned size or SG length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbd61848900bff597764238f3a8ec67c815cd316e to < 134c517dfa63203287b2aad6558017f42435a02e · bd61848900bff597764238f3a8ec67c815cd316e to < d5008e4e4ee6b739256b796702a7d1aae1b5c3b4 · bd61848900bff597764238f3a8ec67c815cd316e to < 4eb82ba543421e9e38cc14e4e82058b78850df50 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.35 through 6.18.* (unaffected · semver) · 7.0.11 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1881 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oracle-64k | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-2016-nvidia-bos | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-2016-nvidia-bos-64k | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oracle-64k | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-headers-7.0.0-2016-nvidia-bos | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-headers-7.0.0-2016-nvidia-bos-64k | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-ibm-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-ibm-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-image-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-image-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-image-unsigned-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires local syscalls—NETLINK_GENERIC netdev bind operations and sendmsg/recvmsg on TCP sockets—not remote packet delivery. Network traffic can trigger RX allocations only after a local bind with a malformed dmabuf. AC:L - The attacker fully controls dmabuf size/SG layout at bind time and the virtual offset passed via sendmsg iovec bases, allowing reliable out-of-bounds indexing without races or victim-dependent timing. PR:L - TX bind intentionally lacks admin-perm; RX bind requires CAP_NET_ADMIN, which is obtainable in user namespaces via unshare. No real-root privileges are needed, only a local authorized user on a devmem-capable system. UI:N - No victim interaction is required; the attacker triggers the bug through their own netlink bind and socket operations. S:C - Corrupted net_iov metadata can program incorrect DMA addresses for NIC DMA operations, potentially impacting device memory outside the kernel's security authority—a DMA boundary crossing inherent to the devmem subsystem. C:H - Out-of-bounds read of tx_vec leaks adjacent kernel heap contents (kernel pointers), and heap corruption from misindexed niovs arrays can be leveraged for arbitrary memory disclosure. I:H - Out-of-bounds writes to the niovs array corrupt adjacent kernel heap objects, and use of attacker-influenced pointers in skb fragment setup enables memory corruption exploitable for control-flow hijacking. A:H - Dereferencing corrupted net_iov pointers or corrupting heap metadata via out-of-bounds access can cause kernel oops, panic, or hang during TX sendmsg or RX packet processing.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bd61848900bff597764238f3a8ec67c815cd316e to < 134c517dfa63203287b2aad6558017f42435a02e (affected · git)bd61848900bff597764238f3a8ec67c815cd316e to < d5008e4e4ee6b739256b796702a7d1aae1b5c3b4 (affected · git)bd61848900bff597764238f3a8ec67c815cd316e to < 4eb82ba543421e9e38cc14e4e82058b78850df50 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.35 through 6.18.* (unaffected · semver)7.0.11 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
net: devmem: reject dma-buf bind with non-page-aligned size or SG length
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9bf338648374bd30f43e7a42536382e5c2acd4418360103a6423b78ddb47983
- Ingested
- 23 Sep 2026, 09:25:47 UTC
- Source record
- Official CVE record