Bug 554578 (CVE-2010-0003)

Summary: CVE-2010-0003 kernel: infoleak if print-fatal-signals=1
Product: [Other] Security Response Reporter: Eugene Teo (Security Response) <eteo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: atangrin, bhu, dhoward, jolsa, lgoncalv, maurizio, rkhan, vgoyal, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 09:09:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 554580, 554581, 554582, 554583, 554584    
Bug Blocks:    

Description Eugene Teo (Security Response) 2010-01-12 02:49:25 UTC
Description of problem:
When print-fatal-signals is enabled it's possible to dump any memory reachable by the kernel to the log by simply jumping to that address from user space.

Or crash the system if there's some hardware with read side effects.

The fatal signals handler will dump 16 bytes at the execution address, which is fully controlled by ring 3.

In addition when something jumps to a unmapped address there will be up to 16 additional useless page faults, which might be potentially slow (and at least is not very efficient)

Fortunately this option is off by default and only there on i386.

But fix it by checking for kernel addresses and also stopping when there's a page fault.

References:
http://patchwork.kernel.org/patch/69752/
http://git.kernel.org/linus/b45c6e76bc2c72f6426c14bed64fdcbc9bf37cb0

Comment 1 Eugene Teo (Security Response) 2010-01-12 02:50:38 UTC
print-fatal-signals is turned off by default in Red Hat Enterprise Linux 3, 4, 5, and Red Hat Enterprise MRG.

Comment 3 Fedora Update System 2010-01-22 11:40:19 UTC
kernel-2.6.30.10-105.2.4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/kernel-2.6.30.10-105.2.4.fc11

Comment 4 Fedora Update System 2010-01-22 22:36:13 UTC
kernel-2.6.30.10-105.2.4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 errata-xmlrpc 2010-03-17 00:19:09 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0147 https://rhn.redhat.com/errata/RHSA-2010-0147.html

Comment 6 errata-xmlrpc 2010-03-17 00:47:06 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2010:0146 https://rhn.redhat.com/errata/RHSA-2010-0146.html

Comment 7 errata-xmlrpc 2010-03-23 15:42:49 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2010:0161 https://rhn.redhat.com/errata/RHSA-2010-0161.html