[PATCH 5.10.y 0/2] Backport fix of CVE-2024-47674 to 5.10