In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: eb_tables: close module init race sashiko reports for unrelated patch: Does the core ebtables initialization in ebtables.c suffer from a similar race? Once nf_register_sockopt() completes, the sockopts are exposed globally. sockopt has to be registered last, just like in ip/ip6/arptables.
https://git.kernel.org/stable/c/c647e2a21bbbaceda6cdb8a44a56f44d231dc4b4
https://git.kernel.org/stable/c/27414ff1b287ea9a2a11675149ec28e05539f3cc
https://git.kernel.org/stable/c/02d999dc69b3918dba2414932b5d95f1f75c76cb