CVEvulnerability
CVE-2022-48745
4.7 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-06-20
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-362
Description
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Use del_timer_sync in fw reset flow of halting poll
Substitute del_timer() with del_timer_sync() in fw reset polling
deactivation flow, in order to prevent a race condition which occurs
when del_timer() is called and timer is deactivated while another
process is handling the timer interrupt. A situation that led to
the following call trace:
RIP: 0010:run_timer_softirq+0x137/0x420
<IRQ>
recalibrate_cpu_khz+0x10/0x10
ktime_get+0x3e/0xa0
? sched_clock_cpu+0xb/0xc0
__do_softirq+0xf5/0x2ea
irq_exit_rcu+0xc1/0xf0
sysvec_apic_timer_interrupt+0x9e/0xc0
asm_sysvec_apic_timer_interrupt+0x12/0x20
</IRQ>
Affected configurations
• linux linux kernel (>= 5.10 < 5.10.97)
• linux linux kernel (>= 5.11 < 5.15.20)
• linux linux kernel (>= 5.16 < 5.16.6)
• linux linux kernel 5.17
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- https://git.kernel.org/stable/c/2a038dd1d942f8fbc495c58fa592ff24af05f1c2 Patch
- https://git.kernel.org/stable/c/3c5193a87b0fea090aa3f769d020337662d87b5e Patch
- https://git.kernel.org/stable/c/502c37b033fab7cde3e95a570af4f073306be45e Patch
- https://git.kernel.org/stable/c/f895ebeb44d09d02674cfdd0cfc2bf687603918c Patch
- https://git.kernel.org/stable/c/2a038dd1d942f8fbc495c58fa592ff24af05f1c2 Patch
- https://git.kernel.org/stable/c/3c5193a87b0fea090aa3f769d020337662d87b5e Patch
- https://git.kernel.org/stable/c/502c37b033fab7cde3e95a570af4f073306be45e Patch
- https://git.kernel.org/stable/c/f895ebeb44d09d02674cfdd0cfc2bf687603918c Patch