netfilter: xt_u32: reject invalid shift counts
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cce42014415cecd98aa49b3950e7b02ee7c81268, Kernel 00d034fe8230dfc5832fe011ff2d81c1a2cc7a29, Kernel 0a8b7a6d763775709c601f584e709ae48bcc000a and 12 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_u32: reject invalid shift counts u32_match_it() executes rule-supplied shift operands on a 32-bit value. A malformed u32 rule can provide a shift count of 32 or more, triggering an undefined shift out-of-bounds during packet evaluation. Validate XT_U32_LEFTSH and XT_U32_RIGHTSH operands in u32_mt_checkentry() and reject malformed rules before they reach the packet path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <cce42014415cecd98aa49b3950e7b02ee7c81268, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <00d034fe8230dfc5832fe011ff2d81c1a2cc7a29, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <0a8b7a6d763775709c601f584e709ae48bcc000a, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <64cdf7d30ac18e43df6c48004435febb965809a8, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <728f479dc0447ae7eaef87926ff49142e415a811, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <a597a722fb71a534138c20359b655726622b5f17, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <b33b44250d57ab0e5a1e2571b5285fb0d0a7f382, >=1b50b8a371e90a5e110f466e4ac02cf6b5f681de <ca7c92d9701249e6daf132087756a88cbf2bb2a3, =2.6.23 | cce42014415cecd98aa49b3950e7b02ee7c81268, 00d034fe8230dfc5832fe011ff2d81c1a2cc7a29, 0a8b7a6d763775709c601f584e709ae48bcc000a, 64cdf7d30ac18e43df6c48004435febb965809a8, 728f479dc0447ae7eaef87926ff49142e415a811, a597a722fb71a534138c20359b655726622b5f17, b33b44250d57ab0e5a1e2571b5285fb0d0a7f382, ca7c92d9701249e6daf132087756a88cbf2bb2a3 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=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, >=2.6.23 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket