diff options
| author | Christoph Hellwig <[email protected]> | 2023-08-01 17:35:44 +0000 |
|---|---|---|
| committer | Luis Chamberlain <[email protected]> | 2023-08-02 18:18:22 +0000 |
| commit | 9011e49d54dcc7653ebb8a1e05b5badb5ecfa9f9 (patch) | |
| tree | 1ea03e99820893224b93715bf736f81898139d40 /tools/perf/scripts/python | |
| parent | rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff (diff) | |
| download | kernel-9011e49d54dcc7653ebb8a1e05b5badb5ecfa9f9.tar.gz kernel-9011e49d54dcc7653ebb8a1e05b5badb5ecfa9f9.zip | |
modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
It has recently come to my attention that nvidia is circumventing the
protection added in 262e6ae7081d ("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: 262e6ae7081d ("modules: inherit TAINT_PROPRIETARY_MODULE")
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
