[kernel] r19445 - in dists/sid/linux/debian: . patches patches/bugfix/x86

Ben Hutchings benh at alioth.debian.org
Mon Oct 22 03:56:21 UTC 2012


Author: benh
Date: Mon Oct 22 03:56:20 2012
New Revision: 19445

Log:
ALSA: hda: Fix oops caused by "Fix internal mic for Lenovo Ideapad U300s" in 3.2.32

Added:
   dists/sid/linux/debian/patches/bugfix/x86/ALSA-hda-Fix-oops-caused-by-recent-commit-Fix-intern.patch
Modified:
   dists/sid/linux/debian/changelog
   dists/sid/linux/debian/patches/series

Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog	Mon Oct 22 03:52:25 2012	(r19444)
+++ dists/sid/linux/debian/changelog	Mon Oct 22 03:56:20 2012	(r19445)
@@ -97,6 +97,8 @@
   * fs: handle failed audit_log_start properly
   * fs: prevent use after free in auditing when symlink following was denied
   * kernel/sys.c: fix stack memory content leak via UNAME26 (CVE-2012-0957)
+  * ALSA: hda: Fix oops caused by "Fix internal mic for Lenovo Ideapad U300s"
+    in 3.2.32
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sat, 29 Sep 2012 14:19:46 +0200
 

Added: dists/sid/linux/debian/patches/bugfix/x86/ALSA-hda-Fix-oops-caused-by-recent-commit-Fix-intern.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux/debian/patches/bugfix/x86/ALSA-hda-Fix-oops-caused-by-recent-commit-Fix-intern.patch	Mon Oct 22 03:56:20 2012	(r19445)
@@ -0,0 +1,31 @@
+From: David Henningsson <david.henningsson at canonical.com>
+Date: Tue, 10 Apr 2012 13:05:29 +0200
+Subject: ALSA: hda - Fix oops caused by recent commit "Fix internal mic for
+ Lenovo Ideapad U300s"
+
+commit 83b0c6ba999643ee8ad6329f26e1cdc870e1a920 upstream.
+
+Make sure we don't dereference the "quirk" pointer when it is null.
+
+Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
+Signed-off-by: David Henningsson <david.henningsson at canonical.com>
+Signed-off-by: Takashi Iwai <tiwai at suse.de>
+---
+ sound/pci/hda/patch_conexant.c |    4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
+index cbe115b..abb59f4 100644
+--- a/sound/pci/hda/patch_conexant.c
++++ b/sound/pci/hda/patch_conexant.c
+@@ -4441,7 +4441,9 @@ static void apply_fixup(struct hda_codec *codec,
+ 	struct conexant_spec *spec = codec->spec;
+ 
+ 	quirk = snd_pci_quirk_lookup(codec->bus->pci, quirk);
+-	if (quirk && table[quirk->value]) {
++	if (!quirk)
++		return;
++	if (table[quirk->value]) {
+ 		snd_printdd(KERN_INFO "hda_codec: applying pincfg for %s\n",
+ 			    quirk->name);
+ 		apply_pincfg(codec, table[quirk->value]);

Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series	Mon Oct 22 03:52:25 2012	(r19444)
+++ dists/sid/linux/debian/patches/series	Mon Oct 22 03:56:20 2012	(r19445)
@@ -406,3 +406,4 @@
 bugfix/x86/SCSI-storvsc-Account-for-in-transit-packets-in-the-R.patch
 bugfix/all/kernel-sys.c-fix-stack-memory-content-leak-via-UNAME.patch
 bugfix/all/use-clamp_t-in-UNAME26-fix.patch
+bugfix/x86/ALSA-hda-Fix-oops-caused-by-recent-commit-Fix-intern.patch



More information about the Kernel-svn-changes mailing list