Re: AW: PROBLEM: Kernel Oops in UDP stack

From: Eric Dumazet
Date: Wed Aug 01 2018 - 06:20:29 EST




On 07/31/2018 10:55 PM, Marcel Hellwig wrote:
>
> [<c0228adc>] (udp_recvmsg+0x284/0x33c) from [<c02306e0>] (inet_recvmsg+0x38/0x4c): net/ipv4/udp.c:1234


sin->sin_addr.s_addr = ip_hdr(skb)->saddr;

Unaligned access trap (virtual address c14fe63a), so either sin or ip_hdr(skb) are not on a 32bit alignment

Can you produce the disassembly of the trapping instruction ?

(Is is a read at address c14fe63a, or a write ...)

Thanks.