<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/sound/drivers, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-02-03T14:22:21+00:00</updated>
<entry>
<title>ALSA: aloop: Fix racy access at PCM trigger</title>
<updated>2026-02-03T14:22:21+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2026-02-03T14:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=826af7fa62e347464b1b4e0ba2fe19a92438084f'/>
<id>urn:sha1:826af7fa62e347464b1b4e0ba2fe19a92438084f</id>
<content type='text'>
The PCM trigger callback of aloop driver tries to check the PCM state
and stop the stream of the tied substream in the corresponding cable.
Since both check and stop operations are performed outside the cable
lock, this may result in UAF when a program attempts to trigger
frequently while opening/closing the tied stream, as spotted by
fuzzers.

For addressing the UAF, this patch changes two things:
- It covers the most of code in loopback_check_format() with
  cable-&gt;lock spinlock, and add the proper NULL checks.  This avoids
  already some racy accesses.
- In addition, now we try to check the state of the capture PCM stream
  that may be stopped in this function, which was the major pain point
  leading to UAF.

Reported-by: syzbot+5f8f3acdee1ec7a7ef7b@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/69783ba1.050a0220.c9109.0011.GAE@google.com
Cc: &lt;stable@vger.kernel.org&gt;
Link: https://patch.msgid.link/20260203141003.116584-1-tiwai@suse.de
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcmtest: Replace deprecated strcpy with strscpy_pad in setup_patt_bufs</title>
<updated>2025-11-19T16:16:49+00:00</updated>
<author>
<name>Thorsten Blum</name>
<email>thorsten.blum@linux.dev</email>
</author>
<published>2025-11-19T13:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ad5f82ab04bcad56de85723bdd48e44b70a16948'/>
<id>urn:sha1:ad5f82ab04bcad56de85723bdd48e44b70a16948</id>
<content type='text'>
strcpy() has been deprecated [1] because it performs no bounds checking
on the destination buffer, which can lead to buffer overflows. Replace
it with the safer strscpy_pad(), and use kmalloc() instead of kzalloc()
because strscpy_pad() zero-pads the destination buffer and therefore
avoids writing to it twice.

Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Signed-off-by: Thorsten Blum &lt;thorsten.blum@linux.dev&gt;
Link: https://patch.msgid.link/20251119135217.233084-1-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: serial-generic: remove shared static buffer</title>
<updated>2025-09-15T10:33:53+00:00</updated>
<author>
<name>John Keeping</name>
<email>jkeeping@inmusicbrands.com</email>
</author>
<published>2025-09-15T09:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=84973249011fda3ff292f83439a062fec81ef982'/>
<id>urn:sha1:84973249011fda3ff292f83439a062fec81ef982</id>
<content type='text'>
If multiple instances of this driver are instantiated and try to send
concurrently then the single static buffer snd_serial_generic_tx_work()
will cause corruption in the data output.

Move the buffer into the per-instance driver data to avoid this.

Signed-off-by: John Keeping &lt;jkeeping@inmusicbrands.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: serial-u16550: Use guard() for spin locks</title>
<updated>2025-09-01T11:53:35+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b9526bff42197cc83cdfb64e51822734180258d1'/>
<id>urn:sha1:b9526bff42197cc83cdfb64e51822734180258d1</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-14-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: portman2x4: Use guard() for spin locks</title>
<updated>2025-09-01T11:53:35+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ec339e149e93779ef7ea4cd2fe6f61ea9e823cb3'/>
<id>urn:sha1:ec339e149e93779ef7ea4cd2fe6f61ea9e823cb3</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-13-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: mts64: Use guard() for spin locks</title>
<updated>2025-09-01T11:53:35+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a28d65886b9b80d93d939dd9f02e6e995b4febda'/>
<id>urn:sha1:a28d65886b9b80d93d939dd9f02e6e995b4febda</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-12-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: mtpav: Use guard() for spin locks</title>
<updated>2025-09-01T11:53:35+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=316e0074ecdc1f5723f69c12004bec31ca4cd276'/>
<id>urn:sha1:316e0074ecdc1f5723f69c12004bec31ca4cd276</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-11-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: mpu401: Use guard() for spin locks</title>
<updated>2025-09-01T11:53:34+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=55c52cd3118bc400d7364945475f02e905ccca56'/>
<id>urn:sha1:55c52cd3118bc400d7364945475f02e905ccca56</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-10-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: dummy: Use guard() for spin locks</title>
<updated>2025-09-01T11:53:34+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=638c33ef7923a0907ff907e18e2c87f0e7fcbd63'/>
<id>urn:sha1:638c33ef7923a0907ff907e18e2c87f0e7fcbd63</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-9-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: vx: Use guard() for mutex locks</title>
<updated>2025-09-01T11:53:34+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T15:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=353fc3e3811aa577956940b04a4c540eb65a9992'/>
<id>urn:sha1:353fc3e3811aa577956940b04a4c540eb65a9992</id>
<content type='text'>
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829150026.6379-8-tiwai@suse.de
</content>
</entry>
</feed>
