net/sched: act_gate: snapshot parameters with RCU on replace
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a51c328df3106663879645680609eb49b3ff6444 · < 58b162e318d0243ad2d7d92456c0873f2494c351| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/sched: act_gate: snapshot parameters with RCU on replace
The gate action can be replaced while the hrtimer callback or dump path is walking the schedule list.
Convert the parameters to an RCU-protected snapshot and swap updates under tcf_lock, freeing the previous snapshot via call_rcu(). When REPLACE omits the entry list, preserve the existing schedule so the effective state is unchanged.
From the CVE record · Linux
The Linux kernel gate action can be replaced while its timer callback or dump path walks the schedule list. Concurrent replacement can therefore affect schedule traversal. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the net/sched act_gate component should check their versions; affected versions were not provided.