Description
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/cc6bfb4a-4a2b-42d8-b9ce-7ef6644fb22b@ovn.org/
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
172ba7d46c202e679f3ccb10264c67416aaeb1c4 to < bc4e5bb529823a09f02dbe96169de679a9db26e0affected0b5b831122fc3789fff75be433ba3e4dd7b779d4 to < fb3c380a54e33d1fd272cc342faa906d787d7ef1affected73f7da5fd124f2cda9161e2e46114915e6e82e97 to < 5a110ddcc99bda77a28598b3555fe009eaab3828affected3f14b377d01d8357eba032b4cabc8c1149b458b6 to < 524ce8b4ea8f64900b6c52b6a28df74f6bc0801eaffected3f14b377d01d8357eba032b4cabc8c1149b458b6 to < 380ad8b7c65ea7aa10ef2258297079ed5ac1f5b6affected3f14b377d01d8357eba032b4cabc8c1149b458b6 to < 9deda0fcda5c1f388c5e279541850b71a2ccfcf4affected3f14b377d01d8357eba032b4cabc8c1149b458b6 to < 11cb63b0d1a0685e0831ae3c77223e002ef18189affectedf5346df0591d10bc948761ca854b1fae6d2ef441affected5.15.148 to < 5.15.203affected6.1.75 to < 6.1.167affected6.6.14 to < 6.6.130affected6.7.2 to < 6.8affected
Linux Linux
Default version status: affected
6.8affected0 to < 6.8unaffected5.15.203 to ≤ 5.15.*unaffected6.1.167 to ≤ 6.1.*unaffected6.6.130 to ≤ 6.6.*unaffected6.12.77 to ≤ 6.12.*unaffected6.18.18 to ≤ 6.18.*unaffected6.19.8 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/bc4e5bb529823a09f02dbe96169de679a9db26e0 ↗
- https://git.kernel.org/stable/c/fb3c380a54e33d1fd272cc342faa906d787d7ef1 ↗
- https://git.kernel.org/stable/c/5a110ddcc99bda77a28598b3555fe009eaab3828 ↗
- https://git.kernel.org/stable/c/524ce8b4ea8f64900b6c52b6a28df74f6bc0801e ↗
- https://git.kernel.org/stable/c/380ad8b7c65ea7aa10ef2258297079ed5ac1f5b6 ↗
- https://git.kernel.org/stable/c/9deda0fcda5c1f388c5e279541850b71a2ccfcf4 ↗
- https://git.kernel.org/stable/c/11cb63b0d1a0685e0831ae3c77223e002ef18189 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗