Re: [PATCH] block: bio-integrity: fix potential null-ptr-deref in bio_integrity_free

From: Markus Elfring
Date: Tue Jun 11 2024 - 05:24:18 EST



> The root cause of this issue is the concurrency between the write process
> and the block size update process. However, this concurrency does not exist
> in actual production environments. To solve above issue, Verify if the
> segments of BIO are aligned with integrity intervals.

* Please improve the change description with an imperative wording.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.10-rc2#n94

* Would you like to add the tag “Fixes” accordingly?

* How do you think about to use the summary phrase “Avoid null pointer dereference
in bio_integrity_free()”?


Regards,
Markus