From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH] efistub/smbios: Add fallback for SMBIOS record lookup
Date: Tue, 4 Nov 2025 02:51:25 +0800 [thread overview]
Message-ID: <202511040131.8yGeRa6u-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20251102001411.108385-1-francescopompo2@gmail.com>
References: <20251102001411.108385-1-francescopompo2@gmail.com>
TO: Francesco Pompo <francescopompo2@gmail.com>
TO: Ard Biesheuvel <ardb@kernel.org>
CC: linux-efi@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Francesco Pompo <francescopompo2@gmail.com>
Hi Francesco,
kernel test robot noticed the following build warnings:
[auto build test WARNING on efi/next]
[also build test WARNING on linus/master v6.18-rc4 next-20251103]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Francesco-Pompo/efistub-smbios-Add-fallback-for-SMBIOS-record-lookup/20251102-081803
base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
patch link: https://lore.kernel.org/r/20251102001411.108385-1-francescopompo2%40gmail.com
patch subject: [PATCH] efistub/smbios: Add fallback for SMBIOS record lookup
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: i386-randconfig-141-20251103 (https://download.01.org/0day-ci/archive/20251104/202511040131.8yGeRa6u-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202511040131.8yGeRa6u-lkp@intel.com/
smatch warnings:
drivers/firmware/efi/libstub/smbios.c:55 verify_ep_int_checksum() error: buffer overflow 'ptr' 5 <= 14
vim +/ptr +55 drivers/firmware/efi/libstub/smbios.c
d45578057224c4 Francesco Pompo 2025-11-02 47
d45578057224c4 Francesco Pompo 2025-11-02 48 static bool verify_ep_int_checksum(const struct smbios_entry_point *ep)
d45578057224c4 Francesco Pompo 2025-11-02 49 {
d45578057224c4 Francesco Pompo 2025-11-02 50 const u8 *ptr = (u8 *)&ep->int_anchor;
d45578057224c4 Francesco Pompo 2025-11-02 51 u8 sum = 0;
d45578057224c4 Francesco Pompo 2025-11-02 52 int i;
d45578057224c4 Francesco Pompo 2025-11-02 53
d45578057224c4 Francesco Pompo 2025-11-02 54 for (i = 0; i < 15; i++)
d45578057224c4 Francesco Pompo 2025-11-02 @55 sum += ptr[i];
d45578057224c4 Francesco Pompo 2025-11-02 56
d45578057224c4 Francesco Pompo 2025-11-02 57 return sum == 0;
d45578057224c4 Francesco Pompo 2025-11-02 58 }
d45578057224c4 Francesco Pompo 2025-11-02 59
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-11-03 18:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 18:51 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-11-02 0:13 [PATCH] efistub/smbios: Add fallback for SMBIOS record lookup Francesco Pompo
2025-11-03 8:19 ` Ard Biesheuvel
2025-11-03 10:14 ` Francesco Pompò
2025-11-03 10:41 ` Ard Biesheuvel
2025-11-03 13:11 ` Ard Biesheuvel
2025-11-03 13:14 ` francesco
2025-11-06 13:08 ` Dan Carpenter
2025-11-06 17:50 ` Ard Biesheuvel
2025-11-06 22:58 ` Philip Li
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=202511040131.8yGeRa6u-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@lists.linux.dev \
/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.