<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>298803</bug_id>
          
          <creation_ts>2025-09-12 16:38:43 -0700</creation_ts>
          <short_desc>[libpas] Implement primary support for MTE</short_desc>
          <delta_ts>2025-09-24 14:27:53 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>299465</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcus Plutowski">marcus_plutowski</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2142714</commentid>
    <comment_count>0</comment_count>
    <who name="Marcus Plutowski">marcus_plutowski</who>
    <bug_when>2025-09-12 16:38:43 -0700</bug_when>
    <thetext>rdar://160499929

As announced on September 9th, the SoCs used in the next generation of iPhones will include support for ARM&apos;S Memory Tagging Extension functionality. As part of Apple&apos;s MIE (Memory Integrity Enforcement) feature, libpas should implement support for MTE and related memory-safety functionality to ensure that WebKit is up to par with the new memory safety standards set by the rest of the system.
To do so, libpas should, when possible, allocate pages with backing MTE memory and, prior to returning allocations to the caller, tag them so that only valid pointers can access them (up to the standard probabilistic bound), as well as doing the necessary work to clean up tags and pre-empt certain attacker strategies with standard hardening measures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2142715</commentid>
    <comment_count>1</comment_count>
    <who name="Marcus Plutowski">marcus_plutowski</who>
    <bug_when>2025-09-12 16:51:21 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/50687</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145579</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-24 09:36:04 -0700</bug_when>
    <thetext>Committed 300469@main (d3acbe4f9624): &lt;https://commits.webkit.org/300469@main&gt;

Reviewed commits have been landed. Closing PR #50687 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145639</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2025-09-24 12:30:05 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 299465</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145716</commentid>
    <comment_count>4</comment_count>
    <who name="Marcus Plutowski">marcus_plutowski</who>
    <bug_when>2025-09-24 14:27:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/161273712&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145717</commentid>
    <comment_count>5</comment_count>
    <who name="Marcus Plutowski">marcus_plutowski</who>
    <bug_when>2025-09-24 14:27:53 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/51283</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>