Menu

Star on GitHub · 3.2k

CVE-2022-49993

5.5 · MEDIUM

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…

Published Jun 18, 2025EPSS 0.25%

Overview

CVE-2022-49993 is a medium-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49993?

CVE-2022-49993 is a medium-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49993?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49993?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49993?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49993 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all