CVE-2025-38682: Linux kernel · i2c: core: Fix double-free of fwnode in i2c_unregister_device()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 19 Nov 2026, 02:48 UTC
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 4 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 18 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-intelpkg:deb/ubuntu/linux-intel?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-oem-6.8pkg:deb/ubuntu/linux-oem-6.8?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that prevents the double free by not calling fwnode_handle_put() when the primary fwnode is a software node. Users should update to patched kernel versions to remediate this vulnerability.
Description
A double-free vulnerability in the Linux kernel's i2c subsystem was fixed in the i2c_unregister_device() function. The issue occurred when a software firmware node (fwnode) was used as the primary node, causing fwnode_handle_put() to be called twice on the same node, leading to a use-after-free and potential system instability or crash.
References
- ubuntu.com/security/CVE-2025-38682 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38682 (opens in a new tab)
- git.kernel.org/linus/1c24e5fc0c7096e00c202a6a3e0c342c1afb47c2 (opens in a new tab)
- git.kernel.org/stable/c/1c24e5fc0c7096e00c202a6a3e0c342c1afb47c2 (opens in a new tab)
- git.kernel.org/stable/c/ffe02f7c4e36090154646612e67d331832f92037 (opens in a new tab)