Bug 1569560 (CVE-2017-18261) - CVE-2017-18261 kernel: Infinite recursion in arch/arm64/include/asm/arch_timer.h:arch_timer_reg_read_stable macro allows local users to cause denial of service
Summary: CVE-2017-18261 kernel: Infinite recursion in arch/arm64/include/asm/arch_time...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-18261
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1569569
TreeView+ depends on / blocked
 
Reported: 2018-04-19 13:50 UTC by Adam Mariš
Modified: 2021-02-17 00:25 UTC (History)
44 users (show)

Fixed In Version: kernel 4.13
Doc Type: If docs needed, set a value
Doc Text:
The arch_timer_reg_read_stable macro in arch/arm64/include/asm/arch_timer.h in the Linux kernel, before 4.13, allows local users to cause a denial of service (infinite recursion) by writing to a file under /sys/kernel/debug in certain circumstances, as demonstrated by a scenario involving debugfs, ftrace, PREEMPT_TRACER, and FUNCTION_GRAPH_TRACER.
Clone Of:
Environment:
Last Closed: 2018-04-23 14:22:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-04-19 13:50:51 UTC
The arch_timer_reg_read_stable macro in arch/arm64/include/asm/arch_timer.h in the Linux kernel before 4.13 allows local users to cause a denial of service (infinite recursion) by writing to a file under /sys/kernel/debug in certain circumstances, as demonstrated by a scenario involving debugfs, ftrace, PREEMPT_TRACER, and FUNCTION_GRAPH_TRACER.

Upstream fix:

https://github.com/torvalds/linux/commit/adb4f11e0a8f4e29900adb2b7af28b6bbd5c1fa4

Introduced by:

https://github.com/torvalds/linux/commit/6acc71ccac7187fc0ef85f10bd09c2058f21fab5


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