Linux Kernel up to 6.12.19/6.13.7 devm_kasprintf 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.3$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Linux Kernel up to 6.12.19/6.13.7. This vulnerability affects the function devm_kasprintf. The manipulation leads to return value. This vulnerability is listed as CVE-2025-21982. There is no available exploit. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.12.19/6.13.7. It has been rated as problematic. This issue affects the function devm_kasprintf. 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. The impact remains unknown. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw devm_kasprintf() calls can return null pointers on failure. But the return values were not checked in npcm8xx_gpio_fw(). Add NULL check in npcm8xx_gpio_fw(), to handle kernel NULL pointer dereference error.

It is possible to read the advisory at git.kernel.org. The identification of this vulnerability is CVE-2025-21982 since 12/29/2024. 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 02/01/2026).

The vulnerability scanner Nessus provides a plugin with the ID 241070 (Ubuntu 24.04 LTS : Linux kernel (OEM) vulnerabilities (USN-7606-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.12.20 or 6.13.8 eliminates this vulnerability. Applying the patch a585f6ea42ec259a9a57e3e2580fa527c92187d0/6a08a86e5aff8e65368ccd463348fdda26100821/acf40ab42799e4ae1397ee6f5c5941092d66f999 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 (241070) and CERT Bund (WID-SEC-2025-0683). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Google Container-Optimized OS
  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • RESF Rocky Linux
  • Dell Avamar
  • Open Source Linux Kernel
  • SolarWinds Security Event Manager
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM Security Verify Access

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.3

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
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: 241070
Nessus Name: Ubuntu 24.04 LTS : Linux kernel (OEM) vulnerabilities (USN-7606-1)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.12.20/6.13.8
Patch: a585f6ea42ec259a9a57e3e2580fa527c92187d0/6a08a86e5aff8e65368ccd463348fdda26100821/acf40ab42799e4ae1397ee6f5c5941092d66f999

Timelineinfo

12/29/2024 🔍
04/01/2025 +92 days 🔍
04/01/2025 +0 days 🔍
02/01/2026 +306 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-21982 (🔍)
GCVE (CVE): GCVE-0-2025-21982
GCVE (VulDB): GCVE-100-302723
CERT Bund: WID-SEC-2025-0683 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 04/01/2025 19:50
Updated: 02/01/2026 15:32
Changes: 04/01/2025 19:50 (57), 07/02/2025 01:03 (2), 07/20/2025 14:20 (7), 10/26/2025 23:36 (1), 02/01/2026 15:32 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!