First published: Wed Feb 26 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential double free in create_var_ref() In create_var_ref(), init_var_ref() is called to initialize the fields of variable ref_field, which is allocated in the previous function call to create_hist_field(). Function init_var_ref() allocates the corresponding fields such as ref_field->system, but frees these fields when the function encounters an error. The caller later calls destroy_hist_field() to conduct error handling, which frees the fields and the variable itself. This results in double free of the fields which are already freed in the previous function. Fix this by storing NULL to the corresponding fields when they are freed in init_var_ref().
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=4.17<4.19.247 | |
Linux Kernel | >=4.20<5.4.198 | |
Linux Kernel | >=5.5<5.10.121 | |
Linux Kernel | >=5.11<5.15.46 | |
Linux Kernel | >=5.16<5.17.14 | |
Linux Kernel | >=5.18<5.18.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-49410 has a severity rating that may lead to potential code execution risks due to a double free vulnerability in the Linux kernel.
To fix CVE-2022-49410, you should update your Linux kernel to the latest patched version provided by your distribution.
CVE-2022-49410 affects multiple versions of the Linux kernel, specifically those from 4.17 up to certain ranges of 5.18.
CVE-2022-49410 exploits the create_var_ref() function in the tracing subsystem of the Linux kernel.
There is currently no public information indicating that CVE-2022-49410 is actively being exploited in the wild.