CVE-2022-48745

net/mlx5: Use del_timer_sync in fw reset flow of halting poll

State
Published
Severity
Not scored
Published
Jun 20, 2024
Updated
May 11, 2026
Reserved
Jun 20, 2024

Read the record on cve.org

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>

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 38b9f903f22b9baa5c4b9bfb07c8bbc49f5efbba to before 502c37b033fab7cde3e95a570af4f073306be45eAffected
  • 38b9f903f22b9baa5c4b9bfb07c8bbc49f5efbba to before f895ebeb44d09d02674cfdd0cfc2bf687603918cAffected
  • 38b9f903f22b9baa5c4b9bfb07c8bbc49f5efbba to before 2a038dd1d942f8fbc495c58fa592ff24af05f1c2Affected
  • 38b9f903f22b9baa5c4b9bfb07c8bbc49f5efbba to before 3c5193a87b0fea090aa3f769d020337662d87b5eAffected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.97 through 5.10.*Not affected
  • 5.15.20 through 5.15.*Not affected
  • 5.16.6 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.