Linux Kernel up to 6.4.3 platform_get_drvdata use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Linux Kernel up to 6.4.3. This impacts the function platform_get_drvdata. This manipulation causes use after free. This vulnerability is tracked as CVE-2023-53658. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in Linux Kernel up to 6.4.3. Affected by this vulnerability is the function platform_get_drvdata. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: spi: bcm-qspi: return error if neither hif_mspi nor mspi is available If neither a "hif_mspi" nor "mspi" resource is present, the driver will just early exit in probe but still return success. Apart from not doing anything meaningful, this would then also lead to a null pointer access on removal, as platform_get_drvdata() would return NULL, which it would then try to dereference when trying to unregister the spi master. Fix this by unconditionally calling devm_ioremap_resource(), as it can handle a NULL res and will then return a viable ERR_PTR() if we get one. The "return 0;" was previously a "goto qspi_resource_err;" where then ret was returned, but since ret was still initialized to 0 at this place this was a valid conversion in 63c5395bb7a9 ("spi: bcm-qspi: Fix use-after-free on unbind"). The issue was not introduced by this commit, only made more obvious.

The advisory is shared at git.kernel.org. This vulnerability is known as CVE-2023-53658 since 10/07/2025. The exploitation appears to be easy. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 03/01/2026).

The vulnerability scanner Nessus provides a plugin with the ID 270263 (Linux Distros Unpatched Vulnerability : CVE-2023-53658), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.14.322, 4.19.291, 5.4.251, 5.10.188, 5.15.121, 6.1.39 or 6.4.4 eliminates this vulnerability. Applying the patch a91c34357afcfaa5307e254f22a8452550a07b34/d20db3c58a7f9361e370a7850ceb60dbdf62eea3/398e6a015877d44327f754aeb48ff3354945c78c/32b9c8f7892c19f7f5c9fed5fb410b9fd5990bb6/217b6ea8cf7b819477bca597a6ae2d43d38ba283/d3dcdb43c872a3b967345144151a2c9bb9124c9b/22ae32d80ef590d12a2364e4621f90f7c58445c7/7c1f23ad34fcdace50275a6aa1e1969b41c6233f is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (270263), EUVD (EUVD-2025-31957) and CERT Bund (WID-SEC-2025-2229). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • SUSE Linux
  • Oracle Linux
  • RESF Rocky Linux
  • Open Source Linux Kernel
  • IBM QRadar SIEM
  • Dell NetWorker

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.6

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 270263
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-53658

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 4.14.322/4.19.291/5.4.251/5.10.188/5.15.121/6.1.39/6.4.4
Patch: a91c34357afcfaa5307e254f22a8452550a07b34/d20db3c58a7f9361e370a7850ceb60dbdf62eea3/398e6a015877d44327f754aeb48ff3354945c78c/32b9c8f7892c19f7f5c9fed5fb410b9fd5990bb6/217b6ea8cf7b819477bca597a6ae2d43d38ba283/d3dcdb43c872a3b967345144151a2c9bb9124c9b/22ae32d80ef590d12a2364e4621f90f7c58445c7/7c1f23ad34fcdace50275a6aa1e1969b41c6233f

Timelineinfo

10/07/2025 Advisory disclosed
10/07/2025 +0 days CVE reserved
10/07/2025 +0 days VulDB entry created
03/01/2026 +145 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2023-53658 (🔒)
GCVE (CVE): GCVE-0-2023-53658
GCVE (VulDB): GCVE-100-327457
EUVD: 🔒
CERT Bund: WID-SEC-2025-2229 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 10/07/2025 19:20
Updated: 03/01/2026 12:32
Changes: 10/07/2025 19:20 (58), 10/19/2025 05:33 (2), 11/23/2025 03:27 (7), 12/26/2025 00:00 (1), 02/03/2026 20:58 (11), 02/04/2026 06:30 (1), 03/01/2026 12:32 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!