[PATCH v3 5.10 0/2] net: Backport to fix CVE-2024-56658