In the Linux kernel, the following vulnerability has been resolved: batman-adv: bla: avoid NULL-ptr deref for claim via dropped interface Without rtnl_lock held, a hardif might be retrieved as primary interface of a meshif, but then (while operating on this interface) getting decoupled from the mesh interface. In this case, the meshif still exists but the pointer from the primary hardif to the meshif is set to NULL. The mesh_iface must be checked first to be non-NULL before continuing to send an ARP request using meshif.
https://git.kernel.org/stable/c/f80d3d98d2ff78d9e2fe5d68b1f45948c4f7bd24
https://git.kernel.org/stable/c/efb62458c94db1fe3a287e7e89c31b0cfb03f938
https://git.kernel.org/stable/c/6921a7683ae9ad0208d829e71f725a9e25ccff49
https://git.kernel.org/stable/c/555b8d3f5c313d81d46274fd0976352dafc80124
https://git.kernel.org/stable/c/53cb3511f6eda37d3bd923545fdba6013b6d7bb7
https://git.kernel.org/stable/c/4f6266735a0ba6a568b6d4c9fa51c33a5a7f2d70
https://git.kernel.org/stable/c/2a8c9e86529156c62d9187b9ed9454c31665ad33
https://git.kernel.org/stable/c/0f3ebd7bb417aabc44853cc7c2a184ebb0e05b45