CVE-2022-50697
Use-After-Free in Linux Kernel MRP Timer Causes Potential Crash
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.1.0-rc5 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix which introduces active flags to prevent use-after-free when the applicant uninitializes timers. This fix ensures that the timer will not restart improperly, preventing the use-after-free condition.
How can this vulnerability impact me? :
This vulnerability can cause kernel crashes due to use-after-free errors, leading to system instability or denial of service. If exploited, it could potentially allow attackers to execute arbitrary code or cause unexpected behavior in the kernel, impacting system reliability and security.
Can you explain this vulnerability to me?
This vulnerability is a use-after-free (UAF) issue in the Linux kernel's MRP (Media Redundancy Protocol) timer handling. Specifically, the problem arises because the caller of del_timer_sync does not properly prevent the timer from restarting, which can lead to a small chance that the timer cancellation fails. This results in a use-after-free condition where the kernel attempts to access memory that has already been freed, causing crashes and instability. The fix involves introducing active flags to ensure the timer does not restart unexpectedly.