Repository navigation
Commit bca014c
module: Invalidate signatures on force-loaded modules
Signing a module should only make it trusted by the specific kernel it
was built for, not anything else. Loading a signed module meant for a
kernel with a different ABI could have interesting effects.
Therefore, treat all signatures as invalid when a module is
force-loaded.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>1 parent 3205c36 commit bca014c
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2686 | 2686 | | |
2687 | 2687 | | |
2688 | 2688 | | |
2689 | | - | |
| 2689 | + | |
2690 | 2690 | | |
2691 | 2691 | | |
2692 | 2692 | | |
2693 | 2693 | | |
2694 | 2694 | | |
2695 | | - | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
2696 | 2701 | | |
2697 | 2702 | | |
2698 | 2703 | | |
| |||
2711 | 2716 | | |
2712 | 2717 | | |
2713 | 2718 | | |
2714 | | - | |
| 2719 | + | |
2715 | 2720 | | |
2716 | 2721 | | |
2717 | 2722 | | |
| |||
3506 | 3511 | | |
3507 | 3512 | | |
3508 | 3513 | | |
3509 | | - | |
| 3514 | + | |
3510 | 3515 | | |
3511 | 3516 | | |
3512 | 3517 | | |
| |||
0 commit comments