Skip to content

Use the DSC base for vm_protect shenanigans#2730

Merged
saagarjha merged 1 commit intoish-app:masterfrom
saagarjha:master
May 3, 2026
Merged

Use the DSC base for vm_protect shenanigans#2730
saagarjha merged 1 commit intoish-app:masterfrom
saagarjha:master

Conversation

@saagarjha
Copy link
Copy Markdown
Member

On more recent versions of iOS the second call to vm_protect will fail, leaving a page of the shared cache text as PROT_READ and causing crashes later. This is to my understanding incorrect but we can just not do that to work around the bug. Filed as FB22686058.

On more recent versions of iOS the second call to vm_protect will fail,
leaving a page of the shared cache text as PROT_READ and causing crashes
later. This is to my understanding incorrect but we can just not do that
to work around the bug. Filed as FB22686058.
@saagarjha saagarjha merged commit f216f6a into ish-app:master May 3, 2026
6 checks passed
emkey1 pushed a commit to emkey1/ish-AOK that referenced this pull request May 3, 2026
Apply the upstream iOS shared-cache vm_protect workaround from ish-app#2730. Recent iOS versions can fail the second protection change, leaving shared-cache text read-only; touching the shared cache base and not restoring execute avoids that path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant