Linux Kernel up to 5.19.8 capsule-loader.c 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.
4.5$0-$5k0.00

Summaryinfo

A vulnerability has been found in Linux Kernel up to 5.19.8 and classified as critical. Impacted is an unknown function of the file drivers/firmware/efi/capsule-loader.c. The manipulation leads to use after free. This vulnerability is traded as CVE-2022-40307. There is no exploit available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.19.8 (Operating System). It has been rated as critical. This issue affects an unknown part of the file drivers/firmware/efi/capsule-loader.c. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

An issue was discovered in the Linux kernel through 5.19.8. drivers/firmware/efi/capsule-loader.c has a race condition with a resultant use-after-free.

The weakness was shared 09/09/2022 as 9cb636b5f6a8cc6d1b50809ec8f8d33ae0c84c95. The advisory is shared at github.com. The identification of this vulnerability is CVE-2022-40307 since 09/09/2022. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 236648 (Alibaba Cloud Linux 3 : 0002: cloud-kernel bugfix, enhancement and (ALINUX3-SA-2023:0002)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 9cb636b5f6a8cc6d1b50809ec8f8d33ae0c84c95 is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the vulnerability database at Tenable (236648). 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.6
VulDB Meta Temp Score: 4.6

VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 4.7
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: 236648
Nessus Name: Alibaba Cloud Linux 3 : 0002: cloud-kernel bugfix, enhancement and (ALINUX3-SA-2023:0002)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 9cb636b5f6a8cc6d1b50809ec8f8d33ae0c84c95

Timelineinfo

09/09/2022 🔍
09/09/2022 +0 days 🔍
09/09/2022 +0 days 🔍
05/18/2025 +982 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: 9cb636b5f6a8cc6d1b50809ec8f8d33ae0c84c95
Status: Confirmed

CVE: CVE-2022-40307 (🔍)
GCVE (CVE): GCVE-0-2022-40307
GCVE (VulDB): GCVE-100-208169

Entryinfo

Created: 09/09/2022 14:01
Updated: 05/18/2025 23:05
Changes: 09/09/2022 14:01 (43), 10/14/2022 17:57 (10), 05/18/2025 23:05 (16)
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.

Do you need the next level of professionalism?

Upgrade your account now!