{"id":"CVE-2026-99079","aliases":["CVE-2026-99079"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5e: Prevent stale XSK buffer release on refill retry","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Prevent stale XSK buffer release on refill retry\n\nWhen an XDP redirect to an AF_XDP socket fails because its RX ring is\nfull, the XSK core frees the buffer. During the subsequent batched refill\nof a legacy cyclic RQ, mlx5e also releases the WQE's XSK buffer before\nallocating a replacement. If that refill succeeds only partially, a WQE\nleft without a replacement retains its old buffer pointer.\n\nThe buffer can meanwhile be allocated to another WQE. A later refill\nretry can then free the live buffer through the stale pointer and publish\nthe same UMEM frame twice.\n\nMark the WQE as released immediately after the driver-side free. The flag\nis already cleared when a replacement buffer is assigned, so refill\nretries no longer release stale pointers.\n\nThe failure is silent and produces no kernel warning or splat. A\nstandalone legacy cyclic-RQ zero-copy libxsk reproducer, using 64-byte UDP\ntraffic offered at 12 Mpps, detected it: stock stopped after 2,854,914\npackets in 4.094 seconds, with 4,542 xdp_rx_ring_full events and 64\nownership/double-publication errors. With this change it processed\n356,904,225 packets in 30 seconds despite 571,405 xdp_rx_ring_full events,\nwith no ownership or data errors.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Prevent stale XSK buffer release on refill retry\n\nWhen an XDP redirect to an AF_XDP socket fails because its RX ring is\nfull, the XSK core frees the buffer. During the subsequent batched refill\nof a legacy cyclic RQ, mlx5e also releases the WQE's XSK buffer before\nallocating a replacement. If that refill succeeds only partially, a WQE\nleft without a replacement retains its old buffer pointer.\n\nThe buffer can meanwhile be allocated to another WQE. A later refill\nretry can then free the live buffer through the stale pointer and publish\nthe same UMEM frame twice.\n\nMark the WQE as released immediately after the driver-side free. The flag\nis already cleared when a replacement buffer is assigned, so refill\nretries no longer release stale pointers.\n\nThe failure is silent and produces no kernel warning or splat. A\nstandalone legacy cyclic-RQ zero-copy libxsk reproducer, using 64-byte UDP\ntraffic offered at 12 Mpps, detected it: stock stopped after 2,854,914\npackets in 4.094 seconds, with 4,542 xdp_rx_ring_full events and 64\nownership/double-publication errors. With this change it processed\n356,904,225 packets in 30 seconds despite 571,405 xdp_rx_ring_full events,\nwith no ownership or data errors.","source":"cvelist"}],"published":"2026-10-23T12:23:26.458Z","modified":"2026-10-24T14:16:54.940Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3f93f82988bc6b4104314bf9aa485d47fbb7e241","fixed":"32bbb870078d467479965c21bbc4960c57eea208","status":"affected"},{"type":"git","introduced":"3f93f82988bc6b4104314bf9aa485d47fbb7e241","fixed":"34d1db2b18e1c1d189e34dd51923e031815f88e3","status":"affected"},{"type":"git","introduced":"3f93f82988bc6b4104314bf9aa485d47fbb7e241","fixed":"639522e5056cade578a324acfa993ec6c9f7f5dc","status":"affected"},{"type":"git","introduced":"3f93f82988bc6b4104314bf9aa485d47fbb7e241","fixed":"655f47477054d19de3b138840be229a1a4490d0c","status":"affected"},{"type":"git","introduced":"3f93f82988bc6b4104314bf9aa485d47fbb7e241","fixed":"e01620844c5c88b6fcf819d171df8e3976a0e76f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/32bbb870078d467479965c21bbc4960c57eea208","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34d1db2b18e1c1d189e34dd51923e031815f88e3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/639522e5056cade578a324acfa993ec6c9f7f5dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/655f47477054d19de3b138840be229a1a4490d0c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e01620844c5c88b6fcf819d171df8e3976a0e76f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99079","url":"https://www.cve.org/CVERecord?id=CVE-2026-99079","licence":"CVE Terms of Use","modified":"2026-10-24T14:10:21.247Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99079","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99079","licence":"Public domain","modified":"2026-10-24T14:16:54.940Z"}],"updatedAt":"2026-11-25T22:59:46.970Z","epss":{"score":0.0045,"percentile":0.40781,"date":"2026-12-02T12:00:21.000Z"}}