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] [thread-next>] [day] [month] [year] [list]
Message-Id: <176607399046.16637.3813737221857423754.b4-ty@kernel.org>
Date: Thu, 18 Dec 2025 17:06:30 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: David Laight <david.laight.linux@...il.com>, 
 Huisong Li <lihuisong@...wei.com>, Akira Shimahara <akira215corp@...il.com>, 
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
 Thorsten Blum <thorsten.blum@...ux.dev>
Cc: stable@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5] w1: therm: Fix off-by-one buffer overflow in
 alarms_store


On Tue, 16 Dec 2025 15:50:03 +0100, Thorsten Blum wrote:
> The sysfs buffer passed to alarms_store() is allocated with 'size + 1'
> bytes and a NUL terminator is appended. However, the 'size' argument
> does not account for this extra byte. The original code then allocated
> 'size' bytes and used strcpy() to copy 'buf', which always writes one
> byte past the allocated buffer since strcpy() copies until the NUL
> terminator at index 'size'.
> 
> [...]

Applied, thanks!

[1/1] w1: therm: Fix off-by-one buffer overflow in alarms_store
      https://git.kernel.org/krzk/linux-w1/c/761fcf46a1bd797bd32d23f3ea0141ffd437668a

Best regards,
-- 
Krzysztof Kozlowski <krzk@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ