CVE-2024-58003

media: i2c: ds90ub9x3: Fix extra fwnode_handle_put()

HIGH
7.8
CVSS Score
Published: February 27, 2025 at 02:12 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.13.36.6 ≤ v < 6.12.146.6 ≤ v < 6.13.36.6 ≤ v < 6.146.6 ≤ v < 6.6.786.7 ≤ v < 6.12.146.6905f88ccebb14e42bcd19455b0d9c0d4808f1897
Vendor states this is fixed in 474d7baf91d37bc411fa60de5bbf03c9dd82e18a (fixed)
Vendor states this is fixed in 60b45ece41c5632a3a3274115a401cb244180646 (fixed)
Vendor states this is fixed in 70743d6a8b256225675711e7983825f1be86062d (fixed)
Vendor states this is fixed in f4e4373322f8d4c19721831f7fb989e52d30dab0 (fixed)
Vendor states this is fixed in 6.12.14 (unaffected)
Vendor states this is fixed in 6.13.3 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.78 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/474d7baf91d37bc411fa60de5bbf03c9dd82e18a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/60b45ece41c5632a3a3274115a401cb244180646
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/70743d6a8b256225675711e7983825f1be86062d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4e4373322f8d4c19721831f7fb989e52d30dab0

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card