Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-10 Thread Paul Moore
On Fri, Mar 10, 2017 at 7:01 AM, Paul Moore wrote: > On Thu, Mar 9, 2017 at 2:12 AM, David Miller wrote: >> From: Alexander Potapenko >> Date: Mon, 6 Mar 2017 19:46:14 +0100 >> >>> KMSAN (KernelMemorySanitizer, a new error detection

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-10 Thread Paul Moore
On Fri, Mar 10, 2017 at 7:01 AM, Paul Moore wrote: > On Thu, Mar 9, 2017 at 2:12 AM, David Miller wrote: >> From: Alexander Potapenko >> Date: Mon, 6 Mar 2017 19:46:14 +0100 >> >>> KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of >>> uninitialized memory in

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-10 Thread Paul Moore
On Thu, Mar 9, 2017 at 2:12 AM, David Miller wrote: > From: Alexander Potapenko > Date: Mon, 6 Mar 2017 19:46:14 +0100 > >> KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of >> uninitialized memory in selinux_socket_bind(): > ...

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-10 Thread Paul Moore
On Thu, Mar 9, 2017 at 2:12 AM, David Miller wrote: > From: Alexander Potapenko > Date: Mon, 6 Mar 2017 19:46:14 +0100 > >> KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of >> uninitialized memory in selinux_socket_bind(): > ... >> (the line numbers are relative to

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-08 Thread David Miller
From: Alexander Potapenko Date: Mon, 6 Mar 2017 19:46:14 +0100 > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in selinux_socket_bind(): ... > (the line numbers are relative to 4.8-rc6, but the bug persists upstream) > > ,

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-08 Thread David Miller
From: Alexander Potapenko Date: Mon, 6 Mar 2017 19:46:14 +0100 > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in selinux_socket_bind(): ... > (the line numbers are relative to 4.8-rc6, but the bug persists upstream) > > , when I run the

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-06 Thread Eric Dumazet
On Mon, 2017-03-06 at 19:46 +0100, Alexander Potapenko wrote: > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in selinux_socket_bind(): > ... > Signed-off-by: Alexander Potapenko > --- > Changes since v1: > - fixed patch

Re: [PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-06 Thread Eric Dumazet
On Mon, 2017-03-06 at 19:46 +0100, Alexander Potapenko wrote: > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in selinux_socket_bind(): > ... > Signed-off-by: Alexander Potapenko > --- > Changes since v1: > - fixed patch description > - fixed

[PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-06 Thread Alexander Potapenko
KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of uninitialized memory in selinux_socket_bind(): == BUG: KMSAN: use of unitialized memory inter: 0 CPU: 3 PID: 1074 Comm: packet2 Tainted: GB

[PATCH v2] selinux: check for address length in selinux_socket_bind()

2017-03-06 Thread Alexander Potapenko
KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of uninitialized memory in selinux_socket_bind(): == BUG: KMSAN: use of unitialized memory inter: 0 CPU: 3 PID: 1074 Comm: packet2 Tainted: GB