Christoph Hellwig
1d24328048
modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
...
commit 9011e49d54 upstream.
It has recently come to my attention that nvidia is circumventing the
protection added in 262e6ae708 ("modules: inherit
TAINT_PROPRIETARY_MODULE") by importing exports from their proprietary
modules into an allegedly GPL licensed module and then rexporting them.
Given that symbol_get was only ever intended for tightly cooperating
modules using very internal symbols it is logical to restrict it to
being used on EXPORT_SYMBOL_GPL and prevent nvidia from costly DMCA
Circumvention of Access Controls law suites.
All symbols except for four used through symbol_get were already exported
as EXPORT_SYMBOL_GPL, and the remaining four ones were switched over in
the preparation patches.
Fixes: 262e6ae708 ("modules: inherit TAINT_PROPRIETARY_MODULE")
Signed-off-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-23 10:59:36 +02:00
..
2023-07-27 08:37:42 +02:00
2023-06-28 10:18:36 +02:00
2018-10-24 20:55:56 -04:00
2023-04-20 12:07:32 +02:00
2023-06-09 10:29:01 +02:00
2023-08-11 11:53:54 +02:00
2023-01-18 11:41:42 +01:00
2023-05-17 11:35:46 +02:00
2022-10-26 13:22:18 +02:00
2023-06-09 10:29:01 +02:00
2023-01-18 11:40:53 +01:00
2022-04-15 14:18:08 +02:00
2023-03-11 16:43:54 +01:00
2023-07-27 08:37:42 +02:00
2023-07-27 08:37:42 +02:00
2023-08-30 16:27:23 +02:00
2021-05-11 14:04:16 +02:00
2023-01-18 11:41:34 +01:00
2023-06-09 10:29:01 +02:00
2022-09-05 10:27:38 +02:00
2021-09-03 10:08:16 +02:00
2020-10-01 13:17:32 +02:00
2023-06-09 10:29:01 +02:00
2022-04-15 14:18:04 +02:00
2020-06-22 09:30:59 +02:00
2022-04-15 14:18:04 +02:00
2023-04-20 12:07:32 +02:00
2018-10-31 08:54:14 -07:00
2019-01-25 11:22:43 -08:00
2023-04-05 11:16:42 +02:00
2019-07-30 18:34:15 +02:00
2019-05-21 10:50:45 +02:00
2020-06-22 09:31:22 +02:00
2022-06-22 14:11:12 +02:00
2019-06-19 17:09:06 +02:00
2019-05-21 10:50:45 +02:00
2020-01-17 19:48:42 +01:00
2019-05-21 11:52:39 +02:00
2018-05-16 07:23:35 +02:00
2018-05-16 07:23:35 +02:00
2023-06-09 10:29:01 +02:00
2023-06-09 10:29:01 +02:00
2023-03-11 16:44:15 +01:00
2023-08-08 19:56:36 +02:00
2019-10-06 09:11:37 -06:00
2023-06-09 10:29:01 +02:00
2020-09-03 11:27:10 +02:00
2017-12-14 16:00:49 -08:00
2019-05-21 10:50:45 +02:00
2019-07-12 11:05:40 -07:00
2019-05-21 10:50:45 +02:00
2019-08-29 15:10:10 +01:00
2020-07-16 08:16:44 +02:00
2021-01-09 13:44:55 +01:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-07-22 18:05:11 +02:00
2019-03-07 18:32:02 -08:00
2023-07-27 08:37:10 +02:00
2019-09-06 23:58:44 +02:00
2023-06-21 15:44:10 +02:00
2017-11-02 11:10:55 +01:00
2019-08-19 21:54:15 -07:00
2023-05-17 11:35:33 +02:00
2020-04-17 10:50:22 +02:00
2023-03-11 16:44:02 +01:00
2019-05-30 11:26:39 -07:00
2021-09-12 08:56:39 +02:00
2019-06-05 17:37:17 +02:00
2021-05-11 14:04:16 +02:00
2021-04-07 14:47:38 +02:00
2021-04-07 14:47:38 +02:00
2019-05-24 17:27:11 +02:00
2023-09-23 10:59:36 +02:00
2020-10-01 13:17:23 +02:00
2019-06-05 17:37:17 +02:00
2020-06-17 16:40:22 +02:00
2023-02-06 07:52:50 +01:00
2019-08-19 21:54:16 -07:00
2021-09-22 12:26:37 +02:00
2019-07-16 19:23:24 -07:00
2022-08-25 11:18:02 +02:00
2022-06-14 18:11:24 +02:00
2017-11-02 11:10:55 +01:00
2020-11-18 19:20:30 +01:00
2023-05-17 11:35:58 +02:00
2020-06-24 17:50:35 +02:00
2019-05-27 09:36:28 -05:00
2022-02-16 12:52:53 +01:00
2022-07-21 20:59:27 +02:00
2022-04-20 09:19:39 +02:00
2021-02-07 15:35:49 +01:00
2017-11-02 11:10:55 +01:00
2019-07-08 11:01:13 -07:00
2018-12-05 19:31:44 -08:00
2019-11-04 21:19:25 +01:00
2019-10-17 12:47:12 +02:00
2022-09-05 10:27:38 +02:00
2023-01-24 07:17:59 +01:00
2019-01-04 13:13:47 -08:00
2020-10-01 13:17:10 +02:00
2023-08-30 16:27:26 +02:00
2017-12-17 13:57:15 +01:00
2020-01-09 10:19:54 +01:00
2019-05-21 11:52:39 +02:00
2019-08-01 14:30:22 -07:00
2021-07-14 16:53:08 +02:00
2022-02-23 11:59:57 +01:00
2019-07-18 17:08:07 -07:00
2018-04-02 20:15:59 +02:00
2018-04-02 20:15:30 +02:00
2020-10-14 10:32:58 +02:00
2021-05-14 09:44:33 +02:00
2019-07-08 19:36:47 -07:00
2019-05-21 10:50:45 +02:00
2019-07-08 19:36:47 -07:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2023-07-27 08:37:10 +02:00
2022-08-25 11:18:37 +02:00
2019-04-16 16:55:15 +02:00
2023-07-27 08:37:29 +02:00