Skip to contentSkip to conversation

CVE-2026-53233: netdev: fix double-free in netdev_nl_bind_rx_doit()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-53233 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.12 with commit 170aafe35cb98e0f3fbacb446ea86389fbce22ea and fixed in 6.12.94 with commit e055ca9205d3eb6aec3e5fe4ecc18abbbf18c599
	Issue introduced in 6.12 with commit 170aafe35cb98e0f3fbacb446ea86389fbce22ea and fixed in 6.18.36 with commit c299321bc6232770ce378d6fa6bc46004d2d7fdb
	Issue introduced in 6.12 with commit 170aafe35cb98e0f3fbacb446ea86389fbce22ea and fixed in 7.0.13 with commit 9b019376cbee10c4f9184d1745fa37d156e36f30
	Issue introduced in 6.12 with commit 170aafe35cb98e0f3fbacb446ea86389fbce22ea and fixed in 7.1 with commit c849de7d8757a7af801fc4a4058f71d481d367f2

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53233

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/core/netdev-genl.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/e055ca9205d3eb6aec3e5fe4ecc18abbbf18c599
	https://git.kernel.org/stable/c/c299321bc6232770ce378d6fa6bc46004d2d7fdb
	https://git.kernel.org/stable/c/9b019376cbee10c4f9184d1745fa37d156e36f30
	https://git.kernel.org/stable/c/c849de7d8757a7af801fc4a4058f71d481d367f2