Re: [PATCH] ALSA: pcm: Replace [audio_]tstamp_[n]sec by struct __snd_timespec64 in struct snd_pcm_mmap_status_x32

2025-06-15 Thread Takashi Iwai
On Mon, 16 Jun 2025 07:12:23 +0200, Christophe Leroy wrote: > > To match struct __snd_pcm_mmap_status and enable reuse of > snd_pcm_sync_ptr_get_user() and snd_pcm_sync_ptr_put_user() by > snd_pcm_sync_ptr() replace tstamp_sec and tstamp_nsec fields by > a struct __snd_timespec64 in struct snd_pcm

[powerpc:merge] BUILD SUCCESS 33e1e70809f236800d22617095ae221e28d7b382

2025-06-15 Thread kernel test robot
config-001-20250615gcc-12.4.0 arc randconfig-002-20250615gcc-10.5.0 arm allmodconfiggcc-15.1.0 arm allnoconfigclang-21 arm allyesconfiggcc-

[PATCH] i2c: powermac: Fix out-of-bounds bug in i2c_powermac_smbus_xfer

2025-06-15 Thread Alex Guo
The data->block[0] variable comes from user. Without proper check, the variable may be very large to cause an out-of-bounds bug. Fix this bug by checking the value of data->block[0] first. Similar commit: 1. commit 39244cc7548 ("i2c: ismt: Fix an out-of-bounds bug in ismt_access()") 2. commit 92f

Re: [PATCH 4/8] KVM: Move include/kvm/iodev.h to include/linux as kvm_iodev.h

2025-06-15 Thread Bibo Mao
On 2025/6/11 上午8:10, Sean Christopherson wrote: Move iodev.h, the last remaining holdout in include/kvm, to the standard include/linux directory as kvm_iodev.h and delete include/kvm. Acked-by: Anup Patel Signed-off-by: Sean Christopherson --- MAINTAINERS|

[PATCH] ALSA: pcm: Replace [audio_]tstamp_[n]sec by struct __snd_timespec64 in struct snd_pcm_mmap_status_x32

2025-06-15 Thread Christophe Leroy
To match struct __snd_pcm_mmap_status and enable reuse of snd_pcm_sync_ptr_get_user() and snd_pcm_sync_ptr_put_user() by snd_pcm_sync_ptr() replace tstamp_sec and tstamp_nsec fields by a struct __snd_timespec64 in struct snd_pcm_mmap_status_x32. Do the same with audio_tstamp_sec and audio_tstamp_ns

Re: [PATCH bpf 2/7] bpf/x86: prevent trampoline attachment when args location on stack is uncertain

2025-06-15 Thread Alexis Lothoré
On Sat Jun 14, 2025 at 12:35 AM CEST, Alexei Starovoitov wrote: > On Fri, Jun 13, 2025 at 1:59 AM Alexis Lothoré > wrote: >> >> On Fri Jun 13, 2025 at 10:32 AM CEST, Peter Zijlstra wrote: >> > On Fri, Jun 13, 2025 at 10:26:37AM +0200, Alexis Lothoré wrote: [...] >> If I need to respin, I'll rewr

Re: [PATCH] ALSA: pcm: Convert snd_pcm_ioctl_sync_ptr_{compat/x32} to user_access_begin/user_access_end()

2025-06-15 Thread kernel test robot
t/x32} to user_access_begin/user_access_end() config: x86_64-randconfig-008-20250615 (https://download.01.org/0day-ci/archive/20250615/202506151632.jvltnhpb-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/20

Re: [PATCH bpf 2/7] bpf/x86: prevent trampoline attachment when args location on stack is uncertain

2025-06-15 Thread Alexei Starovoitov
On Sun, Jun 15, 2025 at 7:00 AM Alexis Lothoré wrote: > > On Sat Jun 14, 2025 at 12:35 AM CEST, Alexei Starovoitov wrote: > > On Fri, Jun 13, 2025 at 1:59 AM Alexis Lothoré > > wrote: > >> > >> On Fri Jun 13, 2025 at 10:32 AM CEST, Peter Zijlstra wrote: > >> > On Fri, Jun 13, 2025 at 10:26:37AM +