diff options
| author | Yi Xie <xieyi@kylinos.cn> | 2026-07-09 10:19:47 +0800 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-07-31 20:02:04 +0000 |
| commit | 22dfdc17ceadd2783a609947af621a7f697b7765 (patch) | |
| tree | 2c655a57400cbdca9cad8d580bd90867a1986af0 /tools/perf/scripts/python/gecko.py | |
| parent | 72e3b0311aa90568a4b42a64445d1d3e1dc5a34d (diff) | |
mshv_vtl: bounds-check cpu index in vtl mmap fault handler
cpu is taken from pgoff & 0xffff. cpu_online() does not reject cpu >=
nr_cpu_ids, and per_cpu_ptr() can then walk off __per_cpu_offset.
Signed-off-by: Yi Xie <xieyi@kylinos.cn>
Reviewed-by: Naman Jain <namjain@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
