netfilter: xt_connmark: reject invalid shift parameters
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 472a73e00757b971d613d796374d2727b2e4954d · fixed in d8ce63d928b457fba7ed1e302492dfd32293671c; From 472a73e00757b971d613d796374d2727b2e4954d · fixed in 9657bb11a6376ab0a79f05d433713d6944111e9d; From 472a73e00757b971d613d796374d2727b2e4954d · fixed in 8ace320ac4416f5e5fbcd065309fb2dfcce787b0; From 472a73e00757b971d613d796374d2727b2e4954d · fixed in c3fa852d117b3fda72265e4230e3967db4a74fcf; From 472a73e00757b971d613d796374d2727b2e4954d · fixed in 4eef84b09a3836919360c4232b0f16651a155eec; From 472a73e00757b971d613d796374d2727b2e4954d · fixed in 230173cc6105bdfb2696d37e6e56687b003fbe63; From 472a73e00757b971d613d796374d2727b2e4954d · fixed in 1b47026fb4b35bac850ad6e8a4ad7fc018e09ebc
- Linux Linux
4.17
- KernelLinux
From 4.17.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 7
git.kernel.org
- stable/c/d8ce63d928b457fba7ed1e302492dfd32293671c
- stable/c/9657bb11a6376ab0a79f05d433713d6944111e9d
- stable/c/8ace320ac4416f5e5fbcd065309fb2dfcce787b0
- stable/c/c3fa852d117b3fda72265e4230e3967db4a74fcf
- stable/c/4eef84b09a3836919360c4232b0f16651a155eec
- stable/c/230173cc6105bdfb2696d37e6e56687b003fbe63
- stable/c/1b47026fb4b35bac850ad6e8a4ad7fc018e09ebc