Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Secuity Advisor Kernel Warning

Discussion in 'Security' started by EneTar, Jan 3, 2018.

  1. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    137
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    During the last week I get this on the Security Advisor of two different CentOS 6.9 with WHM v68.0.21

    Code:
    The system kernel is at version “”, but is set to boot to version “2.6.32-696.16.1.el6.x86_64”.
    You must take one of the following actions to ensure the system is up-to-date:
    Wait a few days for KernelCare to publish a kernel patch.
    Reboot the system.
    Rebooting doesn't do anything.

    Both servers report this
    Code:
    #uname -r
    2.6.32-696.16.1.el6.x86_64
    #kcare-uname -r
    2.6.32-696.16.1.el6.x86_64
    
    Is this a bug?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you share a screenshot of the security advisory here? We will need to see that page fully.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,585
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No need.
    That shows the issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    137
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Here is the screenshot. Everything else is green


    cdn.pbrd.co/images/H1oRa5i.jpg

    So how to fix the issue?
     
    #4 EneTar, Jan 4, 2018
    Last edited by a moderator: Jan 4, 2018
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you run the following commands and let us know the output?

    Code:
    kcarectl --version
    kcarectl --check
    /usr/local/cpanel/3rdparty/bin/perl -e 'use Cpanel::Kernel::Status; use Data::Dumper; my $kernel = Cpanel::Kernel::Status::kernel_status(); print Dumper \$kernel;'
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    137
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Yes here is the output

    Code:
    # kcarectl --version
    2.14-2
    # kcarectl --check
    The latest patch is applied.
    # /usr/local/cpanel/3rdparty/bin/perl -e 'use Cpanel::Kernel::Status; use Data::Dumper; my $kernel = Cpanel::Kernel::Status::kernel_status(); print Dumper \$kernel;'
    $VAR1 = \{
                'has_kernelcare' => 1,
                'running_latest' => '',
                'boot_version' => '2.6.32-696.16.1.el6.x86_64',
                'running_version' => '',
                'reboot_required' => 1,
                'unpatched_version' => '2.6.32-696.16.1.el6.x86_64'
              };
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like the running kernel isn't detected. Feel free to open a support ticket using the link in my signature so we can take a closer look to see what's happening.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    137
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    I will. However this message appeared after a cPanel update in late November or early December. Both servers are in the Release channel.
     
  9. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    202
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    Western US
    cPanel Access Level:
    DataCenter Provider
    Same issue here. We installed the KernelCare free patch:

    Code:
    [ root@cp1 ~># kcarectl --version
    2.14-2
    
    [ root@cp1 ~># kcarectl --check
    The latest patch is applied.
    
    [ root@cp1 ~># /usr/local/cpanel/3rdparty/bin/perl -e 'use Cpanel::Kernel::Status; use Data::Dumper; my $kernel = Cpanel::Kernel::Status::kernel_status(); print Dumper \$kernel;'
    $VAR1 = \{
                'reboot_required' => 1,
                'unpatched_version' => '2.6.32-696.18.7.el6.x86_64',
                'running_version' => '',
                'has_kernelcare' => 1,
                'boot_version' => '2.6.32-696.18.7.el6.x86_64',
                'running_latest' => ''
              };
    
     
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @jndawson,

    Could you open a support ticket so we can take a closer look?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    136
    Likes Received:
    21
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    Can we get some feedback on this? It seems to be pretty common issue with KernelCare of late.

    Am I correct that this KernelCare info in security advisor replaces the normal notice that shows up in WHM when a new kernel version is available?

    My experience is that KC is correct that a new kernel is available but just can't detect the current version. If so then it's not a huge problem, you just check your current vs what's available and update it if you choose. But the bug is still annoying, so is there a fix, or will that come in an update to KC?
     
  12. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    137
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    I think this is fixed in 70 but they forgot to update this thread. It's a bug in 68.
     
    PeteS likes this.
  13. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    136
    Likes Received:
    21
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    Thanks for that. I'm still on 68.
     
  14. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    cPanel verison 70 includes the following case:

    Implemented case CPANEL-17016: Add support for detecting and installing KernelCare's free patch set.

    This should address the issue you have described.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice