CVE-2025-40302: Linux hwe edge · In the Linux kernel, the following vulnerability has been resolved: media: videobuf2: forbid remove_bufs when legacy fileio is active
Affects linux-hwe-edgeSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.17.0-1011.11 : patch linux-hwe-edge soon.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 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
Upgrade linux-hwe-edge to 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 or 6.17.0-1007.7~24.04.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-hwe-edge | Affected
| Fixed in
|
AI-suggested
A fix has been implemented in the Linux kernel to forbid the remove_bufs ioctl call when legacy fileio mode is active. Users should update to a Linux kernel version that includes this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisories for the exact fixed versions and apply updates accordingly.
Description
In the Linux kernel, the following vulnerability has been resolved: media: videobuf2: forbid remove_bufs when legacy fileio is active vb2_ioctl_remove_bufs() call manipulates queue internal buffer list, potentially overwriting some pointers used by the legacy fileio access mode. Forbid that ioctl when fileio is active to protect internal queue state between subsequent read/write calls.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40302 (opens in a new tab)
- git.kernel.org/stable/c/27afd6e066cfd80ddbe22a4a11b99174ac89cced (opens in a new tab)
- git.kernel.org/stable/c/a6a493b985bfffac097a4e1be09f98b27729dca8 (opens in a new tab)
- git.kernel.org/stable/c/e819b34df0a7030a15c968d619fa8a3ed2455c7a (opens in a new tab)
- ubuntu.com/security/CVE-2025-40302 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40302 (opens in a new tab)
- git.kernel.org/linus/27afd6e066cfd80ddbe22a4a11b99174ac89cced (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)