Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4
@ 2026-10-03 20:27 kernel test robot
  2026-10-03 21:38 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-10-03 20:27 UTC (permalink / raw)
  To: David Hildenbrand; +Cc: Andrew Morton, Linux Memory Management List, mm-commits

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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4
  2026-10-03 20:27 [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4 kernel test robot
@ 2026-10-03 21:38 ` Andrew Morton
  2026-10-05  7:40   ` Philip Li
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2026-10-03 21:38 UTC (permalink / raw)
  To: kernel test robot
  Cc: David Hildenbrand, Linux Memory Management List, mm-commits,
	Suren Baghdasaryan

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4
  2026-10-03 21:38 ` Andrew Morton
@ 2026-10-05  7:40   ` Philip Li
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2026-10-05  7:40 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kernel test robot, David Hildenbrand,
	Linux Memory Management List, mm-commits, Suren Baghdasaryan

On Sat, Oct 03, 2026 at 02:38:26PM -0700, Andrew Morton wrote:
> 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. 

Sorry for confusion, I will enhance the report to show the tool clearly
and show better connection between the report url and issue.

So far, it is not that direct, which need open the report link for the tool
chain

  - it is smatch for 202609121707.Hya5cxAX-lkp@intel.com report as you
    mentioned below ""

  - and it is cocci for another 202609151628.hydefVEV-lkp@intel.com report
    regarding "drivers/scsi/sg.c:294:1-17: ERROR: sg_fops: .read() can deadlock .write()"

BTW: both reports are unverified yet, which could be false positive.

Thanks

> 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
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-05  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-03 20:27 [akpm-mm:mm-new] BUILD REGRESSION 763ad0211c7b587344f03bc4d1299810aeb736f4 kernel test robot
2026-10-03 21:38 ` Andrew Morton
2026-10-05  7:40   ` Philip Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox