Race condition within a thread in Linux kernel - CVE-2022-49576
Published: February 26, 2025 / Updated: May 11, 2025
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to corrupt data.
The vulnerability exists due to a data race within the fib_multipath_custom_hash_outer(), fib_multipath_custom_hash_inner() and fib_multipath_custom_hash_skb() functions in net/ipv4/route.c, within the mlxsw_sp_mp4_hash_init() function in drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c. A local user can corrupt data.
How to mitigate CVE-2022-49576
Sources
- https://git.kernel.org/stable/c/36f5b86f309b3b11295d087cd7433f1c897caf94
- https://git.kernel.org/stable/c/548d6678c4a3d43667e59686665f8674b82440a3
- https://git.kernel.org/stable/c/8895a9c2ac76fb9d3922fed4fe092c8ec5e5cccc
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.58
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.15
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19