# Jamf Threat Labs: ARM MTE / Apple MIE Reveals iOS Kernel Networking Use-After-Free Race Condition (iPhone 17 Pro, iOS 26.4)

> Jamf Threat Labs (Nir Avraham, Hu Ke) reported a kernel panic on an iPhone 17 Pro running iOS 26.4 that Apple's Memory Integrity Enforcement (built on Enhanced MTE) caught as a tag check fault. The cause is a two-thread race condition leading to a use-after-free in an unnamed kernel networking subsystem. No CVE is assigned, no in-the-wild exploitation is reported, and the researchers' PoC is withheld for responsible disclosure.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-03T00:47:48Z
- **Last updated:** 2026-12-03T00:47:48Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7340
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7340.png
- **ID:** TL-2026-7340
- **Severity:** LOW
- **Category:** VULNERABILITY
- **Status:** MONITORING
- **Detections:** 9 (1 shown free below) · **IOCs:** 10

## Description

On 2026-06-10 Jamf Threat Labs published 'MTE as a microscope', describing how hardware memory tagging exposes memory-safety bugs that are otherwise silent. The post reports a kernel panic observed on an iPhone 17 Pro running iOS 26.4. The authors say the signal had been appearing in their crash-log pipeline 'in recent months' before publication. The affected component is a kernel networking subsystem that manages per-process network policy objects. The article deliberately does not name the subsystem or functions, citing responsible disclosure.

Root cause per the article: a two-thread race condition. Lock A is a reader-writer lock protecting a global registry (a tree of all active policy objects). Lock B is a per-object mutex protecting object state. The two locks cannot be safely nested because different code paths take them in reverse order, so code must release Lock A before taking Lock B, leaving an unprotected window. The vulnerable function looks up an object under Lock A, releases it, then operates on it under Lock B, assuming the object cannot be freed in between. Cleanup code (triggered when a process closes a file descriptor or exits) removes the object from the tree and calls kfree while holding the per-client mutex. Thread B's write lock on the registry causes Thread A to block on the mutex while Thread B frees the memory, leaving Thread A with a stale pointer.

Panic evidence: the fault is a synchronous tag check fault rather than a generic data abort. The stale pointer carried tag 0xF6 (allocation-time tag) while the expected tag was 0xF7 (written by kfree). The link register decodes to a return address in lck_mtx_lock_contended, and the thread carried the TH_SFLAG_RW_PROMOTED flag, indicating priority promotion from reader-writer lock contention. Without MTE, the zone allocator zeroes freed memory, the stale read returns 0x00000000, the code path tolerates it, and nothing crashes or is logged, yet the bug still occurs.

Proof of concept: per the article the authors built a PoC that runs from a sandboxed app, triggers qualification from a content filter and rapidly destroys objects; it is expected to panic on MTE-enabled devices. It has not been published. Corellium does not emulate MTE/MIE, so the bug is silent there.

Context: Apple announced Memory Integrity Enforcement (MIE) on 2025-09-09 with the iPhone 17 lineup and iPhone Air (A19/A19 Pro). MIE combines secure typed allocators (kalloc_type, xzone malloc, libpas), Enhanced MTE (EMTE, FEAT_MTE4) in synchronous mode, and Tag Confidentiality Enforcement (TCE) against speculative side channels such as TikTag. Apple states its internal evaluation of six real-world exploit chains found MIE disrupts each of them at some step (Apple's own claim, not independent). A MIE-capable device is needed to observe this class of bug; older devices lack EMTE.

Assessment and caveats: the source reports no CVE, CVSS, threat actor, in-the-wild exploitation, public PoC, patch status or Apple acknowledgment. Apple's iOS 26.4 (2026-03-24) and iOS 26.6 (2026-07-27) security-content pages list several kernel use-after-free and race-condition CVEs, but none credit Jamf, Nir Avraham or Hu Ke, so no CVE can be linked to this finding. Impact on a non-MTE device is unknown; on A19 devices the demonstrated effect is a kernel panic (denial of service). The MITRE mappings below are class-of-bug mappings (kernel memory-safety flaw reachable from a sandboxed app), not observed adversary behavior. Defender guidance from the article: instrument crash-log pipelines to flag tag check faults, use physical MTE-enabled devices for validation, and treat MTE crashes in C/C++ app code as latent bugs.

## MITRE ATT&CK

- T1404 Exploitation for Privilege Escalation
- T1499.004 Application or System Exploitation
- T1203 Exploitation for Client Execution
- T1211 Exploitation for Stealth

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**TL-2026-7340 iOS Kernel Panic With MTE Synchronous Tag Check Fault (Networking UAF Race) - Exploitation Phase** (`TL-2026-7340-SPL-001`)

Flags iOS kernel panic logs containing a synchronous MTE/EMTE tag check fault, the signature Jamf Threat Labs reported for the unnamed kernel networking use-after-free race (CWE-416/CWE-362) on iPhone 17 Pro / iOS 26.4. Each hit is scored for the two-thread race markers named in the research: lck_mtx_lock_contended in the link register, TH_SFLAG_RW_PROMOTED on the faulting thread, and kfree in the stack. No CVE, patch or in-the-wild exploitation is reported, so a hit means a latent kernel memory-safety bug or an exploitation attempt on a MIE device, not a confirmed compromise. Requires crash/panic logs from A19-class devices (iPhone 17 series, iPhone Air) ingested into Splunk.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1404, T1068, T1203
- **Data sources:** ios_panic_logs (index=mobile_crash, sourcetype=ios:panic:log), IOSPanicLog_CL (Sentinel custom table), MDM/crash-log pipeline
- **Severity:** medium
- **Confidence:** medium

### Splunk SPL

```spl
index=mobile_crash sourcetype="ios:panic:log" earliest=-24h ("tag check fault" OR "Synchronous Tag Check" OR "tag_check_fault" OR "TagCheckFault")
| eval lck_mtx_contended=if(match(_raw,"lck_mtx_lock_contended"),1,0), rw_promoted=if(match(_raw,"TH_SFLAG_RW_PROMOTED"),1,0), kfree_in_stack=if(match(_raw,"kfree"),1,0)
| eval race_uaf_score=lck_mtx_contended+rw_promoted+kfree_in_stack
| stats count AS tag_fault_panics min(_time) AS first_seen max(_time) AS last_seen max(race_uaf_score) AS race_uaf_score values(os_version) AS os_version values(device_model) AS device_model BY host, device_id
| eval first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T")
| sort -race_uaf_score, -tag_fault_panics
```

### Microsoft KQL

```kql
IOSPanicLog_CL
| where TimeGenerated > ago(24h)
| where PanicString_s has_any ("tag check fault", "Synchronous Tag Check", "tag_check_fault", "TagCheckFault")
| extend LckMtxContended = PanicString_s has "lck_mtx_lock_contended", RwPromoted = PanicString_s has "TH_SFLAG_RW_PROMOTED", KfreeInStack = PanicString_s has "kfree"
| extend RaceUafScore = toint(LckMtxContended) + toint(RwPromoted) + toint(KfreeInStack)
| summarize TagFaultPanics = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), RaceUafScore = max(RaceUafScore) by DeviceId_s, DeviceName_s, DeviceModel_s, OSVersion_s
| order by RaceUafScore desc, TagFaultPanics desc
```

### Sigma

```yaml
title: iOS Kernel Panic With MTE Synchronous Tag Check Fault (TL-2026-7340)
id: 7b1d6c52-3e0a-4f6e-9a41-5c2f8d90a1b3
status: experimental
description: Detects an iOS panic log containing a synchronous Memory Tagging Extension tag check fault, as reported by Jamf Threat Labs for a kernel networking use-after-free race on iPhone 17 Pro / iOS 26.4 (no CVE assigned). Requires panic logs from MIE-capable A19 devices. Uses a custom logsource (ios/panic_log).
references:
  - https://www.jamf.com/blog/arm-mte-apple-mie-memory-safety-ios-kernel-vulnerability-research/
  - https://security.apple.com/blog/memory-integrity-enforcement/
author: Threadlinqs Team
date: 2026-12-03
tags:
  - attack.privilege-escalation
  - attack.t1404
  - attack.t1068
  - attack.execution
  - attack.t1203
logsource:
  product: ios
  service: panic_log
detection:
  selection:
    panic_string|contains:
      - 'tag check fault'
      - 'Synchronous Tag Check'
      - 'tag_check_fault'
      - 'TagCheckFault'
  condition: selection
falsepositives:
  - Memory-safety bug in a first- or third-party C/C++ component (non-malicious latent bug)
  - Developer or QA devices running MTE-enabled test builds
level: medium
```

**Known false positives:**

- Non-malicious memory-safety bugs in Apple or third-party C/C++ code that MTE surfaces as tag check faults
- Developer/QA devices intentionally running MTE-enabled app builds

**Tuning notes:** The index, sourcetype and field names (device_id, device_model, os_version) are assumptions for a crash-log pipeline; map them to your actual MDM/panic-log ingestion. Verify the exact tag-check-fault wording against a real A19 panic log and add it to the term list. Exclude known developer/QA device IDs. Race-marker symbols only appear if panics are symbolicated; a score of 0 is still a valid hit.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- TL-2026-7340 Tag Check Fault Panic With Lock-Contention Race Markers - Exploitation Phase (locked: unlock with TL Creds)
- TL-2026-7340 Kernel Panic Loop Containing A Tag Check Fault - Post-Exploitation / DoS (locked: unlock with TL Creds)
- TL-2026-7340 Tag Check Fault Panics Across Multiple Devices Sharing A Third-Party Panicked Process - Fleet Spread (locked: unlock with TL Creds)
- TL-2026-7340 Kernel Data Abort With Synchronous Tag Check Fault ESR Code - Exploitation Phase (locked: unlock with TL Creds)
- TL-2026-7340 Tag Check Fault Panic Attributed To A Sandboxed App Bundle - Post-Exploitation / Native API Trigger (locked: unlock with TL Creds)
- TL-2026-7340 A19 iPhones On iOS 26.0-26.5 (Pre-26.6, Fix Unconfirmed) - Exposure Inventory (locked: unlock with TL Creds)
- TL-2026-7340 Repeated MTE Tag Check Fault Panics On One iOS Device - Post-Exploitation / Race Retry (locked: unlock with TL Creds)
- TL-2026-7340 A19 iPhones Running iOS 26.4 (Observed Vulnerable Build) - Exposure Inventory (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [MTE as a microscope - ARM MTE & Apple MIE: How Hardware Memory Tagging Reveals Invisible iOS Kernel Vulnerabilities (Jamf Threat Labs)](https://www.jamf.com/blog/arm-mte-apple-mie-memory-safety-ios-kernel-vulnerability-research/)
- [Memory Integrity Enforcement: A complete vision for memory safety in Apple devices (Apple Security Research)](https://security.apple.com/blog/memory-integrity-enforcement/)
- [About the security content of iOS 26.4 and iPadOS 26.4](https://support.apple.com/126792)
- [About the security content of iOS 26.6 and iPadOS 26.6](https://support.apple.com/128066)
- [TikTag: Breaking ARM's Memory Tagging Extension with Speculative Execution](https://arxiv.org/pdf/2406.08719)
- [TikTag PoC repository (compsec-snu)](https://github.com/compsec-snu/tiktag)
- [The Register: Arm memory tag extensions leak (TikTag coverage)](https://www.theregister.com/2024/06/18/arm_memory_tag_extensions_leak/)
- [Armv8.5-A Memory Tagging Extension White Paper (Arm)](https://documentation-service.arm.com/static/624ea580caabfd7b3c13e23f)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7340
