CVE-2022-49082
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49082 is a use-after-free vulnerability discovered in the Linux kernel's mpt3sas driver. The issue occurs in the _scsih_expander_node_remove() function where the port field of the sas_expander structure is accessed after being freed by mpt3sas_transport_port_remove() (Kernel Git).

Technical details

The vulnerability exists in the Linux kernel's SCSI driver (mpt3sas) where a use-after-free condition occurs in the _scsih_expander_node_remove() function. The issue arises when the mpt3sas_transport_port_remove() function frees the port field of the sas_expander structure, but the code continues to access this freed memory in a subsequent ioc_info() call. This vulnerability was detected by the Kernel Address Sanitizer (KASAN) during driver module removal operations (Kernel Git).

Impact

The vulnerability could potentially lead to system crashes or memory corruption when removing the mpt3sas driver module. The issue manifests particularly during driver unload operations, which could affect system stability and potentially lead to denial of service conditions (Kernel Git).

Mitigation and workarounds

The issue has been fixed by introducing a local variable port_id to store the port ID value before executing mpt3sas_transport_port_remove(). This local variable is then used in the call to ioc_info() instead of dereferencing the freed port structure. The fix has been implemented and merged into the Linux kernel (Kernel Git).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 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