net: sched: cls_api: fix tc_chain_fill_node to initialize tcm_info to zero to prevent an info-leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 32a4f5ecd7381f30ae3bb36dea77a150ba68af2e · < 906997ea3766c24fbbf9cc4bf17c047315bbd138| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's tc_chain_fill_node() leaves a 4-byte field uninitialized when building netlink messages. This can expose kernel heap memory to local userspace; the input does not specify authentication requirements.
Engineers running the Linux kernel should check their installations; affected versions are not specified.