mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Junjie Cao <junjie.cao@intel.com>
Cc: Kees Cook <kees@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lkdtm: fortify: Fix potential NULL dereference on kmalloc failure
Date: Mon, 25 Aug 2025 06:32:08 -0700	[thread overview]
Message-ID: <175612872734.1493840.9696239897709581215.b4-ty@kernel.org> (raw)
In-Reply-To: <20250814060605.5264-1-junjie.cao@intel.com>

On Thu, 14 Aug 2025 14:06:05 +0800, Junjie Cao wrote:
> Add missing NULL pointer checks after kmalloc() calls in
> lkdtm_FORTIFY_STR_MEMBER() and lkdtm_FORTIFY_MEM_MEMBER() functions.
> 
> 

Applied to for-next/hardening, thanks!

[1/1] lkdtm: fortify: Fix potential NULL dereference on kmalloc failure
      https://git.kernel.org/kees/c/a3db14be3e90

Take care,

-- 
Kees Cook


      reply	other threads:[~2025-08-25 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14  6:06 Junjie Cao
2025-08-25 13:32 ` Kees Cook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=175612872734.1493840.9696239897709581215.b4-ty@kernel.org \
    --to=kees@kernel.org \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=junjie.cao@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®