Bug 1553911 (CVE-2018-7995) - CVE-2018-7995 kernel: Race condition in the store_int_with_restart() function in cpu/mcheck/mce.c
Summary: CVE-2018-7995 kernel: Race condition in the store_int_with_restart() function...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-7995
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20180309,reported=2...
Depends On: 1553918
Blocks: 1553913
TreeView+ depends on / blocked
 
Reported: 2018-03-09 21:04 UTC by Pedro Sampaio
Modified: 2019-06-08 22:45 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A race condition in the store_int_with_restart() function in arch/x86/kernel/cpu/mcheck/mce.c in the Linux kernel allows local users to cause a denial of service (panic) by leveraging root access to write to the check_interval file in a /sys/devices/system/machinecheck/machinecheck<cpu number> directory.
Clone Of:
Environment:
Last Closed: 2018-03-22 11:47:45 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2018-03-09 21:04:02 UTC
Race condition in the store_int_with_restart() function in arch/x86/kernel/cpu/mcheck/mce.c in the Linux kernel allows local users to cause a denial of service (panic) by leveraging root access to write to the check_interval file in a /sys/devices/system/machinecheck/machinecheck<cpu number> directory.

References:

https://lkml.org/lkml/2018/3/2/970

An upsteam patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b3b7c4795ccab5be71f080774c45bbbcc75c2aaf

Comment 1 Pedro Sampaio 2018-03-09 21:20:12 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1553918]

Comment 2 Fedora Update System 2018-03-16 16:18:33 UTC
kernel-4.15.9-200.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Vladis Dronov 2018-03-22 11:42:57 UTC
Notes:

Since only root can write to the mentioned sysfs variables, the issue is not a security flaw.


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