CVE-2026-43035: net: sched: cls_api: fix tc_chain_fill_node to initialize tcm_info to zero to prevent an info-leak
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: sched: cls_api: fix tc_chain_fill_node to initialize tcm_info to zero to prevent an info-leak
When building netlink messages, tc_chain_fill_node() never initializes the tcm_info field of struct tcmsg. Since the allocation is not zeroed, kernel heap memory is leaked to userspace through this 4-byte field.
The fix simply zeroes tcm_info alongside the other fields that are already initialized.
The Linux kernel CVE team has assigned CVE-2026-43035 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 5.10.253 with commit 903c3405cfcc7700260e456ab66a5867586c9e69 Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 5.15.203 with commit 71a3eda7e850ae844cb8993065f4e410c11a46ce Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 6.1.168 with commit 4ae5d23f51fb91d7d1140c6f1ba77ab0756054c3 Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 6.6.134 with commit e35f5195cd44ff4053fbc5d71ea97681728a0099 Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 6.12.81 with commit d6db08484c6cb3d4ad696246f9d288eceba2a078 Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 6.18.22 with commit 906997ea3766c24fbbf9cc4bf17c047315bbd138 Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 6.19.12 with commit 1091b3c174441a52fdbb92e2fe00338f9371a91c Issue introduced in 4.19 with commit 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e and fixed in 7.0 with commit e6e3eb5ee89ac4c163d46429391c889a1bb5e404
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-43035
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/sched/cls_api.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/903c3405cfcc7700260e456ab66a5867586c9e69 https://git.kernel.org/stable/c/71a3eda7e850ae844cb8993065f4e410c11a46ce https://git.kernel.org/stable/c/4ae5d23f51fb91d7d1140c6f1ba77ab0756054c3 https://git.kernel.org/stable/c/e35f5195cd44ff4053fbc5d71ea97681728a0099 https://git.kernel.org/stable/c/d6db08484c6cb3d4ad696246f9d288eceba2a078 https://git.kernel.org/stable/c/906997ea3766c24fbbf9cc4bf17c047315bbd138 https://git.kernel.org/stable/c/1091b3c174441a52fdbb92e2fe00338f9371a91c https://git.kernel.org/stable/c/e6e3eb5ee89ac4c163d46429391c889a1bb5e404