In the Linux kernel, the following vulnerability has been resolved: netdev: fix double-free in netdev_nl_bind_rx_doit() Sashiko flags that genlmsg_reply() always consumes the skb. The error path calls nlmsg_free(rsp) so we can't jump directly to it. Let's not unbind, just propagate the error to the user. This is the typical way of handling genlmsg_reply() failures. They shouldn't happen unless user does something silly like calling the kernel with an already-full rcvbuf.
https://git.kernel.org/stable/c/e055ca9205d3eb6aec3e5fe4ecc18abbbf18c599
https://git.kernel.org/stable/c/c849de7d8757a7af801fc4a4058f71d481d367f2
https://git.kernel.org/stable/c/c299321bc6232770ce378d6fa6bc46004d2d7fdb
https://git.kernel.org/stable/c/9b019376cbee10c4f9184d1745fa37d156e36f30