CVE-2022-49149CWE-362

CVE-2022-49149

Critical · published February 26, 2025

CVSS v3.1
9.8
EPSS
0%
Percentile
40.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: Fix call timer start racing with call destruction

The rxrpc_call struct has a timer used to handle various timed events

relating to a call. This timer can get started from the packet input

routines that are run in softirq mode with just the RCU read lock held.

Unfortunately, because only the RCU read lock is held - and neither ref or

other lock is taken - the call can start getting destroyed at the same time

a packet comes in addressed to that call. This causes the timer - which

was already stopped - to get restarted. Later, the timer dispatch code may

then oops if the timer got deallocated first.

Fix this by trying to take a ref on the rxrpc_call struct and, if

successful, passing that ref along to the timer. If the timer was already

running, the ref is discarded.

The timer completion routine can then pass the ref along to the call's work

item when it queues it. If the timer or work item where already

queued/running, the extra ref is discarded.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00483 · 40.7th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2025-02-26T12:00Z
Affected products (13)
ProductVersionsFixed in
linux/linux_kernel≥ 4.15.1, < 5.10.1105.10.110
linux/linux_kernel≥ 5.11, < 5.15.335.15.33
linux/linux_kernel≥ 5.16, < 5.16.195.16.19
linux/linux_kernel≥ 5.17, < 5.17.25.17.2
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 26 FEB 01:55Z
    rxrpc: Fix call timer start racing with call destruction
    cvelistv5