ipc: Harden ipc_mqueue_send against null pointers, OOM, and race conditions

I have written a patch for the `ipc_mqueue_send` implementation in GNU Mach
(ipc/ipc_mqueue.c) that makes it safer against potential null pointer
accesses, allocation limit exhaustion under heavy message loads, and race
conditions on multi-core systems. You can already see the fixes for the
vulnerabilities that caught my attention whilst reading the code in the
patch.

Thanks,
Alperen

On Fri, Jul 24, 2026 at 4:39 PM Alperen Erkan <[email protected]>
wrote:

>
> Thank you for the guidance and review!
>
> I have attached the clean patch file (0001-ipc_kmsg-fixes.patch) directly
> to this email to prevent any whitespace or formatting issues. It contains
> only the IPC memory fix and bounds checks.
>
> Regarding the documentation and communication: Understood. I will
> translate my technical notes into English and discuss all future findings
> directly here on [email protected]
>
> Forwarding the patch to the bug-hurd mailing list for review and public
> discussion.
>
> Best regards,
> Alperen Erkan
>

Attachment: ipc_mqueue_fix.patch
Description: Binary data

  • [no subject] Alperen Erkan
    • Re: Bradley Morgan
    • Re: Samuel Thibault
      • Fwd: Alperen Erkan
        • Re: Alperen Erkan
          • Re: Bradley Morgan
          • Re: Samuel Thibault
            • Re: Alperen Erkan
              • Re: Samuel Thibault
        • Re: Fwd: Samuel Thibault
    • Re: Bradley Morgan

Reply via email to