This option checks for a stack overrun on calls to schedule(). If the stack end location is found to be over written always panic as the content of the corrupted region can no longer be trusted. This is to ensure no erroneous behaviour occurs which could result in data corruption or a sporadic crash at a later stage once the region is examined. The runtime overhead introduced is minimal.
Ref: https://cateee.net/lkddb/web-lkddb/SCHED_STACK_END_CHECK.html Looks like this is debug related, not sure if we want this on KVM kernels. ** Also affects: ubuntu-kernel-tests Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1812159 Title: SCHED_STACK_END_CHECK should be enabled in B-kvm Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Bug description: The test_380_config_sched_stack_end_check test failed on the Bionic KVM kernel FAIL: test_380_config_sched_stack_end_check (__main__.KernelSecurityConfigTest) Ensure SCHED_STACK_END_CHECK is set ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-kernel-security.py", line 2628, in test_380_config_sched_stack_end_check self.assertKernelConfig('SCHED_STACK_END_CHECK', expected) File "./test-kernel-security.py", line 207, in assertKernelConfig self.assertKernelConfigSet(name) File "./test-kernel-security.py", line 194, in assertKernelConfigSet '%s option was expected to be set in the kernel config' % name) AssertionError: SCHED_STACK_END_CHECK option was expected to be set in the kernel config ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1028-kvm 4.15.0-1028.28 ProcVersionSignature: User Name 4.15.0-1028.28-kvm 4.15.18 Uname: Linux 4.15.0-1028-kvm x86_64 ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 Date: Thu Jan 17 06:44:41 2019 SourcePackage: linux-kvm UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1812159/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp