PT-2024-10330
CVE-2021-47012
·
Published
2024-02-28
·
Updated
2026-08-11
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 (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.
Found an issue in the description? Have something to add? Feel free to write us 👾