[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-03-15 Thread Andrew Cloke
** Changed in: kunpeng920/ubuntu-18.04
   Status: Fix Committed => Fix Released

** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-03-15 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-137.141

---
linux (4.15.0-137.141) bionic; urgency=medium

  * bionic/linux: 4.15.0-137.141 -proposed tracker (LP: #1916199)

  * Fix oops in skb_segment for Bionic series (LP: #1915552)
- net: permit skb_segment on head_frag frag_list skb
- net: bpf: add a test for skb_segment in test_bpf module
- test_bpf: Fix NULL vs IS_ERR() check in test_skb_segment()

  * Bionic update: upstream stable patchset 2021-02-10 (LP: #1915328)
- net: cdc_ncm: correct overhead in delayed_ndp_size
- net: vlan: avoid leaks on register_vlan_dev() failures
- net: ip: always refragment ip defragmented packets
- net: fix pmtu check in nopmtudisc mode
- x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR
- x86/resctrl: Don't move a task to the same resource group
- vmlinux.lds.h: Add PGO and AutoFDO input sections
- drm/i915: Fix mismatch between misplaced vma check and vma insert
- spi: pxa2xx: Fix use-after-free on unbind
- iio: imu: st_lsm6dsx: flip irq return logic
- iio: imu: st_lsm6dsx: fix edge-trigger interrupts
- ARM: OMAP2+: omap_device: fix idling of devices during probe
- i2c: sprd: use a specific timeout to avoid system hang up issue
- cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
- spi: stm32: FIFO threshold level - fix align packet size
- dmaengine: xilinx_dma: check dma_async_device_register return value
- dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
- wil6210: select CONFIG_CRC32
- block: rsxx: select CONFIG_CRC32
- iommu/intel: Fix memleak in intel_irq_remapping_alloc
- net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
- net/mlx5e: Fix two double free cases
- wan: ds26522: select CONFIG_BITREVERSE
- KVM: arm64: Don't access PMCR_EL0 when no PMU is available
- block: fix use-after-free in disk_part_iter_next
- net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed
  packet
- net: hns3: fix the number of queues actually used by ARQ
- net: stmmac: dwmac-sun8i: Balance internal PHY resource references
- net: stmmac: dwmac-sun8i: Balance internal PHY power
- net/sonic: Fix some resource leaks in error handling paths
- net: ipv6: fib: flush exceptions when purging route
- dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
- lightnvm: select CONFIG_CRC32
- ASoC: dapm: remove widget from dirty list on free
- MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
- MIPS: relocatable: fix possible boot hangup with KASLR enabled
- ACPI: scan: Harden acpi_device_add() against device ID overflows
- mm/hugetlb: fix potential missing huge page size info
- dm snapshot: flush merged data before committing metadata
- r8152: Add Lenovo Powered USB-C Travel Hub
- ext4: fix bug for rename with RENAME_WHITEOUT
- ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
- ARC: build: add uImage.lzma to the top-level target
- ARC: build: add boot_targets to PHONY
- btrfs: fix transaction leak and crash after RO remount caused by qgroup
  rescan
- ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram
- arch/arc: add copy_user_page() to  to fix build error on ARC
- misdn: dsp: select CONFIG_BITREVERSE
- net: ethernet: fs_enet: Add missing MODULE_LICENSE
- ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
- ARM: picoxcell: fix missing interrupt-parent properties
- dump_common_audit_data(): fix racy accesses to ->d_name
- ASoC: Intel: fix error code cnl_set_dsp_D0()
- NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
- pNFS: Mark layout for return if return-on-close was not sent
- NFS: nfs_igrab_and_active must first reference the superblock
- ext4: fix superblock checksum failure when setting password salt
- RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
- mm, slub: consider rest of partial list if acquire_slab() fails
- net: sunrpc: interpret the return value of kstrtou32 correctly
- dm: eliminate potential source of excessive kernel log noise
- ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
- ALSA: fireface: Fix integer overflow in transmit_midi_msg()
- netfilter: conntrack: fix reading nf_conntrack_buckets
- usb: ohci: Make distrust_firmware param default to false
- nfsd4: readdirplus shouldn't return parent of export
- netxen_nic: fix MSI/MSI-x interrupts
- rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request
- esp: avoid unneeded kmap_atomic call
- net: dcb: Validate netlink message in DCB handler
- net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands
- net: stmmac: Fixed mtu channged by cache aligned
- net: sit: unregister_netdevice on 

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-02-28 Thread Ike Panhc
Regression test on d05, kunpeng920, crb1s and crb2s all passed. Thanks.

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-02-24 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-02-21 Thread Ike Panhc
** Changed in: kunpeng920/ubuntu-18.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-02-19 Thread Stefan Bader
** Changed in: linux (Ubuntu Bionic)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-02-17 Thread Taihsiang Ho
** Tags removed: tairadar

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-02-04 Thread Ike Panhc
** Description changed:

+ [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  
-  
+ 
+ [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
  
- [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[] = {"?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-01-23 Thread Ike Panhc
Hi,

Could you test the kernel debs here? Thanks

https://kernel.ubuntu.com/~ikepanhc/lp1911376.1/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1911376] Re: [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and advertise to userspace)

2021-01-21 Thread Ike Panhc
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
   Status: In Progress => Invalid

** Changed in: linux (Ubuntu Bionic)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911376

Title:
  [ssbs-0118] backport SSBS bug (arm64: cpufeature: Detect SSBS and
  advertise to userspace)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1911376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs