[PATCH v2 v5.15.y 0/2] Backporting the patches to fix CVE-2024-35966