Re: [PATCH] s390/vfio-ap: Replace one-element array with flexible array member

2025-01-31 Thread Halil Pasic
On Thu, 30 Jan 2025 13:46:47 +0100 Heiko Carstens wrote: > > > Thanks! Alex, what do we do with this then? I think you picked it up > > > yesterday late. And I think, it might make sense to make this look > > > less like a fake flex-array... > > > > Dropped. > > Thanks for looking into it! >

Re: Re: [GIT PULL] sysctl constification changes for v6.14-rc1

2025-01-31 Thread Joel Granados
On Wed, Jan 29, 2025 at 10:48:02AM -0800, Linus Torvalds wrote: > On Wed, 29 Jan 2025 at 00:14, Joel Granados wrote: > > > > All ctl_table declared outside of functions and that remain unmodified > > after > > initialization are const qualified. > > Hmm. A quick grep shows > > static st

Re: [PATCH v2] HID: usbhid: fix recurrent out-of-bounds bug in usbhid_parse()

2025-01-31 Thread Kees Cook
On Fri, Jan 31, 2025 at 06:15:58PM +0300, Nikita Zhandarovich wrote: > Syzbot reports [1] a reemerging out-of-bounds bug regarding hid > descriptors supposedly having unpredictable bNumDescriptors values in > usbhid_parse(). > > The issue stems from the fact that hid_class_descriptor is supposed >

[PATCH v2] HID: usbhid: fix recurrent out-of-bounds bug in usbhid_parse()

2025-01-31 Thread Nikita Zhandarovich
Syzbot reports [1] a reemerging out-of-bounds bug regarding hid descriptors supposedly having unpredictable bNumDescriptors values in usbhid_parse(). The issue stems from the fact that hid_class_descriptor is supposed to be a flexible array, however it was sized as desc[1], using only one element.

Re: Re: [GIT PULL] sysctl constification changes for v6.14-rc1

2025-01-31 Thread Kees Cook
On Fri, Jan 31, 2025 at 02:57:40PM +0100, Joel Granados wrote: > From 431abf6c9c11a8b7321842ed0747b3200d43ef34 Mon Sep 17 00:00:00 2001 > From: Joel Granados > Date: Fri, 31 Jan 2025 14:10:57 +0100 > Subject: [PATCH] csky: Remove the size from alignment_tbl declaration > > Having to synchronize t