Activity log for bug #1911376

Date Who What changed Old value New value Message
2021-01-13 03:04:39 Fred Kimmy bug added bug
2021-01-13 03:05:33 Fred Kimmy nominated for series kunpeng920/ubuntu-18.04
2021-01-13 03:05:33 Fred Kimmy bug task added kunpeng920/ubuntu-18.04
2021-01-13 06:14:46 Fred Kimmy summary [ssbs-0118] backport SSB bug (arm64: cpufeature: Detect SSBS and advertise to userspace) [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)
2021-01-13 11:36:41 Taihsiang Ho kunpeng920/ubuntu-18.04: status New Incomplete
2021-01-13 11:36:44 Taihsiang Ho kunpeng920: status New Incomplete
2021-01-15 16:22:33 Taihsiang Ho tags tairadar
2021-01-22 04:20:14 Ike Panhc kunpeng920/ubuntu-18.04: status Incomplete In Progress
2021-01-22 04:20:17 Ike Panhc kunpeng920: status Incomplete In Progress
2021-01-22 04:20:20 Ike Panhc kunpeng920: assignee Ike Panhc (ikepanhc)
2021-01-22 04:20:22 Ike Panhc kunpeng920/ubuntu-18.04: assignee Ike Panhc (ikepanhc)
2021-01-22 05:00:45 Ike Panhc bug task added linux (Ubuntu)
2021-01-22 05:00:59 Ike Panhc nominated for series Ubuntu Bionic
2021-01-22 05:00:59 Ike Panhc bug task added linux (Ubuntu Bionic)
2021-01-22 05:01:07 Ike Panhc linux (Ubuntu): status New In Progress
2021-01-22 05:01:11 Ike Panhc linux (Ubuntu Bionic): status New In Progress
2021-01-22 05:01:17 Ike Panhc linux (Ubuntu): status In Progress Invalid
2021-01-22 05:01:19 Ike Panhc linux (Ubuntu Bionic): assignee Ike Panhc (ikepanhc)
2021-02-04 14:14:22 Ike Panhc description [Bug Description] ubuntu 18.04.1 fail to enable this SSBS function, this sys log will call trace as follow: [ 0.662089] Call trace: [ 0.662870] setup_elf_hwcaps+0xb8/0xd4 [ 0.664023] setup_cpu_features+0x60/0xf8 [ 0.665216] smp_cpus_done+0x34/0xa8 [ 0.666547] smp_init+0x120/0x138 [ 0.667555] kernel_init_freeable+0xf4/0x260 [ 0.668860] kernel_init+0x18/0x110 [ 0.670025] ret_from_fork+0x10/0x18 [Steps to Reproduce] 1) boot this system 2) uname -a Ubuntu 4.15.0-99.100-generic 4.15.18 [Actual Results] boot error: [ 0.662089] Call trace: [ 0.662870] setup_elf_hwcaps+0xb8/0xd4 [ 0.664023] setup_cpu_features+0x60/0xf8 [ 0.665216] smp_cpus_done+0x34/0xa8 [ 0.666547] smp_init+0x120/0x138 [ 0.667555] kernel_init_freeable+0xf4/0x260 [ 0.668860] kernel_init+0x18/0x110 [ 0.670025] ret_from_fork+0x10/0x18 [Expected Results] no error [Reproducibility] NA [Additional information] (Firmware version, kernel version, affected hardware, etc. if required): arm64: cpufeature: Detect SSBS and advertise to userspace https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71be2b6c0e19180b5f80a6d42039cc074a693a2 backport this following code into "static const struct arm64_cpu_capabilities arm64_elf_hwcaps[]" which will be error. 1274 #ifdef CONFIG_ARM64_SSBD 1275 { 1276 .desc = "Speculative Store Bypassing Safe (SSBS)", 1277 .capability = ARM64_SSBS, 1278 .type = ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE, 1279 .matches = has_cpuid_feature, 1280 .sys_reg = SYS_ID_AA64PFR1_EL1, 1281 .field_pos = ID_AA64PFR1_SSBS_SHIFT, 1282 .sign = FTR_UNSIGNED, 1283 .min_field_value = ID_AA64PFR1_SSBS_PSTATE_ONLY, 1284 .cpu_enable = cpu_enable_ssbs, 1285 }, [Resolution] Can you backport aboving code into "static const struct arm64_cpu_capabilities arm64_features[] = {"? [Impact] The SSBS patch in 4.14 stable kernel, and mainline kernel adds snippet into arm64_cpufeatures but in bionic kernel, it is landed into arm64_elf_hwcaps. [Fix] Move SSBS snippet from arm64_elf_hwcaps back to arm64_features [Test] No known tool for SSB attack. Regression test only. [Regression Potential] Regression might be on all arm64 platforms. Regression test on all arm64 platform we have is recommended. ================================= [Bug Description] ubuntu 18.04.1 fail to enable this SSBS function, this sys log will call trace as follow: [ 0.662089] Call trace: [ 0.662870] setup_elf_hwcaps+0xb8/0xd4 [ 0.664023] setup_cpu_features+0x60/0xf8 [ 0.665216] smp_cpus_done+0x34/0xa8 [ 0.666547] smp_init+0x120/0x138 [ 0.667555] kernel_init_freeable+0xf4/0x260 [ 0.668860] kernel_init+0x18/0x110 [ 0.670025] ret_from_fork+0x10/0x18 [Steps to Reproduce] 1) boot this system 2) uname -a Ubuntu 4.15.0-99.100-generic 4.15.18 [Actual Results]  boot error: [ 0.662089] Call trace: [ 0.662870] setup_elf_hwcaps+0xb8/0xd4 [ 0.664023] setup_cpu_features+0x60/0xf8 [ 0.665216] smp_cpus_done+0x34/0xa8 [ 0.666547] smp_init+0x120/0x138 [ 0.667555] kernel_init_freeable+0xf4/0x260 [ 0.668860] kernel_init+0x18/0x110 [ 0.670025] ret_from_fork+0x10/0x18 [Expected Results] no error [Reproducibility] NA [Additional information] (Firmware version, kernel version, affected hardware, etc. if required): arm64: cpufeature: Detect SSBS and advertise to userspace https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71be2b6c0e19180b5f80a6d42039cc074a693a2 backport this following code into "static const struct arm64_cpu_capabilities arm64_elf_hwcaps[]" which will be error. 1274 #ifdef CONFIG_ARM64_SSBD 1275 { 1276 .desc = "Speculative Store Bypassing Safe (SSBS)", 1277 .capability = ARM64_SSBS, 1278 .type = ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE, 1279 .matches = has_cpuid_feature, 1280 .sys_reg = SYS_ID_AA64PFR1_EL1, 1281 .field_pos = ID_AA64PFR1_SSBS_SHIFT, 1282 .sign = FTR_UNSIGNED, 1283 .min_field_value = ID_AA64PFR1_SSBS_PSTATE_ONLY, 1284 .cpu_enable = cpu_enable_ssbs, 1285 }, [Resolution] Can you backport aboving code into "static const struct arm64_cpu_capabilities arm64_features[] = {"?
2021-02-17 17:15:41 Taihsiang Ho tags tairadar
2021-02-19 10:31:39 Stefan Bader linux (Ubuntu Bionic): importance Undecided Medium
2021-02-19 10:31:39 Stefan Bader linux (Ubuntu Bionic): status In Progress Fix Committed
2021-02-22 03:33:48 Ike Panhc kunpeng920/ubuntu-18.04: status In Progress Fix Committed
2021-02-22 03:33:51 Ike Panhc kunpeng920: status In Progress Fix Committed
2021-02-24 13:23:14 Ubuntu Kernel Bot tags verification-needed-bionic
2021-02-28 15:01:07 Ike Panhc tags verification-needed-bionic verification-done-bionic
2021-03-15 10:18:31 Launchpad Janitor linux (Ubuntu Bionic): status Fix Committed Fix Released
2021-03-15 15:52:04 Andrew Cloke kunpeng920/ubuntu-18.04: status Fix Committed Fix Released
2021-03-15 15:52:06 Andrew Cloke kunpeng920: status Fix Committed Fix Released