CVE-2025-38682: Linux kernel · i2c: core: Fix double-free of fwnode in i2c_unregister_device()
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 19 Nov 2026, 02:26 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 5 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
AI-suggested
A fix is available as the vulnerability has been resolved in the Linux kernel by modifying i2c_unregister_device() to avoid calling fwnode_handle_put() on software nodes. Users should update their Linux kernel to a version that includes this fix. No additional mitigation steps are indicated.
Description
CVE-2025-38682 is a high-severity vulnerability in the Linux kernel's i2c core subsystem. It involves a double-free of a firmware node (fwnode) in the i2c_unregister_device() function. The flaw occurs when a software fwnode is treated as the primary node, leading to two separate calls that decrement its reference count, causing a use-after-free and potential system instability or crash.