Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 19 Jul 2017 10:30:43 +0200
From: Mathias Krause <minipli@...glemail.com>
To: Cleric John Preston <Cleric.John.Preston@...tonmail.com>
Cc: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>, 
	"keescook@...omium.org" <keescook@...omium.org>, 
	"torvalds@...ux-foundation.org" <torvalds@...ux-foundation.org>, 
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>, 
	"kernel-hardening@...ts.openwall.com" <kernel-hardening@...ts.openwall.com>
Subject: Re: Re : Re: Re : Re: Compilation error and
 probable exploit

On 19 July 2017 at 08:23, Cleric John Preston
<Cleric.John.Preston@...tonmail.com> wrote:
> OK but otherwise
>
> linux-4.13-rc1$ grep "warning:" file | grep "uninitialized"
> drivers/net/wireless/wl3501_cs.c:665:9: warning: ‘sig.status’ is used uninitialized in this function [-Wuninitialized]
> drivers/net/wireless/wl3501_cs.c:668:12: warning: ‘sig.cap_info’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> drivers/net/wireless/wl3501_cs.c:670:12: warning: ‘sig.cap_info’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> ./include/linux/etherdevice.h:321:39: warning: ‘*((void *)&sig+29)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> ./include/linux/etherdevice.h:322:38: warning: ‘*((void *)&sig+33)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> drivers/net/wireless/wl3501_cs.c:677:46: warning: ‘sig.ssid.el.len’ may be used uninitialized in this function [-Wmaybe-uninitialized]

False positive from what I can tell as gcc apparently cannot deduce
that the insb() in wl3501_get_from_wla() will fill 'sig' completely,
i.e. will initialize it.

Cheers,
Mathias

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.