Linux Kernel up to 6.3.1 regulator stm32-pwr.c stm32_pwr_regulator_probe return value

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.
5.5$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 6.3.1. It has been classified as critical. Affected by this vulnerability is the function stm32_pwr_regulator_probe of the file drivers/regulator/stm32-pwr.c of the component regulator. The manipulation leads to return value. This vulnerability is listed as CVE-2023-54097. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.3.1 and classified as critical. This issue affects the function stm32_pwr_regulator_probe of the file drivers/regulator/stm32-pwr.c of the component regulator. The manipulation with an unknown input leads to a return value vulnerability. Using CWE to declare the problem leads to CWE-252. The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions. Impacted is availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: regulator: stm32-pwr: fix of_iomap leak Smatch reports: drivers/regulator/stm32-pwr.c:166 stm32_pwr_regulator_probe() warn: 'base' from of_iomap() not released on lines: 151,166. In stm32_pwr_regulator_probe(), base is not released when devm_kzalloc() fails to allocate memory or devm_regulator_register() fails to register a new regulator device, which may cause a leak. To fix this issue, replace of_iomap() with devm_platform_ioremap_resource(). devm_platform_ioremap_resource() is a specialized function for platform devices. It allows 'base' to be automatically released whether the probe function succeeds or fails. Besides, use IS_ERR(base) instead of !base as the return value of devm_platform_ioremap_resource() can either be a pointer to the remapped memory or an ERR_PTR() encoded error code if the operation fails.

It is possible to read the advisory at git.kernel.org. The identification of this vulnerability is CVE-2023-54097 since 12/24/2025. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 01/03/2026).

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

Upgrading to version 5.4.243, 5.10.180, 5.15.111, 6.1.28, 6.2.15 or 6.3.2 eliminates this vulnerability. Applying the patch 824683dbec234a01bd49a0589ee3323594a6f4cf/dfce9bb3517a78507cf96f9b83948d0b81338afa/ad6481f49fb2c703efa3a929643934f24b666d6a/f25994f7a9ad53eb756bc4869497c3ebe281ad5e/c091bb49b3233307c7af73dae888f0799752af3d/0ad07e02be0d3f0d554653382ffe53ae4879378d/c4a413e56d16a2ae84e6d8992f215c4dcc7fac20 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 (279759) and CERT Bund (WID-SEC-2025-2929). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Open Source Linux Kernel

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.7
VulDB Meta Temp Score: 5.5

VulDB Base Score: 5.7
VulDB Temp Score: 5.5
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Return value
CWE: CWE-252 / CWE-253
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 279759
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-54097

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.4.243/5.10.180/5.15.111/6.1.28/6.2.15/6.3.2
Patch: 824683dbec234a01bd49a0589ee3323594a6f4cf/dfce9bb3517a78507cf96f9b83948d0b81338afa/ad6481f49fb2c703efa3a929643934f24b666d6a/f25994f7a9ad53eb756bc4869497c3ebe281ad5e/c091bb49b3233307c7af73dae888f0799752af3d/0ad07e02be0d3f0d554653382ffe53ae4879378d/c4a413e56d16a2ae84e6d8992f215c4dcc7fac20

Timelineinfo

12/24/2025 Advisory disclosed
12/24/2025 +0 days CVE reserved
12/24/2025 +0 days VulDB entry created
01/03/2026 +9 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2023-54097 (🔒)
GCVE (CVE): GCVE-0-2023-54097
GCVE (VulDB): GCVE-100-338063
CERT Bund: WID-SEC-2025-2929 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 12/24/2025 15:00
Updated: 01/03/2026 00:07
Changes: 12/24/2025 15:00 (60), 12/29/2025 06:00 (2), 01/03/2026 00:07 (7)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!