Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_connmark: reject invalid shift parameters Revision 2 of the CONNMARK target accepts user-controlled shift parameters and applies them to 32-bit mark values in connmark_tg_shift(). A shift_bits value of 32 or more triggers an undefined-shift bug when the rule is evaluated. Invalid shift_dir values are also accepted and silently fall back to the left-shift path. Reject invalid revision-2 shift parameters in connmark_tg_check() so malformed rules fail at installation time, before they can reach the packet path.
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
472a73e00757b971d613d796374d2727b2e4954d to < d8ce63d928b457fba7ed1e302492dfd32293671caffected472a73e00757b971d613d796374d2727b2e4954d to < 9657bb11a6376ab0a79f05d433713d6944111e9daffected472a73e00757b971d613d796374d2727b2e4954d to < 8ace320ac4416f5e5fbcd065309fb2dfcce787b0affected472a73e00757b971d613d796374d2727b2e4954d to < c3fa852d117b3fda72265e4230e3967db4a74fcfaffected472a73e00757b971d613d796374d2727b2e4954d to < 4eef84b09a3836919360c4232b0f16651a155eecaffected472a73e00757b971d613d796374d2727b2e4954d to < 230173cc6105bdfb2696d37e6e56687b003fbe63affected472a73e00757b971d613d796374d2727b2e4954d to < 1b47026fb4b35bac850ad6e8a4ad7fc018e09ebcaffected
Linux Linux
Default version status: affected
4.17affected0 to < 4.17unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/d8ce63d928b457fba7ed1e302492dfd32293671c ↗
- https://git.kernel.org/stable/c/9657bb11a6376ab0a79f05d433713d6944111e9d ↗
- https://git.kernel.org/stable/c/8ace320ac4416f5e5fbcd065309fb2dfcce787b0 ↗
- https://git.kernel.org/stable/c/c3fa852d117b3fda72265e4230e3967db4a74fcf ↗
- https://git.kernel.org/stable/c/4eef84b09a3836919360c4232b0f16651a155eec ↗
- https://git.kernel.org/stable/c/230173cc6105bdfb2696d37e6e56687b003fbe63 ↗
- https://git.kernel.org/stable/c/1b47026fb4b35bac850ad6e8a4ad7fc018e09ebc ↗