lkml.org 
[lkml]   [2021]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: KMSAN: kernel-infoleak in move_addr_to_user (4)
    From
    Date


    On 12.01.21 01:17, Cong Wang wrote:
    > On Mon, Jan 11, 2021 at 11:33 AM Jakub Kicinski <kuba@kernel.org> wrote:
    >>
    >> Looks like a AF_CAN socket:
    >>
    >> r0 = socket(0x1d, 0x2, 0x6)
    >> getsockname$packet(r0, &(0x7f0000000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000000)=0x14)
    >>
    >
    > Right, it seems we need a memset(0) in isotp_getname().

    Yes m(

    Sent a patch to fix it:

    https://lore.kernel.org/linux-can/20210112090457.11262-1-socketcan@hartkopp.net/T/#u

    Many thanks!

    Oliver

    \
     
     \ /
      Last update: 2021-01-12 10:20    [W:3.155 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site