Re: [PATCH 3/6] net: (actually/better) deal with CVE-2022-{30790, 30552}

18 Oct
2022
18 Oct
'22
6:41 p.m.
I found this problem while porting a security patch to my uboot. I've created a PoC exploit which can hang uboot during ping command (even with commit b85d130ea0cac152c21ec38ac9417b31d41b5552). In my case changing:
if (ip->ip_len < IP_MIN_FRAG_DATAGRAM_SIZE)
to:
if (ntohs(ip->ip_len) < IP_MIN_FRAG_DATAGRAM_SIZE)
solved the problem. But now I can see it's a bigger issue.
Tomorrow I will check these patches with my exploit.
942
Age (days ago)
942
Last active (days ago)
0 comments
1 participants
participants (1)
-
Artur Łącki