batman-adv: Avoid double-rtnl_lock ELP metric worker
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.203, Kernel 5.5, Kernel 6.1.167 and 14 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=5.15.179 <5.15.203, >=5.4.291 <5.5, >=6.1.129 <6.1.167, >=6.12.16 <6.12.78, >=6.13.4 <6.14, >=6.14.1 <6.18.19, >=6.19 <6.19.9, >=6.6.79 <6.6.130, >=5.10.235 <5.10.253, =7.0, >=781a06fd265a8151f7601122d9c2e985663828ff <fa7b4edfbabdf9235b0ab4bea297fc12b3bec9ca, >=8c8ecc98f5c65947b0070a24bac11e12e47cc65d <2ab9f2531d37775cd79228c1f5d80e6bd08d11d3, >=8c8ecc98f5c65947b0070a24bac11e12e47cc65d <77808fe7d03ad0062840b95f431869a8b3d88b24, >=8c8ecc98f5c65947b0070a24bac11e12e47cc65d <cfc83a3c71517b59c1047db57da31e26a9dc2f33, >=a0019971f340ae02ba54cf1861f72da7e03e6b66 <4c3ae249431b4fcb315d7dfb4c3a13f9e443fd9b, >=a7aa2317285806640c844acd4cd2cd768e395264 <f3ca45673dab0514a887231de6f3243a699d5bfd, =1c334629176c2d644befc31a20d4bf75542f7631, =af264c2a9adc37f4bdf88ca7f3affa15d8c7de9e, >=0fdc3c166ac17b26014313fa2b93696354511b24 <b7e5d8ddfdf1d6e9e0808d1adf7736a107372d77, >=3c0e0aecb78cb2a2ca1dc701982d08fedb088dc6 <192f40ad8a7dac58dae9199a065dbf7e6e67b75b | 5.15.203, 5.5, 6.1.167, 6.12.78, 6.14, 6.18.19, 6.19.9, 6.6.130, 5.10.253, fa7b4edfbabdf9235b0ab4bea297fc12b3bec9ca, 2ab9f2531d37775cd79228c1f5d80e6bd08d11d3, 77808fe7d03ad0062840b95f431869a8b3d88b24, cfc83a3c71517b59c1047db57da31e26a9dc2f33, 4c3ae249431b4fcb315d7dfb4c3a13f9e443fd9b, f3ca45673dab0514a887231de6f3243a699d5bfd, b7e5d8ddfdf1d6e9e0808d1adf7736a107372d77, 192f40ad8a7dac58dae9199a065dbf7e6e67b75b |
| linux-kernel: Kernel | >=5.10.235 <5.10.253, >=5.15.179 <5.15.203, >=5.4.291 <5.5, >=6.1.129 <6.1.167, >=6.12.16 <6.12.78, >=6.13.4 <6.14, >=6.14.0 <6.18.19, >=6.19.0 <6.19.9, >=6.6.79 <6.6.130 | 5.10.253, 5.15.203, 5.5, 6.1.167, 6.12.78, 6.14, 6.18.19, 6.19.9, 6.6.130 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket