Files
Mikhail Zaslonko 0945285e6c s390/debug: Fix race between debug area resize and event logging
Trace functions check for non-NULL id->areas without lock to minimize
overhead. This opens a race window where a NULL pointer dereference
occurs if id->areas is set to NULL (e.g. via echo 0 > ../pages) after
the check and before id->lock is taken.

Fix this by rechecking id->areas under lock.

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2026-09-08 15:53:40 +02:00
..
…
2026-03-03 08:35:07 -08:00
…
…
…
…
…
…
…
…
…
…
…
2026-07-08 17:03:28 +02:00
2026-07-08 17:03:28 +02:00
…
…
2026-08-05 15:16:54 +02:00
…
…
…
…
…
…
…
…
2026-07-23 07:02:34 -07:00
2026-05-26 08:15:41 +02:00
…
2026-07-30 00:29:08 +02:00
…
2026-08-05 15:16:54 +02:00
…