Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1425727 > unrolled thread
| Started by | Tomasz Figa <tomasz.figa@gmail.com> |
|---|---|
| First post | 2016-06-18 16:40 +0200 |
| Last post | 2016-06-18 16:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] clk: samsung: Suppress unbinding to prevent theoretical attacks Tomasz Figa <tomasz.figa@gmail.com> - 2016-06-18 16:40 +0200
| From | Tomasz Figa <tomasz.figa@gmail.com> |
|---|---|
| Date | 2016-06-18 16:40 +0200 |
| Subject | Re: [PATCH] clk: samsung: Suppress unbinding to prevent theoretical attacks |
| Message-ID | <rLpzH-5f3-7@gated-at.bofh.it> |
Hi, 2016-05-17 16:26 GMT+09:00 Krzysztof Kozlowski <k.kozlowski@samsung.com>: > Although unbinding a driver requires root privileges but it still might > be used theoretically in certain attacks (by triggering NULL pointer > exception or memory corruption if driver does not provide proper remove > callbacks or core does not handle it). > > Samsung clock drivers are essential for system operation so their > removal is not expected. More over, the Exynos3250 ISP clock driver does > not implement remove() driver callback and it is not buildable as > modules. > > Suppress the unbind interface for Exynos3250 ISP and S3C2410 DCLK clock > drivers. > > Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com> > Cc: Marek Szyprowski <m.szyprowski@samsung.com> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > --- > drivers/clk/samsung/clk-exynos3250.c | 1 + > drivers/clk/samsung/clk-s3c2410-dclk.c | 5 +++-- > 2 files changed, 4 insertions(+), 2 deletions(-) Makes sense. (By the way, I wonder if we ever see a solution for the unbind problem with .remove implemented and some resources that can't be released at the time .unbind is attempted...) Acked-by: Tomasz Figa <tomasz.figa@gmail.com> Best regards, Tomasz
Back to top | Article view | linux.kernel
csiph-web