PT-2025-8010
CVE-2022-49082
·
Published
2022-03-29
·
Updated
2026-11-10
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.17.0-rc8+
Description
A use-after-free issue has been identified in the Linux kernel, specifically in the mpt3sas driver. The function
mpt3sas transport port remove() frees the port field of the sas expander structure, leading to a use-after-free error when the ioc info() call is executed. This issue can be triggered when removing the driver module, such as during rmmod. The error is detected by KASAN, which reports a read of size 1 at an address that has already been freed.Recommendations
For Linux kernel versions prior to 5.17.0-rc8+, introduce a local variable
port id to store the port ID value before executing mpt3sas transport port remove(). Then, use this local variable in the call to ioc info() instead of dereferencing the freed port structure.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾