{"id":"CVE-2026-99079","revision":"9be28abf0b0d448eb895b2a6bcba7777","records":[{"revision":"9be28abf0b0d448eb895b2a6bcba7777","observedAt":"2026-10-24T16:17:04.479+00:00","statement":{"source":"cve-program","id":"CVE-2026-99079","aliases":[],"title":"net/mlx5e: Prevent stale XSK buffer release on refill retry","description":"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.","state":0,"publishedAt":"2026-10-23T12:23:26.458+00:00","modifiedAt":"2026-10-24T14:10:21.247+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/mellanox/mlx5/core/en_rx.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3f93f82988bc6b4104314bf9aa485d47fbb7e241\",\n                            \"lessThan\": \"32bbb870078d467479965c21bbc4960c57eea208\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f93f82988bc6b4104314bf9aa485d47fbb7e241\",\n                            \"lessThan\": \"34d1db2b18e1c1d189e34dd51923e031815f88e3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f93f82988bc6b4104314bf9aa485d47fbb7e241\",\n                            \"lessThan\": \"639522e5056cade578a324acfa993ec6c9f7f5dc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f93f82988bc6b4104314bf9aa485d47fbb7e241\",\n                            \"lessThan\": \"655f47477054d19de3b138840be229a1a4490d0c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f93f82988bc6b4104314bf9aa485d47fbb7e241\",\n                            \"lessThan\": \"e01620844c5c88b6fcf819d171df8e3976a0e76f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/mellanox/mlx5/core/en_rx.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.160\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.113\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.57\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.11\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/32bbb870078d467479965c21bbc4960c57eea208","https://git.kernel.org/stable/c/34d1db2b18e1c1d189e34dd51923e031815f88e3","https://git.kernel.org/stable/c/639522e5056cade578a324acfa993ec6c9f7f5dc","https://git.kernel.org/stable/c/655f47477054d19de3b138840be229a1a4490d0c","https://git.kernel.org/stable/c/e01620844c5c88b6fcf819d171df8e3976a0e76f"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99079","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99079","identifiers":["CVE-2026-99079"]},"retained":false,"historicalAffected":[]}],"coverage":[]}