FS#46444 - [linux-lts] null pointer dereference with RAID5

Attached to Project: Arch Linux
Opened by Christian Hesse (eworm) - Saturday, 26 September 2015, 13:56 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 01 October 2015, 13:06 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Linux 4.1.x can crash hard with a null pointer dereference when using RAID5. Should be sufficient to apply two patches by Neil Brown [0][1], but it does not apply cleanly to 4.1.x. Either we have to backport it or apply a series by Yuanhan Liu [2][3][4] in preparation.

All these patches went into 4.2.x, the two essential fixes were sent to Greg for stable. He did not yet apply nor queue them, though.

[0] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=2d5b569b
[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=49895bcc

[2] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=9f3520c3
[3] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=b1b46486
[4] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=e9e4c377

Additional info:
linux-lts 4.1.8-1
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 01 October 2015, 13:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.1.9
Comment by Andreas Radke (AndyRTR) - Saturday, 26 September 2015, 15:11 GMT
I'm bringing this to the linux-stable list and wait for an official solution.
Comment by Christian Hesse (eworm) - Saturday, 26 September 2015, 19:10 GMT
Digging through the stable list I found patches by Neil Brown rebased for 4.1.8:

http://article.gmane.org/gmane.linux.kernel.stable/149742
http://article.gmane.org/gmane.linux.kernel.stable/149741
Comment by Christian Hesse (eworm) - Saturday, 26 September 2015, 19:16 GMT Comment by Andreas Radke (AndyRTR) - Sunday, 27 September 2015, 11:58 GMT
So we will soon see it in the official release.

Loading...