RE: As of kernel 4.4-rc1 segmentation fault if msr module not loaded. [REGRESSION][BISECTED]
From: Doug Smythies
Date: Fri Nov 27 2015 - 11:13:10 EST
On 2015.11.26 10:10 Borislav Petkov wrote:
> On Thu, Nov 26, 2015 at 08:25:43AM -0800, Doug Smythies wrote:
>>
>> In some distros, the msr module is not loaded by default.
>> (I guess not built in by default, would be more correct.)
>> I often forget to load it before using "rdmsr" or "wrmsr".
>> It was never an issue before, but as of Kernel 4.4-rc1
>> it causes a segmentation fault crash. Example:
>>
>> # rdmsr -a 0x19a
>> Segmentation fault (core dumped)
> You can either cherrypick
> http://git.kernel.org/tip/2d5be37d686c4dae8e60d20283d6f44ac2c44f65
Just for completeness:
I confirm that the above commit fixes the issue raised herein.
Thanks.
... Doug
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/