A logic issue was addressed with improved state management. This issue is fixed in iOS 15.6 and iPadOS 15.6, macOS Big Sur 11.6.8, watchOS 8.7, tvOS 15.6, macOS Monterey 12.5, Security Update 2022-005 Catalina. An app may be able to gain root privileges.
https://support.apple.com/en-us/HT213346
https://support.apple.com/en-us/HT213345
https://support.apple.com/en-us/HT213344
https://support.apple.com/en-us/HT213343