[Devel] [PATCH hci-8.1] ms/ipv4: validate checksum_start before completing checksum

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Sat Oct 17 00:13:34 MSK 2026


> From: "Michael S. Tsirkin" <mst at redhat.com>
> 
> commit 6785011f8b16abf40b1e9d8b2e332232b3e68822 upstream.
> 
> If a packet with bad checksum metadata gets into the ipv4 stack,
> skb_checksum_help can corrupt the network header and cause a bunch of
> mischief.
> 
> This was discovered and reported by Paulos, and has been reporoduced
> by others independently since.
> 
> We really shouldn't allow such packets in, but as a defence
> in depth measure, let's also check before we complete the checksum.
> 
> A more complete validation at input is forthcoming, but needs more work.
> [ ... ]
> https://virtuozzo.atlassian.net/browse/VSTOR-150637
> 
> Feature: fix ms/net
> Assisted-by: LLM
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261016-cve-v1-1-d244f4c79d4c@virtuozzo.com?part=1




More information about the Devel mailing list