Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1419916 - (CVE-2017-2618) CVE-2017-2618 kernel: Off-by-one error in selinux_setprocattr (/proc/self/attr/fscreate)
CVE-2017-2618 kernel: Off-by-one error in selinux_setprocattr (/proc/self/att...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170216,repor...
: Security
Depends On: 1422368 1422369 1422370 1422371 1422372 1422373 1422717
Blocks: 1419918
  Show dependency treegraph
 
Reported: 2017-02-07 06:59 EST by Adam Mariš
Modified: 2018-09-21 18:00 EDT (History)
44 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's handling of clearing SELinux attributes on /proc/pid/attr files. An empty (null) write to this file can crash the system by causing the system to attempt to access unmapped kernel memory.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3163 normal SHIPPED_LIVE new packages: kernel-alt 2017-11-09 09:59:25 EST
Red Hat Product Errata RHSA-2017:0931 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2017-04-12 10:51:25 EDT
Red Hat Product Errata RHSA-2017:0932 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2017-04-12 10:51:03 EDT
Red Hat Product Errata RHSA-2017:0933 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2017-04-12 13:29:20 EDT

  None (edit)
Description Adam Mariš 2017-02-07 06:59:42 EST
A flaw was found in the Linux kernels handling of clearing SELinux attributes on /proc/pid/attr files.  An empty (null) write to this file can crash the system by causing the system to attempt to access unmapped kernel memory.

This may lead to local DoS by panicing the system.

Proposed patch:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=0c461cb727d146c9ef2d3e86214f498b78b7d125

https://marc.info/?l=selinux&m=148588165923772&w=2
Comment 2 Paul Moore 2017-02-07 07:59:47 EST
To be clear, the problem is not with libselinux but the kernel itself (see the proposed patch in the original problem description).
Comment 3 Adam Mariš 2017-02-07 08:08:12 EST
(In reply to Paul Moore from comment #2)
> To be clear, the problem is not with libselinux but the kernel itself (see
> the proposed patch in the original problem description).

Ah, sorry, my fault. Fixed!
Comment 6 Wade Mealing 2017-02-15 01:39:47 EST
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6 due to a missing commit ( bb646cdb12e75d82258c2f2e7746d5952d3e321a ) which enabled changed system behavior.

This issue does affect Red Hat Enteprise Linux 7 and MRG-2 kernels. A future Linux kernel updates for the respective releases may address this issue.
Comment 7 Wade Mealing 2017-02-15 01:41:23 EST
Acknowledgements:

Name: Paul Moore (Red Hat Engineering)
Comment 12 Wade Mealing 2017-02-15 20:15:32 EST
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1422717]
Comment 13 errata-xmlrpc 2017-04-12 06:53:14 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise MRG 2

Via RHSA-2017:0932 https://access.redhat.com/errata/RHSA-2017:0932
Comment 14 errata-xmlrpc 2017-04-12 06:56:53 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:0931 https://access.redhat.com/errata/RHSA-2017:0931
Comment 15 errata-xmlrpc 2017-04-12 09:35:39 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:0933 https://access.redhat.com/errata/RHSA-2017:0933

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