lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQAUfocUT08U99hWoKPM2F=J-F+Ph1Xeb49k1YinN8sTw@mail.gmail.com>
Date: Tue, 3 Dec 2024 17:01:50 -0500
From: Paul Moore <paul@...l-moore.com>
To: Yafang Shao <laoar.shao@...il.com>
Cc: "Zhuo, Qiuxu" <qiuxu.zhuo@...el.com>, Kees Cook <keescook@...omium.org>, 
	Eric Paris <eparis@...hat.com>, "audit@...r.kernel.org" <audit@...r.kernel.org>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, linux-hardening@...r.kernel.org
Subject: Re: v6.13-rc1 build errors from kernel/auditsc.c

On Mon, Dec 2, 2024 at 11:04 PM Yafang Shao <laoar.shao@...il.com> wrote:
>
> On Tue, Dec 3, 2024 at 11:35 AM Paul Moore <paul@...l-moore.com> wrote:
> >
> > On Mon, Dec 2, 2024 at 10:19 PM Zhuo, Qiuxu <qiuxu.zhuo@...el.com> wrote:
> > >
> > > Hi,
> > >
> > > I got the following build errors from kernel/auditsc.c file.
> > >
> > > The GCC version      : 7.5.0
> > > Kernel version         : v6.13-rc1
> > > The bisect commit : 286d7a54c8a2 ("auditsc: replace memcpy() with strscpy()")
> >
> > Unfortunately this is a known GCC bug, see the lore link below.  Kees,
> > Yafang, do you have any more information or compiler-based workarounds
> > for this bug?
> >
> > https://lore.kernel.org/all/CALOAHbBB-__eyERw82QnS3Wmgi7_BpPaacY2urVmpWX3ZkVtvQ@mail.gmail.com/
>
> I'll prepare a patch based on Kees's changes soon. For now, let's
> implement a workaround.

To close the loop on this, the patch can be found here:

https://lore.kernel.org/audit/20241203060350.69472-1-laoar.shao@gmail.com/

-- 
paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ