CVE
CVE-2023-52483
CNA description
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.
Affected versions
All Linux kernel vulnerabilities →
- 6.6-rc5This version only
- 6.6-rc4This version only
- 6.6-rc3This version only
- 6.6-rc2This version only
- 6.6-rc1This version only
- ≥ 6.2, < 6.5.8Fixed in 6.5.8
- ≥ 5.16, < 6.1.59Fixed in 6.1.59
- ≥ 5.15, < 5.15.137Fixed in 5.15.137
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.