CVE-2026-43283: net: ethernet: ec_bhf: Fix dma_free_coherent() dma handle
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ec_bhf: Fix dma_free_coherent() dma handle
dma_free_coherent() in error path takes priv->rx_buf.alloc_len as the dma handle. This would lead to improper unmapping of the buffer.
Change the dma handle to priv->rx_buf.alloc_phys.
The Linux kernel CVE team has assigned CVE-2026-43283 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 5.10.252 with commit 0f589ee54fd6d76d3f75e745f7f12c64cbd749e5 Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 5.15.202 with commit accd0599bc8e73b962247c6c6c70ca7aa1f8e8d0 Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 6.1.165 with commit 8320727be7ff704e07c87624efc2a4a75f54b3ce Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 6.6.128 with commit 1e300c33ef3cc544c2b9c693778fe9490cfe9184 Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 6.12.75 with commit 1b1371cd4032ae859838ebc74215f569987bb197 Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 6.18.16 with commit 1b1d3c5d58a80a19d017a409aa2308162bab5bbf Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 6.19.6 with commit 7e54ff938bebb173822b4c38b33fc164c1cabf92 Issue introduced in 3.15 with commit 6af55ff52b02d492d45db88df3e461fa51a6f753 and fixed in 7.0 with commit ffe68c3766997d82e9ccaf1cdbd47eba269c4aa2
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43283
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/ec_bhf.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/0f589ee54fd6d76d3f75e745f7f12c64cbd749e5 https://git.kernel.org/stable/c/accd0599bc8e73b962247c6c6c70ca7aa1f8e8d0 https://git.kernel.org/stable/c/8320727be7ff704e07c87624efc2a4a75f54b3ce https://git.kernel.org/stable/c/1e300c33ef3cc544c2b9c693778fe9490cfe9184 https://git.kernel.org/stable/c/1b1371cd4032ae859838ebc74215f569987bb197 https://git.kernel.org/stable/c/1b1d3c5d58a80a19d017a409aa2308162bab5bbf https://git.kernel.org/stable/c/7e54ff938bebb173822b4c38b33fc164c1cabf92 https://git.kernel.org/stable/c/ffe68c3766997d82e9ccaf1cdbd47eba269c4aa2