netfilter: xt_connmark: reject invalid shift parameters
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d8ce63d928b457fba7ed1e302492dfd32293671c, Kernel 1b47026fb4b35bac850ad6e8a4ad7fc018e09ebc, Kernel 230173cc6105bdfb2696d37e6e56687b003fbe63 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=472a73e00757b971d613d796374d2727b2e4954d <d8ce63d928b457fba7ed1e302492dfd32293671c, >=472a73e00757b971d613d796374d2727b2e4954d <1b47026fb4b35bac850ad6e8a4ad7fc018e09ebc, >=472a73e00757b971d613d796374d2727b2e4954d <230173cc6105bdfb2696d37e6e56687b003fbe63, >=472a73e00757b971d613d796374d2727b2e4954d <4eef84b09a3836919360c4232b0f16651a155eec, >=472a73e00757b971d613d796374d2727b2e4954d <8ace320ac4416f5e5fbcd065309fb2dfcce787b0, >=472a73e00757b971d613d796374d2727b2e4954d <9657bb11a6376ab0a79f05d433713d6944111e9d, >=472a73e00757b971d613d796374d2727b2e4954d <c3fa852d117b3fda72265e4230e3967db4a74fcf, =4.17 | d8ce63d928b457fba7ed1e302492dfd32293671c, 1b47026fb4b35bac850ad6e8a4ad7fc018e09ebc, 230173cc6105bdfb2696d37e6e56687b003fbe63, 4eef84b09a3836919360c4232b0f16651a155eec, 8ace320ac4416f5e5fbcd065309fb2dfcce787b0, 9657bb11a6376ab0a79f05d433713d6944111e9d, c3fa852d117b3fda72265e4230e3967db4a74fcf |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.17.0 <5.15.212 | 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.15.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket