CVE-2022-48745 net/mlx5: Use del_timer_sync in fw reset flow of halting poll
A race condition in the Linux kernel's mlx5 driver can cause a system crash during firmware reset polling, requiring a kernel patch.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48745?
CVE-2022-48745 is a medium-severity vulnerability in Linux kernel, published on 20 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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>
Weakness: CWE-362
Which versions are affected by CVE-2022-48745?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48745?
Apply the vendor's patch.
Is CVE-2022-48745 being exploited?
There is no known exploitation of CVE-2022-48745 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-48745, GHSA-gpr7-jpmr-pqcr, UBUNTU-CVE-2022-48745.