Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: stop caching unowned originator pointers in BAT IV BAT IV keeps the last-hop neighbor address in each neigh_node, but some paths also cache an originator pointer derived from a temporary lookup. That pointer is not owned by the neigh_node and may no longer refer to a live originator entry after purge handling runs. Stop storing the auxiliary originator pointer in the BAT IV neighbor state. When BAT IV needs the neighbor originator data, resolve it from the stored neighbor address and drop the reference again after use. [sven: avoid bonding logic for outgoing OGM]
Product status
c6c8fea29769d998d94fcec9b9f14d4b52b349d3 (git) before aafcbaf1159ea224528ca4075d0ba8c10ef374af
c6c8fea29769d998d94fcec9b9f14d4b52b349d3 (git) before 6e20700f8c524ac379ba8274ff5d453023b7c006
c6c8fea29769d998d94fcec9b9f14d4b52b349d3 (git) before 09dc0d1a12222ffca6481916eab3cfea477b9620
c6c8fea29769d998d94fcec9b9f14d4b52b349d3 (git) before 67bceeb22207f1f5a402973a3a0809e5f2698f38
c6c8fea29769d998d94fcec9b9f14d4b52b349d3 (git) before f03e8583532941b07761c5429de7d50766fa3110
2.6.38
Any version before 2.6.38
6.6.140 (semver)
6.12.90 (semver)
6.18.32 (semver)
7.0.9 (semver)
7.1-rc4 (original_commit_for_fix)
References
git.kernel.org/...c/aafcbaf1159ea224528ca4075d0ba8c10ef374af
git.kernel.org/...c/6e20700f8c524ac379ba8274ff5d453023b7c006
git.kernel.org/...c/09dc0d1a12222ffca6481916eab3cfea477b9620
git.kernel.org/...c/67bceeb22207f1f5a402973a3a0809e5f2698f38
git.kernel.org/...c/f03e8583532941b07761c5429de7d50766fa3110