Skip to content

[-] writev failed. nBytesWritten: 0x1000, expected: 0x2000 #12

@llllIIIllll

Description

@llllIIIllll
> 1|generic_x86_64:/data/local/tmp $ ./cve-2019-2215-exploit                                                     
> [+] Binding to 0th core
> [+] Opening: /dev/binder
> 	[*] m_binder_fd: 0x3
> [+] Creating event poll
> 	[*] m_epoll_fd: 0x4
> [+] Setting up pipe
> 	[*] Pipe created successfully
> 	[*] Changed the pipe capacity to: 0x1000
> [+] Setting up iovecs
> [+] Mapping 4GB aligned page
> 	[*] Mapped page: 0x100000000
> [+] Linking eppoll_entry->wait.entry to binder_thread->wait.head
> [+] Freeing binder_thread
> [+] Un-linking eppoll_entry->wait.entry from binder_thread->wait.head
> 	[-] writev failed. nBytesWritten: 0x1000, expected: 0x2000
> 1|generic_x86_64:/data/local/tmp $ uname -a                                                                    
> Linux localhost 4.14.150+ #1 SMP PREEMPT Wed Sep 6 22:18:47 JST 2023 x86_64

Hi,
It seem to failed,how to solve it?

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