<?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>223324</bug_id>
          
          <creation_ts>2021-03-16 23:39:07 -0700</creation_ts>
          <short_desc>memory leak</short_desc>
          <delta_ts>2023-11-02 12:13:17 -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>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xiaoyu He">1422930734</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>darin</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1740413</commentid>
    <comment_count>0</comment_count>
      <attachid>423440</attachid>
    <who name="Xiaoyu He">1422930734</who>
    <bug_when>2021-03-16 23:39:07 -0700</bug_when>
    <thetext>Created attachment 423440
poc

==3031==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1088 byte(s) in 6 object(s) allocated from:
    #0 0x4e0ee0  (/root/targets/targets/jsc_afl_asan18+0x4e0ee0)
    #1 0x695e87e  (/root/targets/targets/jsc_afl_asan18+0x695e87e)

SUMMARY: AddressSanitizer: 1088 byte(s) leaked in 6 allocation(s).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740414</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-16 23:39:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/75513657&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740994</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-03-17 18:44:14 -0700</bug_when>
    <thetext>What would make a memory leak become an exploitable security issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740998</commentid>
    <comment_count>3</comment_count>
    <who name="Xiaoyu He">1422930734</who>
    <bug_when>2021-03-17 18:59:03 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #2)
&gt; What would make a memory leak become an exploitable security issue?

A remote attacker with operation privilege could exploit the vulnerability by sending specific messages continuously. Successful exploit may cause some service abnormal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989479</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-11-02 12:13:17 -0700</bug_when>
    <thetext>WebKit is filled with memory leaks. The worst that&apos;s going to happen is an OOM kill. We don&apos;t track these as security bugs.

Your report from LeakSanitizer would be a lot more useful if you built with debuginfo enabled, so we can see what&apos;s going on. But the poc is sufficient for a bug report.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>423440</attachid>
            <date>2021-03-16 23:39:07 -0700</date>
            <delta_ts>2021-03-16 23:39:07 -0700</delta_ts>
            <desc>poc</desc>
            <filename>poc.js</filename>
            <type>text/javascript</type>
            <size>227</size>
            <attacher name="Xiaoyu He">1422930734</attacher>
            
              <data encoding="base64">ZnVuY3Rpb24gdjEoKXsKCSJBIi5yZXBsYWNlKCh7fSksICJDIik7Cn0KZm9yKHZhciB2MiA9IDA7
djIgPCAxMDAwMDt2MisrKXsKCQl2MSA9IHYxLmJpbmQoMSk7Cn0KZm9yKGxldCB2MCA9IDA7KHYw
KSA8IDIwMDA7KXsKCW5ldyB2MSgiIiwgIiIsIDVlLTMyNCwgMjAwMCk7CglmdW5jdGlvbiB2Nih2
MSl7CgkJcmV0dXJuIChNYXRoLnJvdW5kKCgxMCkgKiAoMTAwMCkpKSAvICgxMDAwKTsKCX0KfQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>