<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-08-16T02:01:54Z</updated>
<entry>
<title>ALSA: timer - Fix Oops at closing slave timer</title>
<updated>2011-08-16T02:01:54Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2011-08-08T10:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ef6e5ad8910506f865cf5d4d6399035b9d92aa5'/>
<id>urn:sha1:0ef6e5ad8910506f865cf5d4d6399035b9d92aa5</id>
<content type='text'>
commit 0584ffa548b6e59aceb027112f23a55f0133400e upstream.

A slave-timer instance has no timer reference, and this results in
NULL-dereference at stopping the timer, typically called at closing
the device.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=40682

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: sound/core/pcm_compat.c: adjust array index</title>
<updated>2011-08-08T17:36:09Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2011-07-28T12:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87c6272e4096149ddee39b6e923c87bbf5bcdd5a'/>
<id>urn:sha1:87c6272e4096149ddee39b6e923c87bbf5bcdd5a</id>
<content type='text'>
commit ca9380fd68514c7bc952282c1b4fc70607e9fe43 upstream.

Convert array index from the loop bound to the loop index.

A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression e1,e2,ar;
@@

for(e1 = 0; e1 &lt; e2; e1++) { &lt;...
  ar[
- e2
+ e1
  ]
  ...&gt; }
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: Fix yet another race in disconnection</title>
<updated>2011-04-14T23:52:46Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2011-03-24T08:50:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03685934bacb656ac9a3512c75b3c2bc910bbedb'/>
<id>urn:sha1:03685934bacb656ac9a3512c75b3c2bc910bbedb</id>
<content type='text'>
commit a45e3d6b13e97506b616980c0f122c3389bcefa4 upstream.

This patch fixes a race between snd_card_file_remove() and
snd_card_disconnect().  When the card is added to shutdown_files list
in snd_card_disconnect(), but it's freed in snd_card_file_remove() at
the same time, the shutdown_files list gets corrupted.  The list member
must be freed in snd_card_file_remove() as well.

Reported-and-tested-by: Russ Dill &lt;russ.dill@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: hrtimer: handle delayed timer interrupts</title>
<updated>2011-03-21T19:44:51Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2011-02-10T15:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=841d1e0a6aad6f65dae941af38c0f2566e4fa781'/>
<id>urn:sha1:841d1e0a6aad6f65dae941af38c0f2566e4fa781</id>
<content type='text'>
commit b1d4f7f4bdcf9915c41ff8cfc4425c84dabb1fde upstream.

If a timer interrupt was delayed too much, hrtimer_forward_now() will
forward the timer expiry more than once.  When this happens, the
additional number of elapsed ALSA timer ticks must be passed to
snd_timer_interrupt() to prevent the ALSA timer from falling behind.

This mostly fixes MIDI slowdown problems on highly-loaded systems with
badly behaved interrupt handlers.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Reported-and-tested-by: Arthur Marsh &lt;arthur.marsh@internode.on.net&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: rawmidi: fix oops (use after free) when unloading a driver module</title>
<updated>2011-03-21T19:43:11Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2010-10-15T10:06:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d55dc791385be8da4013a166f82db745c48e3dd'/>
<id>urn:sha1:9d55dc791385be8da4013a166f82db745c48e3dd</id>
<content type='text'>
commit aa73aec6c385e2c797ac25cc7ccf0318031de7c8 upstream.

When a driver module is unloaded and the last still open file is a raw
MIDI device, the card and its devices will be actually freed in the
snd_card_file_remove() call when that file is closed.  Afterwards, rmidi
and rmidi-&gt;card point into freed memory, so the module pointer is likely
to be garbage.
(This was introduced by commit 9a1b64caac82aa02cb74587ffc798e6f42c6170a.)

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Reported-by: Krzysztof Foltman &lt;wdev@foltman.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: prevent heap corruption in snd_ctl_new()</title>
<updated>2011-03-21T19:43:11Z</updated>
<author>
<name>Dan Rosenberg</name>
</author>
<published>2010-09-28T18:18:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b259026c5eb96fae5c3c3884a7da7fd13886267f'/>
<id>urn:sha1:b259026c5eb96fae5c3c3884a7da7fd13886267f</id>
<content type='text'>
commit 5591bf07225523600450edd9e6ad258bb877b779 upstream.

The snd_ctl_new() function in sound/core/control.c allocates space for a
snd_kcontrol struct by performing arithmetic operations on a
user-provided size without checking for integer overflow.  If a user
provides a large enough size, an overflow will occur, the allocated
chunk will be too small, and a second user-influenced value will be
written repeatedly past the bounds of this chunk.  This code is
reachable by unprivileged users who have permission to open
a /dev/snd/controlC* device (on many distros, this is group "audio") via
the SNDRV_CTL_IOCTL_ELEM_ADD and SNDRV_CTL_IOCTL_ELEM_REPLACE ioctls.

Signed-off-by: Dan Rosenberg &lt;drosenberg@vsecurity.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: pcm core - fix fifo_size channels interval check</title>
<updated>2010-03-15T16:06:20Z</updated>
<author>
<name>Jaroslav Kysela</name>
</author>
<published>2010-02-16T10:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=616b05819b8d31ecdbcbafa2794a0eb1ea5e6944'/>
<id>urn:sha1:616b05819b8d31ecdbcbafa2794a0eb1ea5e6944</id>
<content type='text'>
commit 3be522a9514f58e0596db34898a514df206cadc5 upstream.

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: Remove warning message for invalid OSS minor ranges</title>
<updated>2010-01-18T13:18:55Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2010-01-18T13:16:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=808c569f3609b37642d1e08373e3de829b99d0f8'/>
<id>urn:sha1:808c569f3609b37642d1e08373e3de829b99d0f8</id>
<content type='text'>
When a card instance with a higher card number is registered, warning
messages are spewed eventually with stack traces due to the invalid minor
number for OSS device registration.  For example, thinkpad-acpi registers
the card number 29 as default, and you'll see always these messages.
This is rather confusing (and worries users), thus better to return
simply the error code.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: use subsys_initcall for sound core instead of module_init</title>
<updated>2010-01-14T20:21:47Z</updated>
<author>
<name>Thadeu Lima de Souza Cascardo</name>
</author>
<published>2010-01-12T22:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c181a13a41ef32c9037393f4b42b780e1a36eb91'/>
<id>urn:sha1:c181a13a41ef32c9037393f4b42b780e1a36eb91</id>
<content type='text'>
This is needed for built-in drivers which are built before the sound directory,
like thinkpad_acpi.

Otherwise, registering a card fails.

Signed-off-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Fix indentation in pcm_native.c</title>
<updated>2009-12-25T13:12:52Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2009-12-24T00:17:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b90ca08821fee79e181bfcbc3bbd41ef5637136'/>
<id>urn:sha1:8b90ca08821fee79e181bfcbc3bbd41ef5637136</id>
<content type='text'>
Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
