Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: net: gue: reject invalid REMCSUM offsets The REMCSUM option carries an absolute checksum start and checksum field offset. gue_remcsum() passes them to skb_remcsum_process(), whose partial path stores offset - start in the u16 skb->csum_offset variable. If offset is less than start, this underflows. A forwarded packet can retain CHECKSUM_PARTIAL and reach a NETIF_F_HW_CSUM driver which trusts the metadata, leading skb_copy_and_csum_dev() to write two bytes about 64 KiB beyond the destination buffer. Reject reversed tuples in validate_gue_flags(), after the existing length validation, so all GUE parsers enforce the ordering in one place.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected fe881ef11cf0220f118816181930494d484c4883 before 4b9bc21b2396c396d88dd909caaf73d5be6ff593; affected fe881ef11cf0220f118816181930494d484c4883 before 43efb1f997e976f386aa89716f55870cd2cff9ad; affected fe881ef11cf0220f118816181930494d484c4883 before 1eeec0c51fd5598da44080ed96bbd9880021c28b; affected fe881ef11cf0220f118816181930494d484c4883 before 1d664be4ca49d1696e85239236f4988dfc4653c3; affected fe881ef11cf0220f118816181930494d484c4883 before 97f907203321eee2cc9132d5c9eb47698fb41d35; affected fe881ef11cf0220f118816181930494d484c4883 before 40aeafbcbc7bc4018e8f74bbbb4d29ed8846f57f; affected fe881ef11cf0220f118816181930494d484c4883 before c20f755338ca234e523dfc943719f194dfc1f903; affected fe881ef11cf0220f118816181930494d484c4883 before 2566866fc30965d915d0b52b5c3323b362619f0e |
| Linux / Linux | affected 4.0; unaffected 0 before 4.0; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.55 through 6.18.*; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4b9bc21b2396c396d88dd909caaf73d5be6ff593
- https://git.kernel.org/stable/c/43efb1f997e976f386aa89716f55870cd2cff9ad
- https://git.kernel.org/stable/c/1eeec0c51fd5598da44080ed96bbd9880021c28b
- https://git.kernel.org/stable/c/1d664be4ca49d1696e85239236f4988dfc4653c3
- https://git.kernel.org/stable/c/97f907203321eee2cc9132d5c9eb47698fb41d35
- https://git.kernel.org/stable/c/40aeafbcbc7bc4018e8f74bbbb4d29ed8846f57f
- https://git.kernel.org/stable/c/c20f755338ca234e523dfc943719f194dfc1f903
- https://git.kernel.org/stable/c/2566866fc30965d915d0b52b5c3323b362619f0e