<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core/pcm.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-03-03T15:50:44Z</updated>
<entry>
<title>ALSA: pcm: prevent UAF in snd_pcm_info</title>
<updated>2018-03-03T15:50:44Z</updated>
<author>
<name>Robb Glasser</name>
</author>
<published>2017-12-05T17:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c51f80d4d3a47dbc97b9b1b67d81e763afe9c398'/>
<id>urn:sha1:c51f80d4d3a47dbc97b9b1b67d81e763afe9c398</id>
<content type='text'>
commit 362bca57f5d78220f8b5907b875961af9436e229 upstream.

When the device descriptor is closed, the `substream-&gt;runtime` pointer
is freed. But another thread may be in the ioctl handler, case
SNDRV_CTL_IOCTL_PCM_INFO. This case calls snd_pcm_info_user() which
calls snd_pcm_info() which accesses the now freed `substream-&gt;runtime`.

Note: this fixes CVE-2017-0861

Signed-off-by: Robb Glasser &lt;rglasser@google.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>ALSA: Avoid endless sleep after disconnect</title>
<updated>2012-11-16T16:46:50Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-10-16T14:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38638f09259204fd9e6c6486867d8e2771ec5a4d'/>
<id>urn:sha1:38638f09259204fd9e6c6486867d8e2771ec5a4d</id>
<content type='text'>
commit 0914f7961babbf28aaa2f19b453951fb4841c03f upstream.

When disconnect callback is called, each component should wake up
sleepers and check card-&gt;shutdown flag for avoiding the endless sleep
blocking the proper resource release.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>ALSA: PCM: Fix some races at disconnection</title>
<updated>2012-11-16T16:46:48Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-10-12T13:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=700949d473671e3b20434d5a4cde71a04db88787'/>
<id>urn:sha1:700949d473671e3b20434d5a4cde71a04db88787</id>
<content type='text'>
commit 9b0573c07f278e9888c352aa9724035c75784ea0 upstream.

Fix races at PCM disconnection:
- while a PCM device is being opened or closed
- while the PCM state is being changed without lock in prepare,
  hw_params, hw_free ops

Reported-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>sound: Add module.h to the previously silent sound users</title>
<updated>2011-10-31T23:31:21Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-15T16:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da155d5b40587815a4397e1a69382fe2366d940b'/>
<id>urn:sha1:da155d5b40587815a4397e1a69382fe2366d940b</id>
<content type='text'>
Lots of sound drivers were getting module.h via the implicit presence
of it in &lt;linux/device.h&gt; but we are going to clean that up.  So
fix up those users now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>ALSA: core: sparse cleanups</title>
<updated>2011-02-14T16:10:11Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2011-02-14T10:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fea952e5cc23ea94b4677ca20774cdc3cea014e2'/>
<id>urn:sha1:fea952e5cc23ea94b4677ca20774cdc3cea014e2</id>
<content type='text'>
Change the core code where sparse complains.  In most cases, this means
just adding annotations to confirm that we indeed want to do the dirty
things we're doing.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix/misc' into topic/misc</title>
<updated>2010-10-11T11:45:22Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2010-10-11T11:45:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e83998f5af010a928495988c586ea2926624db9'/>
<id>urn:sha1:4e83998f5af010a928495988c586ea2926624db9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ALSA: pcm - Fix race with proc files</title>
<updated>2010-09-16T21:06:50Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2010-09-16T21:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=901d46d5a8eb821b03ca9e8cf005beb0c92f31ea'/>
<id>urn:sha1:901d46d5a8eb821b03ca9e8cf005beb0c92f31ea</id>
<content type='text'>
The PCM proc files may open a race against substream close, which can
end up with an Oops.  Use the open_mutex to protect for it.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: Remove unnecessary casts of private_data</title>
<updated>2010-09-07T06:05:59Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2010-09-05T01:52:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9fe856e47e1751204faf3d604c6d20ab24bd3b93'/>
<id>urn:sha1:9fe856e47e1751204faf3d604c6d20ab24bd3b93</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: add more format names</title>
<updated>2010-08-28T09:59:33Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2010-08-27T20:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a28826ac73d31a379d93785d8fbd24ab492b0bd'/>
<id>urn:sha1:7a28826ac73d31a379d93785d8fbd24ab492b0bd</id>
<content type='text'>
There were some new formats added in commit 15c0cee6c809 "ALSA: pcm:
Define G723 3-bit and 5-bit formats".  That commit increased
SNDRV_PCM_FORMAT_LAST as well.  My concern is that there are a couple
places which do:

        for (i = 0; i &lt; SNDRV_PCM_FORMAT_LAST; i++) {
                if (dummy-&gt;pcm_hw.formats &amp; (1ULL &lt;&lt; i))
                        snd_iprintf(buffer, " %s", snd_pcm_format_name(i));
        }

I haven't tested these but it looks like if "i" were equal to
SNDRV_PCM_FORMAT_G723_24 or higher then we might read past the end of
the array.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>PM QOS update</title>
<updated>2010-05-10T21:08:19Z</updated>
<author>
<name>Mark Gross</name>
</author>
<published>2010-05-05T23:59:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb'/>
<id>urn:sha1:ed77134bfccf5e75b6cbadab268e559dbe6a4ebb</id>
<content type='text'>
This patch changes the string based list management to a handle base
implementation to help with the hot path use of pm-qos, it also renames
much of the API to use "request" as opposed to "requirement" that was
used in the initial implementation.  I did this because request more
accurately represents what it actually does.

Also, I added a string based ABI for users wanting to use a string
interface.  So if the user writes 0xDDDDDDDD formatted hex it will be
accepted by the interface.  (someone asked me for it and I don't think
it hurts anything.)

This patch updates some documentation input I got from Randy.

Signed-off-by: markgross &lt;mgross@linux.intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
</feed>
