Linux Kernel up to 6.4.3 platform_get_drvdata use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Vendor
Name
Version
- 4.14.321
- 4.19.290
- 5.4.250
- 5.10.187
- 5.15.120
- 6.1.0
- 6.1.1
- 6.1.2
- 6.1.3
- 6.1.4
- 6.1.5
- 6.1.6
- 6.1.7
- 6.1.8
- 6.1.9
- 6.1.10
- 6.1.11
- 6.1.12
- 6.1.13
- 6.1.14
- 6.1.15
- 6.1.16
- 6.1.17
- 6.1.18
- 6.1.19
- 6.1.20
- 6.1.21
- 6.1.22
- 6.1.23
- 6.1.24
- 6.1.25
- 6.1.26
- 6.1.27
- 6.1.28
- 6.1.29
- 6.1.30
- 6.1.31
- 6.1.32
- 6.1.33
- 6.1.34
- 6.1.35
- 6.1.36
- 6.1.37
- 6.1.38
- 6.4.0
- 6.4.1
- 6.4.2
- 6.4.3
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB 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: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 270263
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-53658
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
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
Timeline
10/07/2025 Advisory disclosed10/07/2025 CVE reserved
10/07/2025 VulDB entry created
03/01/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: 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
Entry
Created: 10/07/2025 19:20Updated: 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.
No comments yet. Languages: en.
Please log in to comment.