Commit dcf96f7
KVM: s390: Limit adapter indicator access to mapped page
While we check the address for errors, we don't seem to check the bit
offsets and since they are 32 and 64 bits a lot of memory can be
reached indirectly via those offsets.
Fixes: 8422359 ("KVM: s390: irq routing for adapter interrupts.")
Suggested-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Tested-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>1 parent b00be77 commit dcf96f7
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2724 | 2724 | | |
2725 | 2725 | | |
2726 | 2726 | | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
2727 | 2730 | | |
2728 | 2731 | | |
2729 | 2732 | | |
| |||
2852 | 2855 | | |
2853 | 2856 | | |
2854 | 2857 | | |
| 2858 | + | |
2855 | 2859 | | |
2856 | 2860 | | |
2857 | 2861 | | |
| |||
2862 | 2866 | | |
2863 | 2867 | | |
2864 | 2868 | | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
2865 | 2877 | | |
2866 | 2878 | | |
2867 | 2879 | | |
| |||
0 commit comments