CVE-2025-40350: Linux kernel · net/mlx5e: RX, Fix generating skb from non-linear xdp_buff for striding RQ
Source GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel mlx5e driver. Users should apply the official kernel updates that include this patch. Since this is not a cloud service, remediation requires updating the affected Linux kernel version. Patch status is not explicitly stated here; check the vendor or Linux kernel advisories for the exact fixed kernel versions and apply updates accordingly.
Description
A critical vulnerability in the Linux kernel's mlx5 network driver was resolved, addressing improper handling of non-linear xdp_buff layouts after XDP programs modify buffer data. The mlx5 driver incorrectly assumed the layout of xdp_buff remained unchanged, causing erroneous socket buffer (skb) generation and potential kernel warnings or crashes. The fix ensures skb generation correctly reflects the adjusted xdp_buff layout after XDP program execution.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40350 (opens in a new tab)
- git.kernel.org/stable/c/87bcef158ac1faca1bd7e0104588e8e2956d10be (opens in a new tab)
- git.kernel.org/stable/c/8b051d7f530e8a5237da242fbeafef02fec6b813 (opens in a new tab)
- git.kernel.org/stable/c/cb9edd583e23979ee546981be963ad5f217e8b18 (opens in a new tab)
- git.kernel.org/stable/c/f2557d7fa38e9475b38588f5c124476091480f53 (opens in a new tab)