All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <202605071933.lpIPQ3YN-lkp@intel.com>

diff --git a/a/1.txt b/N1/1.txt
index fcd4fdf..51c4dc1 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,12 +1,6 @@
-BCC: lkp@intel.com
-CC: oe-kbuild-all@lists.linux.dev
-TO: Lorenzo Stoakes <ljs@kernel.org>
-
 tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ljs/linux.git project/cow-context
 head:   e02aa02fef8128743869032cb20d26f752cd9154
 commit: e6f934583c43ab0189504a82904d071b1a22b1a1 [14/18] HACK: track remap changes on merges, splits
-:::::: branch date: 6 days ago
-:::::: commit date: 6 days ago
 config: arc-randconfig-r072-20260507 (https://download.01.org/0day-ci/archive/20260507/202605071933.lpIPQ3YN-lkp@intel.com/config)
 compiler: arc-linux-gcc (GCC) 14.3.0
 smatch: v0.5.0-9065-ge9cc34fd
@@ -22,11 +16,6 @@ mm/vma.c:3281 expand_downwards() warn: variable dereferenced before check 'vma->
 
 vim +3281 mm/vma.c
 
-a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3216  
-a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3217  /*
-a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3218   * vma is the first one with address < vma->vm_start.  Have to extend vma.
-a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3219   * mmap_lock held for writing.
-a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3220   */
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3221  int expand_downwards(struct vm_area_struct *vma, unsigned long address)
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3222  {
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3223  	struct mm_struct *mm = vma->vm_mm;
@@ -70,6 +59,9 @@ a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3260  	/* Lock the VMA befo
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3261  	vma_start_write(vma);
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3262  	/* We update the anon VMA tree. */
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03 @3263  	anon_vma_lock_write(vma->anon_vma);
+                                                                                    ^^^^^^^^^^^^^
+Dereference
+
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3264  
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3265  	/* Somebody else might have raced and expanded it already */
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3266  	if (address < vma->vm_start) {
@@ -88,6 +80,9 @@ a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3278  				vm_stat_account(m
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3279  				anon_vma_interval_tree_pre_update_vma(vma);
 e6f934583c43ab0 Lorenzo Stoakes          2026-05-01  3280  
 e6f934583c43ab0 Lorenzo Stoakes          2026-05-01 @3281  				if (vma->anon_vma)
+                                                                                            ^^^^^^^^^^^^^
+Checked in between too unchecked dereference.
+
 e6f934583c43ab0 Lorenzo Stoakes          2026-05-01  3282  					cow_context_vma_adjust(vma, address, vma->vm_end);
 e6f934583c43ab0 Lorenzo Stoakes          2026-05-01  3283  
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3284  				vma->vm_start = address;
@@ -105,7 +100,6 @@ a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3295  	vma_iter_free(&vmi);
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3296  	validate_mm(mm);
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3297  	return error;
 a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3298  }
-bef5418d1f3dee4 Lorenzo Stoakes          2024-12-03  3299  
 
 -- 
 0-DAY CI Kernel Test Service
diff --git a/a/content_digest b/N1/content_digest
index 40d28e9..5481e9e 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,20 +1,15 @@
- "From\0kernel test robot <lkp@intel.com>\0"
+ "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[ljs:project/cow-context 14/18] mm/vma.c:3281 expand_downwards() warn: variable dereferenced before check 'vma->anon_vma' (see line 3263)\0"
- "Date\0Thu, 07 May 2026 19:39:38 +0800\0"
- "To\0oe-kbuild@lists.linux.dev\0"
+ "Date\0Thu, 7 May 2026 14:47:10 +0300\0"
+ "To\0oe-kbuild@lists.linux.dev"
+ " Lorenzo Stoakes <ljs@kernel.org>\0"
  "Cc\0lkp@intel.com"
- " Dan Carpenter <error27@gmail.com>\0"
+ " oe-kbuild-all@lists.linux.dev\0"
  "\00:1\0"
  "b\0"
- "BCC: lkp@intel.com\n"
- "CC: oe-kbuild-all@lists.linux.dev\n"
- "TO: Lorenzo Stoakes <ljs@kernel.org>\n"
- "\n"
  "tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ljs/linux.git project/cow-context\n"
  "head:   e02aa02fef8128743869032cb20d26f752cd9154\n"
  "commit: e6f934583c43ab0189504a82904d071b1a22b1a1 [14/18] HACK: track remap changes on merges, splits\n"
- ":::::: branch date: 6 days ago\n"
- ":::::: commit date: 6 days ago\n"
  "config: arc-randconfig-r072-20260507 (https://download.01.org/0day-ci/archive/20260507/202605071933.lpIPQ3YN-lkp@intel.com/config)\n"
  "compiler: arc-linux-gcc (GCC) 14.3.0\n"
  "smatch: v0.5.0-9065-ge9cc34fd\n"
@@ -30,11 +25,6 @@
  "\n"
  "vim +3281 mm/vma.c\n"
  "\n"
- "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3216  \n"
- "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3217  /*\n"
- "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3218   * vma is the first one with address < vma->vm_start.  Have to extend vma.\n"
- "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3219   * mmap_lock held for writing.\n"
- "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3220   */\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3221  int expand_downwards(struct vm_area_struct *vma, unsigned long address)\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3222  {\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3223  \tstruct mm_struct *mm = vma->vm_mm;\n"
@@ -78,6 +68,9 @@
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3261  \tvma_start_write(vma);\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3262  \t/* We update the anon VMA tree. */\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03 @3263  \tanon_vma_lock_write(vma->anon_vma);\n"
+ "                                                                                    ^^^^^^^^^^^^^\n"
+ "Dereference\n"
+ "\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3264  \n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3265  \t/* Somebody else might have raced and expanded it already */\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3266  \tif (address < vma->vm_start) {\n"
@@ -96,6 +89,9 @@
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3279  \t\t\t\tanon_vma_interval_tree_pre_update_vma(vma);\n"
  "e6f934583c43ab0 Lorenzo Stoakes          2026-05-01  3280  \n"
  "e6f934583c43ab0 Lorenzo Stoakes          2026-05-01 @3281  \t\t\t\tif (vma->anon_vma)\n"
+ "                                                                                            ^^^^^^^^^^^^^\n"
+ "Checked in between too unchecked dereference.\n"
+ "\n"
  "e6f934583c43ab0 Lorenzo Stoakes          2026-05-01  3282  \t\t\t\t\tcow_context_vma_adjust(vma, address, vma->vm_end);\n"
  "e6f934583c43ab0 Lorenzo Stoakes          2026-05-01  3283  \n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3284  \t\t\t\tvma->vm_start = address;\n"
@@ -113,10 +109,9 @@
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3296  \tvalidate_mm(mm);\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3297  \treturn error;\n"
  "a9d1f3f2d7fecbc Lorenzo Stoakes          2024-12-03  3298  }\n"
- "bef5418d1f3dee4 Lorenzo Stoakes          2024-12-03  3299  \n"
  "\n"
  "-- \n"
  "0-DAY CI Kernel Test Service\n"
  https://github.com/intel/lkp-tests/wiki
 
-05c246b2733e2498fb80c0e0010a46a598b11e662f5664d32743a5405912102a
+ee2faf8594fb80529f832b3a6fc1a0fc966d5025d4d1f96bb688347ea898de9d

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.