Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
net/sched: Only allow act_ct to bind to clsact/ingress qdiscs and shared blocks
As Paolo said earlier [1]:
“Since the blamed commit below, classify can return TC_ACT_CONSUMED while the current skb being held by the defragmentation engine. As reported by GangMin Kim, if such packet is that may cause a UaF when the defrag engine later on tries to tuch again such packet.”
act_ct was never meant to be used in the egress path, however some users are attaching it to egress today [2]. Attempting to reach a middle ground, we noticed that, while most qdiscs are not handling TC_ACT_CONSUMED, clsact/ingress qdiscs are. With that in mind, we address the issue by only allowing act_ct to bind to clsact/ingress qdiscs and shared blocks. That way it’s still possible to attach act_ct to egress (albeit only with clsact).
[1] https://lore.kernel.org/netdev/674b8cbfc385c6f37fb29a1de08d8fe5c2b0fbee.1771321118.git.pabeni@redhat.com/ [2] https://lore.kernel.org/netdev/[email protected]/
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0 (+5 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | Released |
34 kernels
|
| AlmaLinux 8 | Released |
105 kernels
|
| AlmaLinux 9 | Released |
80 kernels
|
| AlmaLinux 9.2 ESU | Planned | — |
| AlmaLinux 9.6 ESU | Released |
8 kernels
|
| Amazon Linux 2023 | Planned | — |
| CentOS 8 | Released |
21 kernels
|
| CloudLinux OS 7h | Released |
102 kernels
|
| CloudLinux OS 8 | Released |
99 kernels
|
| Debian 12 | Released |
25 kernels
|
| Debian 13 | Planned | — |
| Oracle Linux 10 | Released |
33 kernels
|
| Oracle Linux 8 | Released |
115 kernels
|
| Oracle Linux 8 UEK 7 | Released |
64 kernels
|
| Oracle Linux 9 | Released |
81 kernels
|
| Oracle Linux 9 UEK 7 | Released |
64 kernels
|
| RHEL 10 | Released |
35 kernels
|
| RHEL 8 | Released |
110 kernels
|
| RHEL 9 | Released |
81 kernels
|
| Rocky Linux 10 | Released |
25 kernels
|
| Rocky Linux 8 | Released |
88 kernels
|
| Rocky Linux 9 | Released |
65 kernels
|
| Ubuntu 22.04 | Planned | — |
| Ubuntu 24.04 | Planned | — |