[Bug 1131264] New: Backport x86/retpolines: Disable switch jump tables when retpolines are enabled (a9d57ef15cbe327fe54416dd194ee0ea66ae53a4)
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Bug ID: 1131264 Summary: Backport x86/retpolines: Disable switch jump tables when retpolines are enabled (a9d57ef15cbe327fe54416dd194ee0ea66ae53a4) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Please backport the revision into all Linux code streams where we have retpolines enabled. Some micro-benchmark numbers can be seen here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952#c21 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhocko@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bpetkov@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Andreas Taschner <andreas.taschner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.taschner@suse.com, | |brent.griggs@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c2 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Assignee|kernel-maintainers@forge.pr |martin.liska@suse.com |ovo.novell.com | --- Comment #2 from Martin Liška <martin.liska@suse.com> --- I'm going to backport the GCC patch into gcc7 and gcc48 packages that are used by SLE12 and SLE15. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Michal Svec <msvec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msvec@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |ibs:running:10984:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1131264) was mentioned in https://build.opensuse.org/request/show/697512 Factory / gcc7 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:10984:moderate |ibs:running:10984:moderate | |ibs:running:11036:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c6 --- Comment #6 from Andreas Taschner <andreas.taschner@suse.com> --- Would it be correct to expect that the next kernel updates for SLE 12 and 15 will be built with compilers that have this change in place ? Or will it only be those, who get released after the fix for this bug has been released in MUs ? Or .. ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c7 --- Comment #7 from Marcus Meissner <meissner@suse.com> --- The ones we release after these updates are released. I am not sure if we can meet the timeline for the next kernel updates. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c8 --- Comment #8 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2019:1104-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1131264 CVE References: Sources used: SUSE OpenStack Cloud 7 (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Workstation Extension 12-SP4 (src): libgcj48-4.8.5-31.20.1 SUSE Linux Enterprise Workstation Extension 12-SP3 (src): libgcj48-4.8.5-31.20.1 SUSE Linux Enterprise Software Development Kit 12-SP4 (src): gcc48-4.8.5-31.20.1, libffi48-4.8.5-31.20.1, libgcj48-4.8.5-31.20.1 SUSE Linux Enterprise Software Development Kit 12-SP3 (src): gcc48-4.8.5-31.20.1, libffi48-4.8.5-31.20.1, libgcj48-4.8.5-31.20.1 SUSE Linux Enterprise Server for SAP 12-SP2 (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server for SAP 12-SP1 (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server 12-SP4 (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server 12-SP3 (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server 12-SP2-LTSS (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server 12-SP2-BCL (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server 12-SP1-LTSS (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Server 12-LTSS (src): gcc48-4.8.5-31.20.1 SUSE Linux Enterprise Desktop 12-SP4 (src): gcc48-4.8.5-31.20.1, libgcj48-4.8.5-31.20.1 SUSE Linux Enterprise Desktop 12-SP3 (src): gcc48-4.8.5-31.20.1, libgcj48-4.8.5-31.20.1 SUSE Enterprise Storage 4 (src): gcc48-4.8.5-31.20.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2019:1105-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1084842,1114592,1124644,1128794,1129389,1131264 CVE References: Sources used: SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src): cross-arm-gcc7-7.4.1+r270528-4.6.1, cross-arm-none-gcc7-bootstrap-7.4.1+r270528-4.6.1, cross-avr-gcc7-bootstrap-7.4.1+r270528-4.6.1, cross-epiphany-gcc7-bootstrap-7.4.1+r270528-4.6.1, cross-hppa-gcc7-7.4.1+r270528-4.6.1, cross-i386-gcc7-7.4.1+r270528-4.6.1, cross-m68k-gcc7-7.4.1+r270528-4.6.1, cross-mips-gcc7-7.4.1+r270528-4.6.1, cross-ppc64-gcc7-7.4.1+r270528-4.6.1, cross-rx-gcc7-bootstrap-7.4.1+r270528-4.6.1, cross-sparc-gcc7-7.4.1+r270528-4.6.1, cross-sparc64-gcc7-7.4.1+r270528-4.6.1, gcc7-7.4.1+r270528-4.6.1, gcc7-testresults-7.4.1+r270528-4.6.1 SUSE Linux Enterprise Module for Development Tools 15 (src): cross-nvptx-gcc7-7.4.1+r270528-4.6.1, gcc7-7.4.1+r270528-4.6.1 SUSE Linux Enterprise Module for Basesystem 15 (src): gcc7-7.4.1+r270528-4.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c11 Borislav Petkov <bpetkov@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.liska@suse.com Flags| |needinfo?(martin.liska@suse | |.com) --- Comment #11 from Borislav Petkov <bpetkov@suse.com> --- (In reply to Martin Liška from comment #10)
I'm closing that as fixed.
Did the commit get backported to our kernels? I don't see it... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c12 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(martin.liska@suse | |.com) | --- Comment #12 from Martin Liška <martin.liska@suse.com> --- No, but as Jiri Kosina suggested, we backported the disablement at GCC side into SLE 12 and SLE 15 gcc compilers. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:10984:moderate | |ibs:running:11036:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:10128:moderate | |obs:running:10132:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c13 --- Comment #13 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2019:1409-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1131264 CVE References: Sources used: openSUSE Leap 42.3 (src): cross-aarch64-gcc48-icecream-backend-4.8.5-41.1, cross-armv6hl-gcc48-icecream-backend-4.8.5-41.1, cross-armv7hl-gcc48-icecream-backend-4.8.5-41.1, cross-i386-gcc48-icecream-backend-4.8.5-41.1, cross-ia64-gcc48-icecream-backend-4.8.5-41.1, cross-ppc-gcc48-icecream-backend-4.8.5-41.1, cross-ppc64-gcc48-icecream-backend-4.8.5-41.1, cross-ppc64le-gcc48-icecream-backend-4.8.5-41.1, cross-s390-gcc48-icecream-backend-4.8.5-41.1, cross-s390x-gcc48-icecream-backend-4.8.5-41.1, gcc48-4.8.5-41.1, gcc48-testresults-4.8.5-41.1, libffi48-4.8.5-41.1, libgcj48-4.8.5-41.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c14 --- Comment #14 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2019:1415-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1084842,1114592,1124644,1128794,1129389,1131264 CVE References: Sources used: openSUSE Leap 15.0 (src): gcc7-7.4.1+r270528-lp150.9.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:10128:moderate | |obs:running:10132:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:10393:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c15 --- Comment #15 from Andreas Taschner <andreas.taschner@suse.com> --- Is it possible to establish whether yesterday's wave of SLE 12+ kernels have been compiled with this optimization in place ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Andreas Taschner <andreas.taschner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(meissner@suse.com | |) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c17 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(meissner@suse.com | |) | --- Comment #17 from Marcus Meissner <meissner@suse.com> --- We built all kernels with the newer gcc that optimize better when retpolines are enabled, yes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c18 Nicola Di Marzo <nicola.dimarzo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicola.dimarzo@suse.com --- Comment #18 from Nicola Di Marzo <nicola.dimarzo@suse.com> --- I am following up on this bug on Ericsson's behalf since customer asked to confirm if latest 12 SP2 LTSS kernel version now includes this optimization referenced in this bugzilla However, there does not seem to be any reference about it in the kernel changelog. and neither looking at the kernel config: strings boot/vmlinuz-4.4.121-92.117-default | grep gcc | grep version 4.4.121-92.117-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) ) #1 SMP Tue Jul 9 10:25:00 UTC 2019 (c78052b) Can you please cofirm that the latest 12 SP2 LTSS kernel has been built with this optimization can also the changelog be updated as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(meissner@suse.com | |) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 http://bugzilla.suse.com/show_bug.cgi?id=1131264#c19 --- Comment #19 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2019:1982-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1084842,1114592,1124644,1128794,1129389,1131264 CVE References: Sources used: openSUSE Leap 15.1 (src): gcc7-7.4.1+r270528-lp151.2.3.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:10393:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1131264 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(meissner@suse.com | |) | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1131264 Andreas Taschner <andreas.taschner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|andreas.taschner@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1131264 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcheung@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com