What’s Vulnerable › Vulnerabilities
CVE-2024-58003: media: i2c: ds90ub9x3: Fix extra fwnode_handle_put()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-27 · updated 2026-08-04
- Weakness: CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved: media: i2c: ds90ub9x3: Fix extra fwnode_handle_put() The ub913 and ub953 drivers call fwnode_handle_put(priv->sd.fwnode) as part of their remove process, and if the driver is removed multiple times, eventually leads to put "overflow", possibly causing memory corruption or crash. The fwnode_handle_put() is a leftover from commit 905f88ccebb1 ("media: i2c: ds90ub9x3: Fix sub-device matching"), which changed the code related to the sd.fwnode, but missed removing these fwnode_handle_put() calls.
Affected products
- Linux kernel: from 6.6 before 6.6.78; from 6.7 before 6.12.14; from 6.13 before 6.13.3 — fixed in 6.12.14, 6.13.3, 6.6.78
How to fix
Upgrade to a fixed version: Linux kernel 6.12.14, 6.13.3, 6.6.78. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/474d7baf91d37bc411fa60de5bbf03c9dd82e18a
- https://git.kernel.org/stable/c/60b45ece41c5632a3a3274115a401cb244180646
- https://git.kernel.org/stable/c/70743d6a8b256225675711e7983825f1be86062d
- https://git.kernel.org/stable/c/f4e4373322f8d4c19721831f7fb989e52d30dab0
Get alerted when CVE-2024-58003 or the next vulnerability affects your stack