# CVE-2021-47105: ice: xsk: return xsk buffers back to pool when cleaning the ring

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-03-04T18:15:14.355Z
- Modified: 2026-06-17T04:16:29.960Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

ice: xsk: return xsk buffers back to pool when cleaning the ring

Currently we only NULL the xdp_buff pointer in the internal SW ring but
we never give it back to the xsk buffer pool. This means that buffers
can be leaked out of the buff pool and never be used again.

Add missing xsk_buff_free() call to the routine that is supposed to
clean the entries that are left in the ring so that these buffers in the
umem can be used by other sockets.

Also, only go through the space that is actually left to be cleaned
instead of a whole ring.

(As written by CVE List.)

## Affected

- Linux Linux: from 2d4238f5569722197612656163d824098208519c before ad6d20da2cfbe14b7b1200d15f39e65988b0b9e8; from 2d4238f5569722197612656163d824098208519c before afe8a3ba85ec2a6b6849367e25c06a2f8e0ddd05; 5.5 (not affected: before 5.5; from 5.15.12 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.5 before 5.15.12; 5.16

## References

- <https://git.kernel.org/stable/c/ad6d20da2cfbe14b7b1200d15f39e65988b0b9e8> (exploit, mailing-list, patch)
- <https://git.kernel.org/stable/c/afe8a3ba85ec2a6b6849367e25c06a2f8e0ddd05> (exploit, mailing-list, patch)

## Sources

- CVE List: [CVE-2021-47105](https://www.cve.org/CVERecord?id=CVE-2021-47105), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47105](https://nvd.nist.gov/vuln/detail/CVE-2021-47105), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47105 · Whole record: https://cve.day/CVE-2021-47105.json · Rebuilt by cve.day 2026-11-25T22:58:08.663Z
