Thursday, 14 May 2015

ozwpan driver - Remote packet-of-death vulnerabilities in Linux Kernel

"The ozwpan driver accepts network packets, parses them, and converts them into various USB functionality. There are numerous security vulnerabilities in the handling of these packets. Two of them result in a memcpy(kernel_buffer, network_packet, -length), one of them is a divide-by-zero, and one of them is a loop that decrements -1 until it's zero." [1]
1. A remote packet can be sent, resulting in funny subtractions of
signed integers, which causes a memcpy(kernel_heap, network_user_buffer, -network_user_provided_length).

There are two different conditions that can lead to this:

2. A remote packet can be sent, resulting in divide-by-zero in softirq, causing hard crash:

3. A remote packet can be sent, resulting in a funny subtraction, causing an insanely big loop to lock up the kernel:

4. Multiple out-of-bounds reads, resulting in possible information leakage, explained in the last paragraph of the introductory email here:

The above is a repost of this:

You may find more information about ozwpan here:


No comments:

Post a Comment