linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.ibm.com>
To: "iuppiterlucas@gmail.com" <iuppiterlucas@gmail.com>,
	dmitry.kasatkin@gmail.com, paul@paul-moore.com,
	jmorris@namei.org, serge@hallyn.com, akpm@linux-foundation.org,
	linux-integrity@vger.kernel.org,
	linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ima: add check for khdr->buffer_size
Date: Thu, 15 Dec 2022 10:20:37 -0500	[thread overview]
Message-ID: <473749e7a302d0fbb790956e8e1423835a46987a.camel@linux.ibm.com> (raw)
In-Reply-To: <639b3953.170a0220.35d95.65e9@mx.google.com>

Hi Lucas,

On Thu, 2022-12-15 at 23:12 +0800, iuppiterlucas@gmail.com wrote:
> When khdr->buffer_size > size, continuing to use ima_parse_buf
> 
> may cause memory access out of bounds.
> 
> 
> Fixes: 94c3aac567a9 ("ima: on soft reboot, restore the measurement list")
> 
> 
> Signed-off-by: Lucas Iuppiter <iuppiterlucas@gmail.com>

When posting patches to the linux-integrity mailing list, patches
should be posted in plain text, not mime encoded.

thanks,

Mimi


           reply	other threads:[~2022-12-15 15:22 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <639b3953.170a0220.35d95.65e9@mx.google.com>]

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=473749e7a302d0fbb790956e8e1423835a46987a.camel@linux.ibm.com \
    --to=zohar@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=dmitry.kasatkin@gmail.com \
    --cc=iuppiterlucas@gmail.com \
    --cc=jmorris@namei.org \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=paul@paul-moore.com \
    --cc=serge@hallyn.com \
    /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;
as well as URLs for NNTP newsgroup(s).