Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-361

jsvc doesn't work after kernel CVE fix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • jsvc 1.0.15 GA
    • jsvc
    • None
    • Hide

      On my machine, increasing the JVM's stack size allows the JVM to start:

      JAVA_OPTS="-Xss1173k"
      
      Show
      On my machine, increasing the JVM's stack size allows the JVM to start: JAVA_OPTS="-Xss1173k"
    • Hide
      $ yum install tomcat8-jsvc -y
      $ service tomcat8-jsvc start
      $ cat /var/log/tomcat8/catalina.out 
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGBUS (0x7) at pc=0x00007f3ac953a548, pid=11331, tid=139890559764288
      #
      # JRE version:  (7.0_141-b02) (build )
      # Java VM: OpenJDK 64-Bit Server VM (24.141-b02 mixed mode linux-amd64 compressed oops)
      # Derivative: IcedTea 2.6.10
      # Distribution: Red Hat Enterprise Linux Server release 7.3 (Maipo), package rhel-2.6.10.1.el7_3-x86_64 u141-b02
      # Problematic frame:
      # j  java.lang.Object.<clinit>()V+0
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /tmp/jvm-11331/hs_error.log
      #
      # If you would like to submit a bug report, please include
      # instructions on how to reproduce the bug and visit:
      #   http://icedtea.classpath.org/bugzilla
      #
      
      Show
      $ yum install tomcat8-jsvc -y $ service tomcat8-jsvc start $ cat /var/log/tomcat8/catalina.out # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x00007f3ac953a548, pid=11331, tid=139890559764288 # # JRE version: (7.0_141-b02) (build ) # Java VM: OpenJDK 64-Bit Server VM (24.141-b02 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea 2.6.10 # Distribution: Red Hat Enterprise Linux Server release 7.3 (Maipo), package rhel-2.6.10.1.el7_3-x86_64 u141-b02 # Problematic frame: # j java.lang.Object.<clinit>()V+0 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /tmp/jvm-11331/hs_error.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla #

      This was brought to my attention in #tomcat on Freenode It looks like CVE-2017-1000364 causes the JVM to crash during initialization when executed under JSVC. More details are on the upstream jira (linked).

            gzaronik@redhat.com George Zaronikas
            rhn-support-csutherl Coty Sutherland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: