Linux Kernel up to 5.18.14 devm_kmalloc null pointer dereference

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

Summaryinfo

A vulnerability was found in Linux Kernel up to 4.19.253/5.4.207/5.10.133/5.15.57/5.18.14. It has been classified as problematic. This issue affects the function devm_kmalloc. This manipulation causes null pointer dereference. The identification of this vulnerability is CVE-2022-49608. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel up to 4.19.253/5.4.207/5.10.133/5.15.57/5.18.14. It has been declared as problematic. Affected by this vulnerability is the function devm_kmalloc. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: pinctrl: ralink: Check for null return of devm_kcalloc Because of the possible failure of the allocation, data->domains might be NULL pointer and will cause the dereference of the NULL pointer later. Therefore, it might be better to check it and directly return -ENOMEM without releasing data manually if fails, because the comment of the devm_kmalloc() says "Memory allocated with this function is automatically freed on driver detach.".

The advisory is shared at git.kernel.org. This vulnerability is known as CVE-2022-49608 since 02/26/2025. Technical details are known, but no exploit is available.

Upgrading to version 4.19.254, 5.4.208, 5.10.134, 5.15.58 or 5.18.15 eliminates this vulnerability. Applying the patch 13596e6c9e541e90e5fc2c52b23f08b951370da9/6194c021496addc11763d1ffa89ce5751889fe3c/5694b162f275fb9a9f89422701b2b963be11e496/44016a85419ca0d4f1e4d0127b330f8e4e2a57d0/5595d30c4dc27d939635c3188c68203b6ece1711/c3b821e8e406d5650e587b7ac624ac24e9b780a8 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.

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
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: Null pointer dereference
CWE: CWE-476 / CWE-404
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

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.19.254/5.4.208/5.10.134/5.15.58/5.18.15
Patch: 13596e6c9e541e90e5fc2c52b23f08b951370da9/6194c021496addc11763d1ffa89ce5751889fe3c/5694b162f275fb9a9f89422701b2b963be11e496/44016a85419ca0d4f1e4d0127b330f8e4e2a57d0/5595d30c4dc27d939635c3188c68203b6ece1711/c3b821e8e406d5650e587b7ac624ac24e9b780a8

Timelineinfo

02/26/2025 🔍
02/26/2025 +0 days 🔍
02/26/2025 +0 days 🔍
03/12/2025 +14 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49608 (🔍)
GCVE (CVE): GCVE-0-2022-49608
GCVE (VulDB): GCVE-100-297169

Entryinfo

Created: 02/26/2025 10:38
Updated: 03/12/2025 07:50
Changes: 02/26/2025 10:38 (58), 03/12/2025 07:50 (12)
Complete: 🔍
Committer: sany
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.

Do you know our Splunk app?

Download it now for free!