Re: [PATCH v2] module: decompress: check return value of module_extend_max_pages()

From: Christophe Leroy (CS GROUP)

Date: Wed May 20 2026 - 17:34:13 EST




Le 20/05/2026 à 18:05, Afi0 a écrit :
  Thanks for the correction. Updated commit message

Please follow kernel rules:
- Mails in plain text, not Mime
- Patches as part of core text, no attachment
- Your real name, not Afi0 <capyenglishlite@xxxxxxxxx>
- No top-posting

See:
- https://docs.kernel.org/process/submitting-patches.html#use-trimmed-interleaved-replies-in-email-discussions
- https://docs.kernel.org/process/submitting-patches.html#no-mime-no-links-no-compression-no-attachments-just-plain-text


Christophe


On Wed, May 20, 2026 at 3:13 PM Sami Tolvanen <samitolvanen@xxxxxxxxxx <mailto:samitolvanen@xxxxxxxxxx>> wrote:

On Tue, May 19, 2026 at 9:11 PM Afi0 <capyenglishlite@xxxxxxxxx
<mailto:capyenglishlite@xxxxxxxxx>> wrote:
>
> Hi,
>
> You are right, the commit message overstates the impact. The
actual result is an immediate kernel oops, not an OOB write into
adjacent slab objects. The fix is still correct - checking the
return value avoids the oops. Shall I send a v3 with a corrected
commit message?

Yes, please send v3.

Sami