diff options
| author | Vineeth Vijayan <vneethv@linux.ibm.com> | 2026-09-10 11:32:03 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-09-17 06:59:41 +0200 |
| commit | 9590f4d83880dfb5a81906e48e72779248fbe8f0 (patch) | |
| tree | 253fb30dc8035522207037660f17718fde2272ed /tools/perf/scripts/python/stackcollapse.py | |
| parent | f6f2985eabdb2bfdc82ce90a1ea3ec53ba795f34 (diff) | |
| download | linux-next-9590f4d83880dfb5a81906e48e72779248fbe8f0.tar.gz linux-next-9590f4d83880dfb5a81906e48e72779248fbe8f0.zip | |
s390/cio: Guard PMCW field accesses with dnv check
When PMCW.DNV is 0, no I/O device is associated with the subchannel.
However, several code paths access PMCW fields directly from the cached
sch->schib without first invoking the update helper. Add explicit DNV
validation before accessing PMCW fields from the cached SCHIB to avoid
using invalid data.
Reported-by: William Bezenah <wbezenah@linux.ibm.com>
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Fixes: 8c58a229688c ("s390/cio: Do not unregister the subchannel based on DNV")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
