oe-lkp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
	<linux-kernel@vger.kernel.org>, <linux-hardening@vger.kernel.org>,
	<oliver.sang@intel.com>
Subject: [linus:master] [fortify]  4ce615e798: kunit.fortify.alloc_size_kmalloc_dynamic_test.fail
Date: Sun, 31 Mar 2024 11:07:41 +0800	[thread overview]
Message-ID: <202403311042.8c622906-oliver.sang@intel.com> (raw)



Hello,

kernel test robot noticed "kunit.fortify.alloc_size_kmalloc_dynamic_test.fail" on:

commit: 4ce615e798a752d4431fcc52960478906dec2f0e ("fortify: Provide KUnit counters for failure testing")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linus/master 928a87efa42302a23bb9554be081a28058495f22]

in testcase: kunit
version: 
with following parameters:

	group: group-00



compiler: gcc-12
test machine: 16 threads 1 sockets Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz (Broadwell-DE) with 48G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



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 <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202403311042.8c622906-oliver.sang@intel.com



[  332.725985] KTAP version 1
[  332.730282] 1..1
[  332.733973]     KTAP version 1
[  332.738613]     # Subtest: fortify
[  332.743557]     # module: fortify_kunit
[  332.743609]     1..10
[  332.753298]     ok 1 known_sizes_test
[  332.753591]     ok 2 control_flow_split_test
[  332.760829]     ok 3 alloc_size_kmalloc_const_test
[  332.767135]     # alloc_size_kmalloc_dynamic_test: EXPECTATION FAILED at lib/fortify_kunit.c:248
                   Expected __builtin_dynamic_object_size(p, 1) == expected, but
                       __builtin_dynamic_object_size(p, 1) == -1 (0xffffffffffffffff)
                       expected == 11 (0xb)
               __alloc_size() not working with __bdos on kmemdup("hello there", len, gfp)
[  332.817141]     not ok 4 alloc_size_kmalloc_dynamic_test



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240331/202403311042.8c622906-oliver.sang@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


                 reply	other threads:[~2024-03-31  3:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202403311042.8c622906-oliver.sang@intel.com \
    --to=oliver.sang@intel.com \
    --cc=keescook@chromium.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@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 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).