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

Markus Elfring Markus.Elfring at web.de
Tue Jun 11 02:15:06 PDT 2024


…
> 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



More information about the Linux-nvme mailing list