Linux
net/sched: sch_qfq: Fix race condition on qfq_aggregate
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: Fix race condition on qfq_aggregate A race condition can occur when 'agg' is modified in qfq_change_agg (called during qfq_enqueue) while other threads access it concurrently. For example, qfq_dump_class may trigger a NULL dereference, and qfq_delete_class may cause a use-after-free. This patch addresses the issue by: 1. Moved qfq_destroy_class into the critical section. 2. Added sch_tree_lock protection to qfq_dump_class and qfq_dump_class_stats.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < aa7a22c4d678bf649fd3a1d27debec583563414d
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < d841aa5518508ab195b6781ad0d73ee378d713dd
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < c6df794000147a3a02f79984aada4ce83f8d0a1e
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < 466e10194ab81caa2ee6a332d33ba16bcceeeba6
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < fbe48f06e64134dfeafa89ad23387f66ebca3527
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < a6d735100f602c830c16d69fb6d780eebd8c9ae1
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < c000a3a330d97f6c073ace5aa5faf94b9adb4b79
- >= 462dbc9101acd38e92eda93c0726857517a24bbd, < 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
Fixed in aa7a22c4d678bf649fd3a1d27debec583563414d, d841aa5518508ab195b6781ad0d73ee378d713dd, c6df794000147a3a02f79984aada4ce83f8d0a1e, 466e10194ab81caa2ee6a332d33ba16bcceeeba6, fbe48f06e64134dfeafa89ad23387f66ebca3527, a6d735100f602c830c16d69fb6d780eebd8c9ae1, c000a3a330d97f6c073ace5aa5faf94b9adb4b79, 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
- 3.8
Fixed in 0, 5.4.297, 5.10.241, 5.15.190, 6.1.147, 6.6.100, 6.12.40, 6.15.8, 6.16
Mitigation
Upgrade Linux to aa7a22c4d678bf649fd3a1d27debec583563414d or d841aa5518508ab195b6781ad0d73ee378d713dd or c6df794000147a3a02f79984aada4ce83f8d0a1e or 466e10194ab81caa2ee6a332d33ba16bcceeeba6 or fbe48f06e64134dfeafa89ad23387f66ebca3527 or a6d735100f602c830c16d69fb6d780eebd8c9ae1 or c000a3a330d97f6c073ace5aa5faf94b9adb4b79 or 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64 or later.
Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.147 or 6.6.100 or 6.12.40 or 6.15.8 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.