)]}'
{
  "commit": "b77c35ef8e38d9c4027f00a333ca139c583f2a18",
  "tree": "f04ef6f9a038e5949efb71047137359b13a89ff6",
  "parents": [
    "e83c4405ebf02151daea8ce6da3bb74b34efcd6c"
  ],
  "author": {
    "name": "Takashi Iwai",
    "email": "tiwai@suse.de",
    "time": "Fri Nov 23 15:44:00 2018 +0100"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Dec 05 19:32:08 2018 +0100"
  },
  "message": "ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write\n\ncommit 7194eda1ba0872d917faf3b322540b4f57f11ba5 upstream.\n\nThe function snd_ac97_put_spsa() gets the bit shift value from the\nassociated private_value, but it extracts too much; the current code\nextracts 8 bit values in bits 8-15, but this is a combination of two\nnibbles (bits 8-11 and bits 12-15) for left and right shifts.\nDue to the incorrect bits extraction, the actual shift may go beyond\nthe 32bit value, as spotted recently by UBSAN check:\n UBSAN: Undefined behaviour in sound/pci/ac97/ac97_codec.c:836:7\n shift exponent 68 is too large for 32-bit type \u0027int\u0027\n\nThis patch fixes the shift value extraction by masking the properly\nwith 0x0f instead of 0xff.\n\nReported-and-tested-by: Meelis Roos \u003cmroos@linux.ee\u003e\nCc: \u003cstable@vger.kernel.org\u003e\nSigned-off-by: Takashi Iwai \u003ctiwai@suse.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f4459d1a9d67d0c43a13f494f348a9c34c72df11",
      "old_mode": 33188,
      "old_path": "sound/pci/ac97/ac97_codec.c",
      "new_id": "27b468f057dd409d17294099aa833df1e3c3916f",
      "new_mode": 33188,
      "new_path": "sound/pci/ac97/ac97_codec.c"
    }
  ]
}
