CVE-2026-142888

Not scored yetLast modified Dec 3, 2026

Description

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

eth: bnxt: resize Rx head buffers when rx-copybreak changes

Since rx-copybreak became configurable, bnxt_set_ring_params() sizes the head buffers to fit at least rx_copybreak bytes, and the copybreak path in bnxt_copy_data() syncs rx_copybreak bytes of the head buffer. bnxt_set_tunable() however only updates bp->rx_copybreak, and nothing on the open path recalculates the ring parameters. After raising rx-copybreak the head buffers keep their old size until some other setting changes, and bnxt_copy_data() syncs past their end, into the next buffer in the page or past the end of the page:

DMA-API: bnxt_en 0000:01:00.0: device driver tries to sync DMA memory it has not allocated [device address=0x00000002aa210c40] [size=1024 bytes] WARNING: kernel/dma/debug.c:1162 at check_sync+0x577/0x1eb0, CPU#22: swapper/22/0 Call Trace: <IRQ> debug_dma_sync_single_for_cpu+0x66/0x90 bnxt_copy_data+0x12f/0x290 bnxt_rx_pkt+0x24ea/0x50f0 __bnxt_poll_work+0x42c/0xc00 bnxt_poll_p5+0x579/0x17a0 __napi_poll+0x8b/0x2c0 net_rx_action+0x58f/0xbb0

Here the head buffers were still sized for the 640B HDS threshold, four 1kB buffers per page, while rx-copybreak was raised to 1024. Without coherent DMA or with swiotlb the oversized sync can corrupt a neighboring buffer owned by the device or by an skb.

The device must be down for rx-copybreak to change, so recalculate the ring parameters right away, like bnxt_set_ringparam() does.

Hit while testing patch 1, tested on BCM57504 - boot; set rx-copybreak to 1024 with the link down (CONFIG_DMA_API_DEBUG); ifup.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142889In the Linux kernel, the following vulnerability has been resolved: apparmor: remove unconfined_profile() check in inet socket mediation WCVE-2026-142899.0The FacturaONE para WooCommerce con VeriFactu WordPress plugin before 5.37 does not authenticate one of its request handlers, whose only proCVE-2026-142890In the Linux kernel, the following vulnerability has been resolved: namei: don't assert S_ISDIR on a stale rcu-walk inode lookup_inode_perCVE-2026-142891In the Linux kernel, the following vulnerability has been resolved: nvme-loop: don't BUG() if a scan runs beside a reset A reset sets queuCVE-2026-142892In the Linux kernel, the following vulnerability has been resolved: ntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocksCVE-2026-142893In the Linux kernel, the following vulnerability has been resolved: bpf: Fix out-of-bounds btf->types write for split BTF btf_add_type() sCVE-2026-142894In the Linux kernel, the following vulnerability has been resolved: net/rds: do not fail init when CONFIG_SYSCTL=n With CONFIG_SYSCTL=n, rCVE-2026-142895In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix maple_range_64 crashes in RCU mode Patch series "mapleCVE-2026-142896In the Linux kernel, the following vulnerability has been resolved: tls: avoid field-spanning write when copying crypto info do_tls_setsocCVE-2026-142897In the Linux kernel, the following vulnerability has been resolved: net: pse-pd: si3474: fix use-after-free in ancillary client error path CVE-2026-142898In the Linux kernel, the following vulnerability has been resolved: ibmveth: step past bad RX correlators instead of spinning or oopsing iCVE-2026-142899In the Linux kernel, the following vulnerability has been resolved: fuse: validate folio state before pipe_buf_try_steal() in fuse_try_move
CVE-2026-142888: Unscored | Vulnix