Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: stop tp_meter sessions during mesh teardown TP meter sessions remain linked on bat_priv->tp_list after the netlink request has already finished. When the mesh interface is removed, batadv_mesh_free() currently tears down the mesh without first draining these sessions. A running sender thread or a late incoming tp_meter packet can then keep processing against a mesh instance which is already shutting down. Synchronize tp_meter with the mesh lifetime by stopping all active sessions from batadv_mesh_free() and waiting for sender threads to exit before teardown continues.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 5e7d0ac936354c36810e74ac3056b334ed1f4058affected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 268078acae72daa12b17b2b299701cb9924e469aaffected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 58943b7ea356294749dae3e75b96c0ee292c00beaffected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 79bc0eaeef2c5797317bf2da8e3159a74d62ec47affected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 26dfeee8db81354bfdade155f27f9e16510ad196affected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 03660dab86f93319178a24667f6998526dc4355daffected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 8634c1dbd73adb74d40533ebb7e914efb82e71fbaffected33a3bb4a3345bb511f9c69c913da95d4693e2a4e to < 3d3cf6a7314aca4df0a6dde28ce784a2a30d0166affected
Linux Linux
Default version status: affected
4.8affected0 to < 4.8unaffected5.10.259 to ≤ 5.10.*unaffected5.15.210 to ≤ 5.15.*unaffected6.1.176 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.90 to ≤ 6.12.*unaffected6.18.32 to ≤ 6.18.*unaffected7.0.9 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5e7d0ac936354c36810e74ac3056b334ed1f4058 ↗
- https://git.kernel.org/stable/c/268078acae72daa12b17b2b299701cb9924e469a ↗
- https://git.kernel.org/stable/c/58943b7ea356294749dae3e75b96c0ee292c00be ↗
- https://git.kernel.org/stable/c/79bc0eaeef2c5797317bf2da8e3159a74d62ec47 ↗
- https://git.kernel.org/stable/c/26dfeee8db81354bfdade155f27f9e16510ad196 ↗
- https://git.kernel.org/stable/c/03660dab86f93319178a24667f6998526dc4355d ↗
- https://git.kernel.org/stable/c/8634c1dbd73adb74d40533ebb7e914efb82e71fb ↗
- https://git.kernel.org/stable/c/3d3cf6a7314aca4df0a6dde28ce784a2a30d0166 ↗