Linux
netdev: fix double-free in netdev_nl_bind_rx_doit()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 170aafe35cb98e0f3fbacb446ea86389fbce22ea, < e055ca9205d3eb6aec3e5fe4ecc18abbbf18c599
- >= 170aafe35cb98e0f3fbacb446ea86389fbce22ea, < c299321bc6232770ce378d6fa6bc46004d2d7fdb
- >= 170aafe35cb98e0f3fbacb446ea86389fbce22ea, < 9b019376cbee10c4f9184d1745fa37d156e36f30
- >= 170aafe35cb98e0f3fbacb446ea86389fbce22ea, < c849de7d8757a7af801fc4a4058f71d481d367f2
Fixed in e055ca9205d3eb6aec3e5fe4ecc18abbbf18c599, c299321bc6232770ce378d6fa6bc46004d2d7fdb, 9b019376cbee10c4f9184d1745fa37d156e36f30, c849de7d8757a7af801fc4a4058f71d481d367f2
- 6.12
Fixed in 0, 6.12.94, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to e055ca9205d3eb6aec3e5fe4ecc18abbbf18c599 or c299321bc6232770ce378d6fa6bc46004d2d7fdb or 9b019376cbee10c4f9184d1745fa37d156e36f30 or c849de7d8757a7af801fc4a4058f71d481d367f2 or later.
Upgrade Linux to 0 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.