[PATCH v5.10 0/2] v5.10 backports for CVE-2023-52447