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: <172495264059.385951.16283879496455820047.b4-ty@kernel.org>
Date: Thu, 29 Aug 2024 23:00:40 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Amelie Delaunay <amelie.delaunay@...s.st.com>, 
 Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, Dave Jiang <dave.jiang@...el.com>, 
 Yajun Deng <yajun.deng@...ux.dev>, dmaengine@...r.kernel.org, 
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: avoid non-constant format string


On Fri, 19 Jul 2024 12:23:12 +0200, Arnd Bergmann wrote:
> Using an arbitrary string as a printf-style format can be a security
> problem if that string contains % characters, as the optionalal
> -Wformat-security flag points out:
> 
> drivers/dma/dmaengine.c: In function '__dma_async_device_channel_register':
> drivers/dma/dmaengine.c:1073:17: error: format not a string literal and no format arguments [-Werror=format-security]
>  1073 |                 dev_set_name(&chan->dev->device, name);
>       |                 ^~~~~~~~~~~~
> 
> [...]

Applied, thanks!

[1/1] dmaengine: avoid non-constant format string
      commit: ae04342b5264fcf90a288a984a69ffb9e93904a7

Best regards,
-- 
~Vinod



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ