Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: Avoid double-rtnl_lock ELP metric worker batadv_v_elp_get_throughput() might be called when the RTNL lock is already held. This could be problematic when the work queue item is cancelled via cancel_delayed_work_sync() in batadv_v_elp_iface_disable(). In this case, an rtnl_lock() would cause a deadlock. To avoid this, rtnl_trylock() was used in this function to skip the retrieval of the ethtool information in case the RTNL lock was already held. But for cfg80211 interfaces, batadv_get_real_netdev() was called - which also uses rtnl_lock(). The approach for __ethtool_get_link_ksettings() must also be used instead and the lockless version __batadv_get_real_netdev() has to be called.
Product status
a0019971f340ae02ba54cf1861f72da7e03e6b66 (git) before 4c3ae249431b4fcb315d7dfb4c3a13f9e443fd9b
3c0e0aecb78cb2a2ca1dc701982d08fedb088dc6 (git) before 192f40ad8a7dac58dae9199a065dbf7e6e67b75b
781a06fd265a8151f7601122d9c2e985663828ff (git) before fa7b4edfbabdf9235b0ab4bea297fc12b3bec9ca
a7aa2317285806640c844acd4cd2cd768e395264 (git) before f3ca45673dab0514a887231de6f3243a699d5bfd
0fdc3c166ac17b26014313fa2b93696354511b24 (git) before b7e5d8ddfdf1d6e9e0808d1adf7736a107372d77
8c8ecc98f5c65947b0070a24bac11e12e47cc65d (git) before 2ab9f2531d37775cd79228c1f5d80e6bd08d11d3
8c8ecc98f5c65947b0070a24bac11e12e47cc65d (git) before 77808fe7d03ad0062840b95f431869a8b3d88b24
8c8ecc98f5c65947b0070a24bac11e12e47cc65d (git) before cfc83a3c71517b59c1047db57da31e26a9dc2f33
1c334629176c2d644befc31a20d4bf75542f7631 (git)
af264c2a9adc37f4bdf88ca7f3affa15d8c7de9e (git)
6.14
Any version before 6.14
5.10.253 (semver)
5.15.203 (semver)
6.1.167 (semver)
6.6.130 (semver)
6.12.78 (semver)
6.18.19 (semver)
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/4c3ae249431b4fcb315d7dfb4c3a13f9e443fd9b
git.kernel.org/...c/192f40ad8a7dac58dae9199a065dbf7e6e67b75b
git.kernel.org/...c/fa7b4edfbabdf9235b0ab4bea297fc12b3bec9ca
git.kernel.org/...c/f3ca45673dab0514a887231de6f3243a699d5bfd
git.kernel.org/...c/b7e5d8ddfdf1d6e9e0808d1adf7736a107372d77
git.kernel.org/...c/2ab9f2531d37775cd79228c1f5d80e6bd08d11d3
git.kernel.org/...c/77808fe7d03ad0062840b95f431869a8b3d88b24
git.kernel.org/...c/cfc83a3c71517b59c1047db57da31e26a9dc2f33