Linux
rtase: fix double free of multi-frag skb on DMA map failure
In the Linux kernel, the following vulnerability has been resolved: rtase: fix double free of multi-frag skb on DMA map failure In rtase_start_xmit(), when the head buffer DMA mapping fails after rtase_xmit_frags() has mapped all fragments, the error path clears the fragment descriptors with rtase_tx_clear_range(), which frees the skb through the last-frag slot and accounts tx_dropped. Control then falls through to the common error label, which frees the same skb a second time and counts it again. Return right after clearing the fragments when the skb owns frags; the no-frag case still drops through and frees the head skb once.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d6e882b89fdf80be0ab4f914ec10f75215e49495, < 4f09172aff5f73a5e914f4fbc0d00a1c2ea9f7cb
- >= d6e882b89fdf80be0ab4f914ec10f75215e49495, < db986098f30881fafcc752800aa3b13fd289c922
- >= d6e882b89fdf80be0ab4f914ec10f75215e49495, < de691dc3227b061c4d0beba9f0128fe1ff33dd68
- >= d6e882b89fdf80be0ab4f914ec10f75215e49495, < 6fb7b769d6ed6d1d2e02af4a80e57a2477f35086
Fixed in 4f09172aff5f73a5e914f4fbc0d00a1c2ea9f7cb, db986098f30881fafcc752800aa3b13fd289c922, de691dc3227b061c4d0beba9f0128fe1ff33dd68, 6fb7b769d6ed6d1d2e02af4a80e57a2477f35086
- 6.12
Fixed in 0, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to 4f09172aff5f73a5e914f4fbc0d00a1c2ea9f7cb or db986098f30881fafcc752800aa3b13fd289c922 or de691dc3227b061c4d0beba9f0128fe1ff33dd68 or 6fb7b769d6ed6d1d2e02af4a80e57a2477f35086 or later.
Upgrade Linux to 0 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.