FS#56846 - [linux] cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch

Attached to Project: Arch Linux
Opened by Adam Kürthy (adee) - Sunday, 24 December 2017, 14:25 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 26 December 2017, 00:26 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since 4.14 the cgroups code crashes the kernel under certain circumstances.

Bug reports:
https://lkml.org/lkml/2017/12/12/1272
linux-kernel@vger.kernel.org&q=subject:%22BUG%5C%3A+unable+to+handle+kernel+NULL+pointer+dereference+at+0000000000000018%22&o=newest&f=1"> https://www.mail-archive.com/search?l=linux-kernel@vger.kernel.org&q=subject:%22BUG%5C%3A+unable+to+handle+kernel+NULL+pointer+dereference+at+0000000000000018%22&o=newest&f=1

And the patch that fixes it (attached):
https://patchwork.kernel.org/patch/10125801/

Please apply this patch until it reaches -stable.
I can confirm this solves the problem.


Steps to reproduce:
For me systemd-cgls triggered this after a few tries when libvirt/qemu VMs were running.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 26 December 2017, 00:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 4.14.9-1
Comment by loqs (loqs) - Sunday, 24 December 2017, 18:47 GMT
Could this be held off on applying until at least Linus has taken it so that it sees more testing upstream before arch takes it to minimize the chances of it breaking more than it fixes.

Loading...