The issue was addressed with improved bounds checks. This issue is fixed in tvOS 16.1, iOS 15.7.1 and iPadOS 15.7.1, macOS Ventura 13, watchOS 9.1, iOS 16.1 and iPadOS 16. An app with root privileges may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/en-us/HT213490
https://support.apple.com/en-us/HT213489
https://support.apple.com/en-us/HT213492