
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."