Updating to RHEL7.9 changes kernel.kptr_restrict value

Solution Unverified - Updated -


  • When updating from a lower version of RHEL7 to RHEL7.9, the value of kernel parameter kernel.kptr_restrict is changed from 0 to 1.
  • A lower version of RHEL7
# sysctl kernel.kptr_restrict
kernel.kptr_restrict = 0
  • RHEL7.9
# sysctl kernel.kptr_restrict
kernel.kptr_restrict = 1


  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content