diff options
| author | Harald Freudenberger <[email protected]> | 2021-04-20 06:23:12 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2021-04-21 10:32:12 +0000 |
| commit | 28096067686c5a5cbd4c35b079749bd805df5010 (patch) | |
| tree | 3ad7f13a743e387d6fa2162947a42bc01b484d8a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | s390/zcrypt: fix zcard and zqueue hot-unplug memleak (diff) | |
| download | kernel-28096067686c5a5cbd4c35b079749bd805df5010.tar.gz kernel-28096067686c5a5cbd4c35b079749bd805df5010.zip | |
s390/archrandom: add parameter check for s390_arch_random_generate
A review of the code showed, that this function which is exposed
within the whole kernel should do a parameter check for the
amount of bytes requested. If this requested bytes is too high
an unsigned int overflow could happen causing this function to
try to memcpy a really big memory chunk.
This is not a security issue as there are only two invocations
of this function from arch/s390/include/asm/archrandom.h and both
are not exposed to userland.
Reported-by: Sven Schnelle <[email protected]>
Signed-off-by: Harald Freudenberger <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
