PT-2024-10330 · Linux+2 · Linux Kernel+2
Lv Yunlong
·
Published
2024-02-28
·
Updated
2024-12-09
·
CVE-2021-47012
CVSS v3.1
7.8
High
| Vector | AV: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 (affected versions not specified)
Description
The issue is related to a use after free vulnerability in the
siw alloc mr function. The vulnerability occurs when mem is assigned to mr->mem and then freed via kfree(mem) if xa alloc cyclic() fails. The execution continues, and the freed mr->mem is used in siw mr drop mem(mr), causing a use after free error. The patch moves the assignment of mr->mem = mem behind the if (xa alloc cyclic(..)<0) section to avoid the issue.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse