<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/oss, 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-04-14T23:53:09Z</updated>
<entry>
<title>sound: oss: midi_synth: check get_user() return value</title>
<updated>2011-04-14T23:53:09Z</updated>
<author>
<name>Kulikov Vasiliy</name>
</author>
<published>2010-07-28T16:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eddded6c0566797b36dd64a6fa7e72dc781dc353'/>
<id>urn:sha1:eddded6c0566797b36dd64a6fa7e72dc781dc353</id>
<content type='text'>
commit b3390ceab95601afc12213c3ec5551d3bc7b638f upstream.

get_user() may fail, if so return -EFAULT.

Signed-off-by: Kulikov Vasiliy &lt;segooon@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>sound/oss: remove offset from load_patch callbacks</title>
<updated>2011-04-14T23:53:09Z</updated>
<author>
<name>Dan Rosenberg</name>
</author>
<published>2011-03-23T14:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba1a933508f6d6bfb6da1bb955ce492022190a38'/>
<id>urn:sha1:ba1a933508f6d6bfb6da1bb955ce492022190a38</id>
<content type='text'>
commit b769f49463711205d57286e64cf535ed4daf59e9 upstream.

Was: [PATCH] sound/oss/midi_synth: prevent underflow, use of
uninitialized value, and signedness issue

The offset passed to midi_synth_load_patch() can be essentially
arbitrary.  If it's greater than the header length, this will result in
a copy_from_user(dst, src, negative_val).  While this will just return
-EFAULT on x86, on other architectures this may cause memory corruption.
Additionally, the length field of the sysex_info structure may not be
initialized prior to its use.  Finally, a signed comparison may result
in an unintentionally large loop.

On suggestion by Takashi Iwai, version two removes the offset argument
from the load_patch callbacks entirely, which also resolves similar
issues in opl3.  Compile tested only.

v3 adjusts comments and hopefully gets copy offsets right.

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>sound/oss/opl3: validate voice and channel indexes</title>
<updated>2011-04-14T23:52:48Z</updated>
<author>
<name>Dan Rosenberg</name>
</author>
<published>2011-03-23T15:42:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3636db595bcbfb95c2bcbc8769abe12b0d1d00dd'/>
<id>urn:sha1:3636db595bcbfb95c2bcbc8769abe12b0d1d00dd</id>
<content type='text'>
commit 4d00135a680727f6c3be78f8befaac009030e4df upstream.

User-controllable indexes for voice and channel values may cause reading
and writing beyond the bounds of their respective arrays, leading to
potentially exploitable memory corruption.  Validate these indexes.

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>sound: Prevent buffer overflow in OSS load_mixer_volumes</title>
<updated>2011-03-21T19:44:31Z</updated>
<author>
<name>Dan Rosenberg</name>
</author>
<published>2010-12-25T21:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0dd40482f3d6bf04eb477c14d9e9443a3d59f1e9'/>
<id>urn:sha1:0dd40482f3d6bf04eb477c14d9e9443a3d59f1e9</id>
<content type='text'>
commit d81a12bc29ae4038770e05dce4ab7f26fd5880fb upstream.

The load_mixer_volumes() function, which can be triggered by
unprivileged users via the SOUND_MIXER_SETLEVELS ioctl, is vulnerable to
a buffer overflow.  Because the provided "name" argument isn't
guaranteed to be NULL terminated at the expected 32 bytes, it's possible
to overflow past the end of the last element in the mixer_vols array.
Further exploitation can result in an arbitrary kernel write (via
subsequent calls to load_mixer_volumes()) leading to privilege
escalation, or arbitrary kernel reads via get_mixer_levels().  In
addition, the strcmp() may leak bytes beyond the mixer_vols array.

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>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into fixes</title>
<updated>2010-01-08T08:26:34Z</updated>
<author>
<name>Jaroslav Kysela</name>
</author>
<published>2010-01-08T08:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cb4f624ea38361b6397966470f0a1bed5532483'/>
<id>urn:sha1:1cb4f624ea38361b6397966470f0a1bed5532483</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sound: oss: off by one bug</title>
<updated>2010-01-08T08:17:51Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2010-01-03T11:39:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=444c1953d496d272208902ff7010dc70d1f887f0'/>
<id>urn:sha1:444c1953d496d272208902ff7010dc70d1f887f0</id>
<content type='text'>
The problem is that in the original code sound_nblocks could go up to 1024
which would be an array overflow.

This was found with a static checker and has been compile tested only.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
</entry>
<entry>
<title>sound/oss/pss: Fix test of unsigned in pss_reset_dsp() and pss_download_boot()</title>
<updated>2009-12-17T11:19:12Z</updated>
<author>
<name>Roel Kluin</name>
</author>
<published>2009-12-16T15:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2fbe74b90bafebce615466b4c20f96b0465df1ae'/>
<id>urn:sha1:2fbe74b90bafebce615466b4c20f96b0465df1ae</id>
<content type='text'>
limit and jiffies are unsigned so the test did not work.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial</title>
<updated>2009-12-10T03:43:33Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-12-10T03:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8'/>
<id>urn:sha1:4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8</id>
<content type='text'>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
  tree-wide: fix misspelling of "definition" in comments
  reiserfs: fix misspelling of "journaled"
  doc: Fix a typo in slub.txt.
  inotify: remove superfluous return code check
  hdlc: spelling fix in find_pvc() comment
  doc: fix regulator docs cut-and-pasteism
  mtd: Fix comment in Kconfig
  doc: Fix IRQ chip docs
  tree-wide: fix assorted typos all over the place
  drivers/ata/libata-sff.c: comment spelling fixes
  fix typos/grammos in Documentation/edac.txt
  sysctl: add missing comments
  fs/debugfs/inode.c: fix comment typos
  sgivwfb: Make use of ARRAY_SIZE.
  sky2: fix sky2_link_down copy/paste comment error
  tree-wide: fix typos "couter" -&gt; "counter"
  tree-wide: fix typos "offest" -&gt; "offset"
  fix kerneldoc for set_irq_msi()
  spidev: fix double "of of" in comment
  comment typo fix: sybsystem -&gt; subsystem
  ...
</content>
</entry>
<entry>
<title>Merge branch 'for-next' into for-linus</title>
<updated>2009-12-07T17:36:35Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2009-12-07T17:36:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d014d043869cdc591f3a33243d3481fa4479c2d0'/>
<id>urn:sha1:d014d043869cdc591f3a33243d3481fa4479c2d0</id>
<content type='text'>
Conflicts:

	kernel/irq/chip.c
</content>
</entry>
<entry>
<title>Merge branch 'topic/misc' into for-linus</title>
<updated>2009-12-04T15:22:37Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2009-12-04T15:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57648cd52b1848c6885bdbd948d113d52f3ddd43'/>
<id>urn:sha1:57648cd52b1848c6885bdbd948d113d52f3ddd43</id>
<content type='text'>
</content>
</entry>
</feed>
