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: <20f5757c-78b3-4a68-a499-96951108d27c@csgroup.eu>
Date: Mon, 16 Jun 2025 07:29:55 +0200
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Stephen Rothwell <sfr@...b.auug.org.au>, Takashi Iwai <tiwai@...e.de>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
 Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the sound tree



Le 16/06/2025 à 05:01, Stephen Rothwell a écrit :
> Hi all,
> 
> After merging the sound tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from include/linux/uaccess.h:12,
>                   from include/linux/sched/task.h:13,
>                   from include/linux/sched/signal.h:9,
>                   from include/linux/rcuwait.h:6,
>                   from include/linux/percpu-rwsem.h:7,
>                   from include/linux/fs.h:34,
>                   from include/linux/compat.h:17,
>                   from sound/core/pcm_native.c:7:
> sound/core/pcm_compat.c: In function 'snd_pcm_ioctl_sync_ptr_x32':
> sound/core/pcm_native.c:3081:60: error: 'struct snd_pcm_mmap_status_x32' has no member named 'tstamp'
>   3081 |         unsafe_put_user(__s.tstamp.tv_sec, &__src->s.status.tstamp.tv_sec, failed);             \
>        |                                                            ^

...

> 
> Caused by (sone of) commits
> 
>    2acd83beb4d3 ("ALSA: pcm: refactor copy from/to user in SNDRV_PCM_IOCTL_SYNC_PTR")
>    de32a6120b80 ("ALSA: pcm: Convert snd_pcm_sync_ptr() to user_access_begin/user_access_end()")
>    a0f3992ee86e ("ALSA: pcm: Replace [audio_]tstamp_[n]sec by struct __snd_timespec in struct snd_pcm_mmap_status32")
>    a9b49bf8ad59 ("ALSA: pcm: Convert SNDRV_PCM_IOCTL_SYNC_PTR to user_access_begin/user_access_end()")
> 
> I have used the sound tree from next-20250613 for today.
> 

This is caused by a0f3992ee86e.

Fix here : 
https://lore.kernel.org/linux-sound/e46139ed61bc52fab51babadb8b656fa1aa15506.1750050658.git.christophe.leroy@csgroup.eu/T/#u

Christophe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ