{"id":"CVE-2023-53398","published":"2025-09-18T13:33:38Z","modified":"2026-08-05T09:13:53Z","title":"mlx5: fix possible ptp queue fifo use-after-free","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmlx5: fix possible ptp queue fifo use-after-free\n\nFifo indexes are not checked during pop operations and it leads to\npotential use-after-free when poping from empty queue. Such case was\npossible during re-sync action. WARN_ON_ONCE covers future cases.\n\nThere were out-of-order cqe spotted which lead to drain of the queue and\nuse-after-free because of lack of fifo pointers check. Special check and\ncounter are added to avoid resync operation if SKB could not exist in the\nfifo because of OOO cqe (skb_id must be between consumer and producer\nindex).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00156,"percentile":0.0488,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/52e6e7a0bc04c85012a9251c7cf2d444a77eb966","tags":[]},{"url":"https://git.kernel.org/stable/c/6afdedc4e66e3846ce497744f01b95c34bf39d21","tags":[]},{"url":"https://git.kernel.org/stable/c/3a50cf1e8e5157b82268eee7e330dbe5736a0948","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.98},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 58a518948f60153e8f6cb8361d2712aa3a1af94a, < 52e6e7a0bc04c85012a9251c7cf2d444a77eb966",">= 58a518948f60153e8f6cb8361d2712aa3a1af94a, < 6afdedc4e66e3846ce497744f01b95c34bf39d21",">= 58a518948f60153e8f6cb8361d2712aa3a1af94a, < 3a50cf1e8e5157b82268eee7e330dbe5736a0948"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-01-14T19:00:48.835326Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-29948","exploited":false,"provenance":"source"}}