CVE-2022-49789
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49789 affects the Linux kernel's SCSI zfcp subsystem. The vulnerability was discovered in the integer type handling within the zfcp_fsf_req_send() function, where an incorrect type was used to cache the FSF request ID. The issue was publicly disclosed and documented in May 2025 (NVD, Wiz).

Technical details

The vulnerability stems from using an int type (signed and 32-bit wide) to cache the FSF request ID in zfcp_fsf_req_send(), while the rest of the zfcp code and firmware specification handles the ID as unsigned long/u64 (unsigned and 64-bit wide [s390x ELF ABI]). This mismatch causes two problems: truncation when the ID exceeds 32 bits, and sign extension issues when the 32nd bit is set in the original ID (0x80000000 = 2,147,483,648). The compiler uses sign-extending instructions for the cached variable, causing mismatches with the original ID (NVD).

Impact

When the vulnerability is triggered, it results in a double free condition. If the request cannot be removed from the hash table after zfcp_qdio_send() fails, the memory is freed twice - once when zfcp_fsf_req_send() fails and again when the zfcp adapter is reset during recovery or shutdown. This leads to memory corruption and potential system crashes (NVD).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through a fix that addresses the integer type mismatch in the zfcp_fsf_req_send() function (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management