From: Andrew Morton <akpm@linux-foundation.org>
To: kernel test robot <lkp@intel.com>
Cc: David Hildenbrand <david@kernel.org>,
Linux Memory Management List <linux-mm@kvack.org>,
mm-commits@vger.kernel.org,
Suren Baghdasaryan <surenb@google.com>
Subject: Re: [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4
Date: Sat, 3 Oct 2026 14:38:26 -0700 [thread overview]
Message-ID: <20261003143826.be180aae972aa1e6a24956e7@linux-foundation.org> (raw)
In-Reply-To: <202610040408.3LHzXZUE-lkp@intel.com>
On Sun, 04 Oct 2026 04:27:12 +0800 kernel test robot <lkp@intel.com> wrote:
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> branch HEAD: 763ad0211c7b587344f03bc4d1299810aeb736f4 mm/swap, PM: hibernate: atomically replace hibernation pin
>
> Unverified Error/Warning (likely false positive, kindly check if interested):
>
> https://lore.kernel.org/oe-kbuild/202609121707.Hya5cxAX-lkp@intel.com
> https://lore.kernel.org/oe-kbuild/202609151628.hydefVEV-lkp@intel.com
>
> drivers/scsi/sg.c:294:1-17: ERROR: sg_fops: .read() can deadlock .write(); change nonseekable_open -> stream_open to fix.
> fs/proc/task_mmu.c:1427 show_smaps_rollup() warn: 'vma' is an error pointer or valid
It would help if these reports told us which tool emitted the warning.
This one was smatch.
"proc/task_mmu: read proc/pid/smaps_rollup under per-vma lock" has:
vma_iter_init(&priv->iter, mm, 0);
vma = proc_get_vma(m, &pos);
if (unlikely(!vma))
goto empty_set;
if (!IS_ERR(vma))
vma_start = vma->vm_start;
while (vma) {
if (IS_ERR(vma)) {
ret = PTR_ERR(vma);
goto out_unlock;
}
The code is funky-looking but I think it correctly handles all three
cases: NULL, IS_ERR, valid vma*.
> Error/Warning ids grouped by kconfigs:
>
> recent_errors
> |-- alpha-randconfig-r2107-20261003
> | `-- drivers-scsi-sg.c:ERROR:sg_fops:read()-can-deadlock-write()-change-nonseekable_open-stream_open-to-fix.
> |-- alpha-randconfig-r2200-20261003
> | `-- fs-proc-task_mmu.c-show_smaps_rollup()-warn:vma-is-an-error-pointer-or-valid
> |-- i386-randconfig-2103-20261003
> | `-- drivers-scsi-sg.c:ERROR:sg_fops:read()-can-deadlock-write()-change-nonseekable_open-stream_open-to-fix.
> |-- nios2-randconfig-r2202-20261003
> | `-- fs-proc-task_mmu.c-show_smaps_rollup()-warn:vma-is-an-error-pointer-or-valid
> |-- powerpc-randconfig-r2201-20261003
> | `-- fs-proc-task_mmu.c-show_smaps_rollup()-warn:vma-is-an-error-pointer-or-valid
> |-- powerpc64-randconfig-r2101-20261003
> | `-- drivers-scsi-sg.c:ERROR:sg_fops:read()-can-deadlock-write()-change-nonseekable_open-stream_open-to-fix.
> |-- x86_64-randconfig-2100-20261003
> | `-- drivers-scsi-sg.c:ERROR:sg_fops:read()-can-deadlock-write()-change-nonseekable_open-stream_open-to-fix.
> `-- x86_64-randconfig-2200-20261003
> `-- fs-proc-task_mmu.c-show_smaps_rollup()-warn:vma-is-an-error-pointer-or-valid
>
> elapsed time: 882m
>
> configs tested: 200
> configs skipped: 13
>
> tested configs:
> alpha allnoconfig gcc-16.1.0
> alpha allyesconfig gcc-16.1.0
> alpha defconfig gcc-16.1.0
> alpha defconfig gcc-16.1.0
> alpha randconfig-r2105-20261003 gcc-8.5.0 cocci
> alpha randconfig-r2107-20261003 gcc-8.5.0 cocci
> alpha randconfig-r2200-20261003 gcc-8.5.0 smatch
> arc allmodconfig gcc-16.1.0
> arc allnoconfig gcc-16.1.0
> arc allyesconfig gcc-16.1.0
> arc axs103_smp_defconfig gcc-16.1.0
> arc defconfig gcc-16.1.0
> arc randconfig-1000-20261003 gcc-13.4.0
> arc randconfig-1001-20261003 gcc-11.5.0
> arc randconfig-r2100-20261003 gcc-8.5.0 cocci
> arm allnoconfig clang-17
> arm at91_dt_defconfig clang-17
> arm defconfig clang-24
> arm randconfig-1000-20261003 clang-17
> arm randconfig-1001-20261003 clang-24
> arm randconfig-1002-20261003 gcc-11.5.0
> arm randconfig-1003-20261003 gcc-8.5.0
> arm wpcm450_defconfig gcc-16.1.0
> arm64 allnoconfig gcc-16.1.0
> arm64 defconfig gcc-16.1.0
> arm64 randconfig-1000-20261003 gcc-10.5.0
> arm64 randconfig-1001-20261003 clang-17
> arm64 randconfig-1002-20261003 clang-17
> arm64 randconfig-1003-20261003 gcc-8.5.0
> arm64 randconfig-r2106-20261003 clang-24 cocci
> csky allmodconfig gcc-16.1.0
> csky allnoconfig gcc-16.1.0
> csky defconfig gcc-16.1.0
> csky randconfig-1000-20261003 gcc-9.5.0
> csky randconfig-1001-20261003 gcc-11.5.0
> hexagon allmodconfig clang-24
> hexagon allnoconfig clang-24
> hexagon defconfig clang-24
> hexagon randconfig-1000-20261003 clang-17
> hexagon randconfig-1001-20261003 clang-24
> i386 allmodconfig gcc-14
> i386 allnoconfig gcc-14
> i386 buildonly-randconfig-1000-20261003 gcc-14
> i386 buildonly-randconfig-1001-20261003 clang-22
> i386 buildonly-randconfig-1002-20261003 clang-22
> i386 buildonly-randconfig-1003-20261003 clang-22
> i386 buildonly-randconfig-1004-20261003 clang-22
> i386 buildonly-randconfig-1005-20261003 clang-22
> i386 defconfig clang-22
> i386 randconfig-1000-20261003 clang-22
> i386 randconfig-1001-20261003 clang-22
> i386 randconfig-1002-20261003 clang-22
> i386 randconfig-1003-20261003 clang-22
> i386 randconfig-1004-20261003 clang-22
> i386 randconfig-1005-20261003 clang-22
> i386 randconfig-1006-20261003 gcc-14
> i386 randconfig-2100-20261003 gcc-14 cocci
> i386 randconfig-2101-20261003 clang-22 cocci
> i386 randconfig-2102-20261003 gcc-14 cocci
> i386 randconfig-2103-20261003 clang-22 cocci
> i386 randconfig-2200-20261003 gcc-14 smatch
> i386 randconfig-2300-20261003 clang-22 sparse
> i386 randconfig-2301-20261003 gcc-14 sparse
> i386 randconfig-2302-20261003 gcc-14 sparse
> loongarch allnoconfig clang-20
> loongarch defconfig clang-24
> loongarch randconfig-1000-20261003 gcc-14.3.0
> loongarch randconfig-1001-20261003 gcc-16.1.0
> loongarch randconfig-r2304-20261003 gcc-13.4.0 sparse
> m68k allmodconfig gcc-16.1.0
> m68k allnoconfig gcc-16.1.0
> m68k allyesconfig gcc-16.1.0
> m68k defconfig gcc-16.1.0
> m68k stmark2_defconfig gcc-16.1.0
> microblaze allnoconfig gcc-16.1.0
> microblaze allyesconfig gcc-16.1.0
> microblaze defconfig gcc-16.1.0
> mips allnoconfig gcc-16.1.0
> mips allyesconfig gcc-16.1.0
> mips db1xxx_defconfig clang-24
> mips randconfig-r2102-20261003 gcc-13.4.0 cocci
> mips randconfig-r2305-20261003 gcc-8.5.0 sparse
> mips rbtx49xx_defconfig gcc-16.1.0
> nios2 allmodconfig gcc-11.5.0
> nios2 allnoconfig gcc-11.5.0
> nios2 defconfig gcc-11.5.0
> nios2 randconfig-1000-20261003 gcc-9.5.0
> nios2 randconfig-1001-20261003 gcc-11.5.0
> nios2 randconfig-r2202-20261003 gcc-8.5.0 smatch
> nios2 randconfig-r2307-20261003 gcc-11.5.0 sparse
> openrisc allmodconfig gcc-16.1.0
> openrisc allnoconfig gcc-16.1.0
> openrisc defconfig gcc-16.1.0
> parisc allmodconfig gcc-16.1.0
> parisc allnoconfig gcc-16.1.0
> parisc allyesconfig gcc-16.1.0
> parisc defconfig gcc-16.1.0
> parisc randconfig-1000-20261003 gcc-11.5.0
> parisc randconfig-1001-20261003 gcc-8.5.0
> parisc randconfig-r2103-20261003 gcc-8.5.0 cocci
> parisc randconfig-r2306-20261003 gcc-9.5.0 sparse
> parisc64 defconfig gcc-16.1.0
> powerpc allnoconfig gcc-16.1.0
> powerpc randconfig-1000-20261003 gcc-12.5.0
> powerpc randconfig-1001-20261003 gcc-8.5.0
> powerpc randconfig-r2201-20261003 clang-17 smatch
> powerpc randconfig-r2309-20261003 clang-21 sparse
> powerpc64 randconfig-1000-20261003 clang-24
> powerpc64 randconfig-1001-20261003 clang-22
> powerpc64 randconfig-r2101-20261003 gcc-13.4.0 cocci
> riscv allnoconfig gcc-16.1.0
> riscv defconfig clang-24
> riscv randconfig-1000-20261003 clang-24
> riscv randconfig-1001-20261003 clang-24
> riscv randconfig-2000-20261003 clang-17
> riscv randconfig-2001-20261003 gcc-9.5.0
> riscv randconfig-r2308-20261003 gcc-15.2.0 sparse
> s390 allmodconfig clang-24
> s390 allnoconfig clang-24
> s390 defconfig clang-18
> s390 randconfig-1000-20261003 gcc-12.5.0
> s390 randconfig-1001-20261003 clang-24
> s390 randconfig-2000-20261003 clang-24
> s390 randconfig-2001-20261003 gcc-13.4.0
> s390 randconfig-r2104-20261003 clang-17 cocci
> sh allmodconfig gcc-16.1.0
> sh allnoconfig gcc-16.1.0
> sh allyesconfig gcc-16.1.0
> sh defconfig gcc-16.1.0
> sh randconfig-1000-20261003 gcc-9.5.0
> sh randconfig-1001-20261003 gcc-15.2.0
> sh randconfig-2000-20261003 gcc-16.1.0
> sh randconfig-2001-20261003 gcc-16.1.0
> sh randconfig-r2302-20261003 gcc-12.5.0 sparse
> sparc allnoconfig gcc-16.1.0
> sparc defconfig gcc-16.1.0
> sparc randconfig-1000-20261003 gcc-8.5.0
> sparc randconfig-1001-20261003 gcc-8.5.0
> sparc randconfig-2000-20261003 gcc-16.1.0
> sparc randconfig-2001-20261003 gcc-16.1.0
> sparc64 allmodconfig clang-20
> sparc64 defconfig clang-24
> sparc64 randconfig-1000-20261003 gcc-16.1.0
> sparc64 randconfig-1001-20261003 clang-24
> sparc64 randconfig-2000-20261003 gcc-8.5.0
> sparc64 randconfig-2001-20261003 gcc-8.5.0
> um allmodconfig clang-17
> um allnoconfig clang-17
> um allyesconfig gcc-14
> um defconfig clang-24
> um i386_defconfig gcc-14
> um randconfig-1000-20261003 clang-17
> um randconfig-1001-20261003 clang-22
> um randconfig-2000-20261003 clang-24
> um randconfig-2001-20261003 gcc-14
> um x86_64_defconfig clang-24
> x86_64 allnoconfig clang-22
> x86_64 buildonly-randconfig-1000-20261003 clang-22
> x86_64 buildonly-randconfig-1001-20261003 gcc-14
> x86_64 buildonly-randconfig-1002-20261003 clang-22
> x86_64 buildonly-randconfig-1003-20261003 gcc-14
> x86_64 buildonly-randconfig-1004-20261003 clang-22
> x86_64 buildonly-randconfig-1005-20261003 gcc-14
> x86_64 defconfig gcc-14
> x86_64 randconfig-1000-20261003 clang-22
> x86_64 randconfig-1001-20261003 clang-22
> x86_64 randconfig-1002-20261003 clang-22
> x86_64 randconfig-1003-20261003 gcc-13
> x86_64 randconfig-1004-20261003 clang-22
> x86_64 randconfig-1005-20261003 clang-22
> x86_64 randconfig-1006-20261003 gcc-14
> x86_64 randconfig-1007-20261003 gcc-14
> x86_64 randconfig-1008-20261003 gcc-14
> x86_64 randconfig-1009-20261003 clang-22
> x86_64 randconfig-1010-20261003 gcc-14
> x86_64 randconfig-1011-20261003 clang-22
> x86_64 randconfig-1012-20261003 clang-22
> x86_64 randconfig-1013-20261003 gcc-12
> x86_64 randconfig-1014-20261003 gcc-14
> x86_64 randconfig-1015-20261003 gcc-14
> x86_64 randconfig-1016-20261003 clang-22
> x86_64 randconfig-1017-20261003 gcc-14
> x86_64 randconfig-2100-20261003 clang-22 cocci
> x86_64 randconfig-2101-20261003 clang-22 cocci
> x86_64 randconfig-2102-20261003 gcc-14 cocci
> x86_64 randconfig-2103-20261003 gcc-13 cocci
> x86_64 randconfig-2200-20261003 gcc-14 smatch
> x86_64 randconfig-2300-20261003 gcc-14 sparse
> x86_64 randconfig-2301-20261003 gcc-14 sparse
> x86_64 randconfig-2302-20261003 clang-22 sparse
> x86_64 randconfig-r2300-20261003 clang-22 sparse
> x86_64 randconfig-r2301-20261003 gcc-14 sparse
> x86_64 rhel-9.4-rust clang-22
> xtensa allnoconfig gcc-16.1.0
> xtensa allyesconfig gcc-16.1.0
> xtensa nommu_kc705_defconfig gcc-16.1.0
> xtensa randconfig-1000-20261003 gcc-15.2.0
> xtensa randconfig-1001-20261003 gcc-9.5.0
> xtensa randconfig-2000-20261003 gcc-8.5.0
> xtensa randconfig-2001-20261003 gcc-10.5.0
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-10-03 21:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-03 20:27 [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4 kernel test robot
2026-10-03 21:38 ` Andrew Morton [this message]
2026-10-05 7:40 ` 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=20261003143826.be180aae972aa1e6a24956e7@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=mm-commits@vger.kernel.org \
--cc=surenb@google.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