ipc_kmsg_get_from_kernel, iOS 15.4 - root cause analysis
A fairly trivial OOB write in the XNU kernel that was introduced in an iOS 15.0 beta and patched in iOS 15.4.It seems ipc_kmsg_get_from_user()
in conjunction with pre-allocated kmsgs (via mktimer
) can receive sizes that are larger than the pre-allocated buffer…