Re: [PATCH] scsi: pm8001: Fix potential TOCTOU race in pm8001_find_tag
From: Markus Elfring
Date: Sun Jan 18 2026 - 04:42:11 EST
…
> Fix this by using READ_ONCE() to read task->lldd_task exactly once,
> eliminating the TOCTOU window. Also use WRITE_ONCE() in
> pm8001_ccb_task_free() for proper memory ordering.
How do you think about to add any tags (like “Fixes” and “Cc”) accordingly?
Regards,
Markus