Menu

Star on GitHub · 3.2k

CVE-2022-49789

7.0 · HIGH

In the Linux kernel, the following vulnerability has been resolved: scsi: zfcp: Fix double free of FSF request when qdio send fails We used to use the wrong type of integer in 'zfcp_fsf_req_send(…

Published May 1, 2025CWE-415EPSS 0.20%

Overview

CVE-2022-49789 is a high-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 7.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. 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:

scsi: zfcp: Fix double free of FSF request when qdio send fails

We used to use the wrong type of integer in 'zfcp_fsf_req_send()' to cache

the FSF request ID when sending a new FSF request. This is used in case the

sending fails and we need to remove the request from our internal hash

table again (so we don't keep an invalid reference and use it when we free

the request again).

In 'zfcp_fsf_req_send()' we used to cache the ID as 'int' (signed and 32

bit wide), but the rest of the zfcp code (and the firmware specification)

handles the ID as 'unsigned long'/'u64' (unsigned and 64 bit wide [s390x

ELF ABI]). For one this has the obvious problem that when the ID grows

past 32 bit (this can happen reasonably fast) it is truncated to 32 bit

when storing it in the cache variable and so doesn't match the original ID

anymore. The second less obvious problem is that even when the original ID

has not yet grown past 32 bit, as

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-49789?

CVE-2022-49789 is a high-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2022-49789?

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. 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-49789?

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-49789?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49789 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 HIGH CVEs from 2022

View all