Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before 0f589ee54fd6d76d3f75e745f7f12c64cbd749e5; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before accd0599bc8e73b962247c6c6c70ca7aa1f8e8d0; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before 8320727be7ff704e07c87624efc2a4a75f54b3ce; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before 1e300c33ef3cc544c2b9c693778fe9490cfe9184; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before 1b1371cd4032ae859838ebc74215f569987bb197; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before 1b1d3c5d58a80a19d017a409aa2308162bab5bbf; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before 7e54ff938bebb173822b4c38b33fc164c1cabf92; affected 6af55ff52b02d492d45db88df3e461fa51a6f753 before ffe68c3766997d82e9ccaf1cdbd47eba269c4aa2 |
| Linux / Linux | affected 3.15; unaffected 0 before 3.15; unaffected 5.10.252 through 5.10.*; unaffected 5.15.202 through 5.15.*; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- 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