DivestOS/Patches/Linux_CVEs/CVE-2017-0446/0.patch

35 lines
1.1 KiB
Diff

From 773179468893965c2b81aa7ffe3722b6868ef749 Mon Sep 17 00:00:00 2001
From: Andrew Chant <achant@google.com>
Date: Fri, 2 Dec 2016 21:56:40 -0800
Subject: [PATCH] input: touchscreen: disable generic update i/f
Disable the generic touchscreen firmware update hook.
The generic touchscreen firmware update driver has
security flaws and is not necessary for Marlin touchscreen
firmware updates.
synaptics_dsx_htc_2.6 still attempts firmware updates
via request_firmware on boot with this disabled.
BUG: 32917445
BUG: 32919560
BUG: 32769717
Change-Id: I272a1d1aba16b53647f2dde9dc7ff8b306179b43
Signed-off-by: Andrew Chant <achant@google.com>
---
drivers/input/touchscreen/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index b633d17ea8b18..1e7ce91810f41 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -1020,7 +1020,6 @@ config SECURE_TOUCH
config TOUCHSCREEN_TOUCH_FW_UPDATE
tristate "Touchscreen firmware update"
- default y
help
Say Y here to support touch firmware update