CVE-2023-52483CWE-416

CVE-2023-52483

High · published February 29, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

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

mctp: perform route lookups under a RCU read-side lock

Our current route lookups (mctp_route_lookup and mctp_route_lookup_null)

traverse the net's route list without the RCU read lock held. This means

the route lookup is subject to preemption, resulting in an potential

grace period expiry, and so an eventual kfree() while we still have the

route pointer.

Add the proper read-side critical section locks around the route

lookups, preventing premption and a possible parallel kfree.

The remaining net->mctp.routes accesses are already under a

rcu_read_lock, or protected by the RTNL for updates.

Based on an analysis from Sili Luo <[email protected]>, where

introducing a delay in the route lookup could cause a UAF on

simultaneous sendmsg() and route deletion.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00233 · 13.4th percentile
Weakness
CWE-416 · Use After Free
Published
2024-02-29T11:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 5.15.1375.15.137
linux/linux_kernel≥ 5.16, < 6.1.596.1.59
linux/linux_kernel≥ 6.2, < 6.5.86.5.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 29 FEB 05:43Z
    mctp: perform route lookups under a RCU read-side lock
    cvelistv5