Improper input validation in Settings prior to SMR-May-2022 Release 1 allows attackers to launch arbitrary activity with system privilege. The patch adds proper validation logic to check the caller.
https://security.samsungmobile.com/securityUpdate.smsb?year=2022&month=5