A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
dpaa2-switch: fix the error path in dpaa2_switch_rx()
In case of an error in dpaa2_switch_rx(), the dpaa2_switch_free_fd() function is called in order to free the FD. This is incorrect since the dpaa2_switch_free_fd() is intended to be used on Tx frame descriptors, meaning that it expects in the software annotation area of the FD data to find a valid skb pointer on which to call dev_kfree_skb().
Fix this by extracting the dma_unmap_page() from dpaa2_switch_build_linear_skb() directly into the dpaa2_switch_rx() function. This allows us to directly use free_pages() in case of an error before an SKB was created and kfree_skb() afterwards.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/259ad6093204b999d41e7e6d0ad90ef9a71a44ab
- git.kernel.org /stable/c/74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d
- git.kernel.org /stable/c/791068c962469af0090e1a1ee63657fb9eef40db
- git.kernel.org /stable/c/ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8
- git.kernel.org /stable/c/f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1
- git.kernel.org /stable/c/fa232b4496cb59503ae5108c756cbe10e59b0bc3
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning