From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Laxman Acharya Padhya <acharyalaxman8848@gmail.com>
Cc: Thierry Escande <thierry.escande@collabora.com>,
chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] firmware: google: coreboot: validate table bounds
Date: Mon, 3 Aug 2026 03:11:02 +0000 [thread overview]
Message-ID: <anAGxkdxO9TofqdB@google.com> (raw)
In-Reply-To: <20260801165651.42172-1-acharyalaxman8848@gmail.com>
On Sat, Aug 01, 2026 at 10:41:51PM +0545, Laxman Acharya Padhya wrote:
> The existing coreboot_table_populate() bounds checks limit individual
> entries to the mapped length.
> However, coreboot_table_probe() replaces the platform resource length with
> header and table sizes supplied by firmware before mapping the full table.
>
> A malformed table can overflow the 32-bit size addition or advertise an
> extent beyond the resource, causing the driver to map and parse memory
> outside the resource. A resource shorter than the fixed header is also
> mapped as though it contained a complete header.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-firmware-next
[1/1] firmware: google: coreboot: validate table bounds
commit: a58a57a1076f8c5dae0327e3710899478c3be901
Thanks!
prev parent reply other threads:[~2026-08-03 3:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-01 16:56 [PATCH] firmware: google: coreboot: validate table bounds Laxman Acharya Padhya
2026-08-03 3:11 ` Tzung-Bi Shih [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=anAGxkdxO9TofqdB@google.com \
--to=tzungbi@kernel.org \
--cc=acharyalaxman8848@gmail.com \
--cc=chrome-platform@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=thierry.escande@collabora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.