CVE-2024-58003
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-787CVE-2024-58003 is a Out-of-bounds Write vulnerability
What is Out-of-bounds Write?
The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.6
and later are affected. Fixed in
6.6.78,
6.12.14,
6.13.3,
6.14
and their respective stable series.
References
The following references provide additional information about CVE-2024-58003 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/474d7baf91d37bc411fa60de5bbf03c9dd82e18a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/60b45ece41c5632a3a3274115a401cb244180646
-
PatchKernel patch commithttps://git.kernel.org/stable/c/70743d6a8b256225675711e7983825f1be86062d
Frequently asked questions
-
What is CVE-2024-58003?
CVE-2024-58003 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 6.6 onward and has been patched in 6.6.78, 6.12.14, 6.13.3 and others. CVE-2024-58003 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-58003?
CVE-2024-58003 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-58003?
Yes — CVE-2024-58003 has been patched. Fixed versions include 6.6.78, 6.12.14, 6.13.3 and others. If you are running Linux kernel 6.6 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-58003 actively exploited?
No — CVE-2024-58003 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Out-of-bounds Write (CWE-787)?
The product writes data past the end or before the beginning of the intended buffer. View CWE-787 on MITRE CWE →