Linux Kernel up to 5.19.5 drivers/block/loop.c lo_ioctl memory corruption

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

Summaryinfo

A vulnerability classified as critical was found in Linux Kernel up to 5.19.5. This impacts the function lo_ioctl of the file drivers/block/loop.c. Executing a manipulation can lead to memory corruption. This vulnerability is registered as CVE-2022-49993. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability has been found in Linux Kernel up to 5.19.5 and classified as critical. This vulnerability affects the function lo_ioctl of the file drivers/block/loop.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: loop: Check for overflow while configuring loop The userspace can configure a loop using an ioctl call, wherein a configuration of type loop_config is passed (see lo_ioctl()'s case on line 1550 of drivers/block/loop.c). This proceeds to call loop_configure() which in turn calls loop_set_status_from_info() (see line 1050 of loop.c), passing &config->info which is of type loop_info64*. This function then sets the appropriate values, like the offset. loop_device has lo_offset of type loff_t (see line 52 of loop.c), which is typdef-chained to long long, whereas loop_info64 has lo_offset of type __u64 (see line 56 of include/uapi/linux/loop.h). The function directly copies offset from info to the device as follows (See line 980 of loop.c): lo->lo_offset = info->lo_offset; This results in an overflow, which triggers a warning in iomap_iter() due to a call to iomap_iter_done() which has: WARN_ON_ONCE(iter->iomap.offset > iter->pos); Thus, check for negative value during loop_set_status_from_info(). Bug report: https://syzkaller.appspot.com/bug?id=c620fe14aac810396d3c3edc9ad73848bf69a29e

The advisory is available at git.kernel.org. This vulnerability was named CVE-2022-49993 since 06/18/2025. The exploitation appears to be easy. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 11/30/2025).

The vulnerability scanner Nessus provides a plugin with the ID 264404 (EulerOS 2.0 SP9 : kernel (EulerOS-SA-2025-2129)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.327, 4.14.292, 4.19.312, 5.4.274, 5.10.140, 5.15.64 or 5.19.6 eliminates this vulnerability. Applying the patch 18e28817cb516b39de6281f6db9b0618b2cc7b42/adf0112d9b8acb03485624220b4934f69bf13369/a217715338fd48f72114725aa7a40e484a781ca7/b40877b8562c5720d0a7fce20729f56b75a3dede/6858933131d0dadac071c4d33335a9ea4b8e76cf/0455bef69028c65065f16bb04635591b2374249b/9be7fa7ead18a48940df7b59d993bbc8b9055c15/c490a0b5a4f36da3918181a8acdc6991d967c5f3 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 (264404) and CERT Bund (WID-SEC-2025-1350). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Avamar
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM QRadar SIEM

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB 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: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Memory corruption
CWE: 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: 264404
Nessus Name: EulerOS 2.0 SP9 : kernel (EulerOS-SA-2025-2129)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.9.327/4.14.292/4.19.312/5.4.274/5.10.140/5.15.64/5.19.6
Patch: 18e28817cb516b39de6281f6db9b0618b2cc7b42/adf0112d9b8acb03485624220b4934f69bf13369/a217715338fd48f72114725aa7a40e484a781ca7/b40877b8562c5720d0a7fce20729f56b75a3dede/6858933131d0dadac071c4d33335a9ea4b8e76cf/0455bef69028c65065f16bb04635591b2374249b/9be7fa7ead18a48940df7b59d993bbc8b9055c15/c490a0b5a4f36da3918181a8acdc6991d967c5f3

Timelineinfo

06/18/2025 🔍
06/18/2025 +0 days 🔍
06/18/2025 +0 days 🔍
11/30/2025 +165 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49993 (🔍)
GCVE (CVE): GCVE-0-2022-49993
GCVE (VulDB): GCVE-100-312970
CERT Bund: WID-SEC-2025-1350 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 06/18/2025 14:46
Updated: 11/30/2025 18:33
Changes: 06/18/2025 14:46 (59), 07/18/2025 00:36 (7), 07/29/2025 06:14 (1), 09/08/2025 06:28 (1), 09/11/2025 05:31 (2), 10/18/2025 23:38 (1), 11/15/2025 06:04 (12), 11/30/2025 18:33 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!