Re: [PATCH][next] wifi: rtw89: coex: Fix -Wstringop-overflow warnings in _append_tdma()

2023-11-14 Thread Kalle Valo
"Gustavo A. R. Silva" writes: >> wireless-next has taken my patch [1] that is identical to yours. > > Great! > > I had mine ready on Oct 31, but I was waiting for the merge window to close > before sending it. BTW we keep wireless-next open also during merge windows. So no need to hold up wirele

Re: [PATCH] qnx4: fix to avoid panic due to buffer overflow

2023-11-14 Thread Ronald Monthero
On Tue, Nov 14, 2023 at 1:40 AM Anders Larsen wrote: > < Snipped> > > sizeof(de->di_fname) is evaluated as QNX4_SHORT_NAME_MAX already at compile > time, see the definition of di_fname in uapi/linux/qnx4_fs.h > > I agree that the code is confusing, as 'de' is declared as a pointer to a > struct qn

Re: [PATCH][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()

2023-11-14 Thread Guenter Roeck
On Mon, Nov 13, 2023 at 01:38:12PM -0600, Gustavo A. R. Silva wrote: > Based on the documentation below, the maximum number of Fan tach > channels is 16: > > Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt:45: > 45 - aspeed,fan-tach-ch : should specify the Fan tach input channel. >

[GIT PULL] hardening fixes for v6.7-rc2

2023-11-14 Thread Kees Cook
Hi Linus, Please pull these small hardening fixes for v6.7-rc2. Thanks! -Kees The following changes since commit 9cca73d7b4bfec75b2fcef751015f31691afa792: hwmon: (acpi_power_meter) replace open-coded kmemdup_nul (2023-10-24 14:10:53 -0700) are available in the Git repository at: https:/

[PATCH] SUNRPC: Replace strlcpy() with strscpy()

2023-11-14 Thread Kees Cook
strlcpy() reads the entire source buffer first. This read may exceed the destination size limit. This is both inefficient and can lead to linear read overflows if a source string is not NUL-terminated[1]. Additionally, it returns the size of the source string, not the resulting size of the destinat

[PATCH v2][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()

2023-11-14 Thread Gustavo A. R. Silva
Based on the documentation below, the maximum number of Fan tach channels is 16: Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt:45: 45 - aspeed,fan-tach-ch : should specify the Fan tach input channel. 46 integer value in the range 0 through 15, with 0 indicating 47

Re: [PATCH][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()

2023-11-14 Thread Gustavo A. R. Silva
On 11/14/23 08:52, Guenter Roeck wrote: On Mon, Nov 13, 2023 at 01:38:12PM -0600, Gustavo A. R. Silva wrote: Based on the documentation below, the maximum number of Fan tach channels is 16: Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt:45: 45 - aspeed,fan-tach-ch : should sp

Re: [PATCH v2][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()

2023-11-14 Thread Kees Cook
On Tue, Nov 14, 2023 at 01:53:08PM -0600, Gustavo A. R. Silva wrote: > Based on the documentation below, the maximum number of Fan tach > channels is 16: > > Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt:45: > 45 - aspeed,fan-tach-ch : should specify the Fan tach input channel. >

Re: [GIT PULL] hardening fixes for v6.7-rc2

2023-11-14 Thread pr-tracker-bot
The pull request you sent on Tue, 14 Nov 2023 09:41:28 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/hardening-v6.7-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c42d9eeef8e5ba9292eda36fd8e3c11f35ee065c Thank you! -- Deet-doot-