RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 655638 - [RFE] initscripts: kernel: make /proc/kallsyms mode 400 to reduce ease of attacking [rhel-6.1]
Summary: [RFE] initscripts: kernel: make /proc/kallsyms mode 400 to reduce ease of att...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 655640 655650 655652
TreeView+ depends on / blocked
 
Reported: 2010-11-22 02:58 UTC by Eugene Teo (Security Response)
Modified: 2010-11-22 04:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 655640 655650 655652 (view as bug list)
Environment:
Last Closed: 2010-11-22 04:23:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eugene Teo (Security Response) 2010-11-22 02:58:42 UTC
Description of problem:
Making /proc/kallsyms readable only for root by default makes it slightly harder for attackers to write generic kernel exploits by removing one source of knowledge where things are in the kernel.

This was originally committed in the kernel in upstream commit 59365d13 but was later reverted in 33e0d57f. It's unlikely that the upstream kernel would accept this patch again, so what we could do at our side is to "chmod -r /proc/kallsyms" in our bootup scripts. And make sure it doesn't break anything.

http://git.kernel.org/linus/59365d136d205cc20fe666ca7f89b1c5001b0d5a
http://git.kernel.org/linus/33e0d57f5d2f079104611be9f3fccc27ef2c6b24

Comment 1 Bill Nottingham 2010-11-22 04:23:54 UTC
Do it in the kernel, or don't do it. Doing it in initscripts is a kludge.


Note You need to log in before you can comment on or make changes to this bug.