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

diff --git a/a/1.txt b/N1/1.txt
index 7a63074..82e8e30 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,17 +1,6 @@
-BCC: lkp@intel.com
-CC: oe-kbuild-all@lists.linux.dev
-CC: linux-kernel@vger.kernel.org
-TO: Joshua Hay <joshua.a.hay@intel.com>
-CC: Tony Nguyen <anthony.l.nguyen@intel.com>
-CC: Madhu Chittim <madhu.chittim@intel.com>
-CC: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
-
 tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
 head:   e1914add2799225a87502051415fc5c32aeb02ae
 commit: f4312e6bfa2a98e94dacc75f96f916b76bdf4259 idpf: implement core RDMA auxiliary dev create, init, and destroy
-date:   10 months ago
-:::::: branch date: 14 hours ago
-:::::: commit date: 10 months ago
 config: i386-randconfig-141-20260514 (https://download.01.org/0day-ci/archive/20260514/202605141659.ITAp29HS-lkp@intel.com/config)
 compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
 smatch: v0.5.0-9185-gbcc58b9c
@@ -28,13 +17,6 @@ drivers/net/ethernet/intel/idpf/idpf_idc.c:93 idpf_plug_core_aux_dev() error: de
 
 vim +/adev +93 drivers/net/ethernet/intel/idpf/idpf_idc.c
 
-f4312e6bfa2a98 Joshua Hay 2025-07-08   47  
-f4312e6bfa2a98 Joshua Hay 2025-07-08   48  /**
-f4312e6bfa2a98 Joshua Hay 2025-07-08   49   * idpf_plug_core_aux_dev - allocate and register an Auxiliary device
-f4312e6bfa2a98 Joshua Hay 2025-07-08   50   * @cdev_info: IDC core device info pointer
-f4312e6bfa2a98 Joshua Hay 2025-07-08   51   *
-f4312e6bfa2a98 Joshua Hay 2025-07-08   52   * Return: 0 on success or error code on failure.
-f4312e6bfa2a98 Joshua Hay 2025-07-08   53   */
 f4312e6bfa2a98 Joshua Hay 2025-07-08   54  static int idpf_plug_core_aux_dev(struct iidc_rdma_core_dev_info *cdev_info)
 f4312e6bfa2a98 Joshua Hay 2025-07-08   55  {
 f4312e6bfa2a98 Joshua Hay 2025-07-08   56  	struct iidc_rdma_core_auxiliary_dev *iadev;
@@ -75,13 +57,17 @@ f4312e6bfa2a98 Joshua Hay 2025-07-08   90  err_aux_dev_add:
 f4312e6bfa2a98 Joshua Hay 2025-07-08   91  	auxiliary_device_uninit(adev);
 f4312e6bfa2a98 Joshua Hay 2025-07-08   92  err_aux_dev_init:
 f4312e6bfa2a98 Joshua Hay 2025-07-08  @93  	ida_free(&idpf_idc_ida, adev->id);
+                                                                        ^^^^^^^^^
+I could have sworn I saw patches to fix this use after free months ago
+but it's still a bug in net-next.  idpf_core_adev_release() frees iadev
+and adev is a to inside iadev.
+
 f4312e6bfa2a98 Joshua Hay 2025-07-08   94  err_ida_alloc:
 f4312e6bfa2a98 Joshua Hay 2025-07-08   95  	cdev_info->adev = NULL;
 f4312e6bfa2a98 Joshua Hay 2025-07-08   96  	kfree(iadev);
 f4312e6bfa2a98 Joshua Hay 2025-07-08   97  
 f4312e6bfa2a98 Joshua Hay 2025-07-08   98  	return ret;
 f4312e6bfa2a98 Joshua Hay 2025-07-08   99  }
-f4312e6bfa2a98 Joshua Hay 2025-07-08  100  
 
 --
 0-DAY CI Kernel Test Service
diff --git a/a/content_digest b/N1/content_digest
index fe03117..3c3f0a7 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,25 +1,19 @@
- "From\0kernel test robot <lkp@intel.com>\0"
+ "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0drivers/net/ethernet/intel/idpf/idpf_idc.c:93 idpf_plug_core_aux_dev() error: dereferencing freed memory 'adev' (line 75)\0"
- "Date\0Thu, 14 May 2026 16:37:46 +0800\0"
- "To\0oe-kbuild@lists.linux.dev\0"
+ "Date\0Thu, 14 May 2026 11:47:25 +0300\0"
+ "To\0oe-kbuild@lists.linux.dev"
+ " Joshua Hay <joshua.a.hay@intel.com>\0"
  "Cc\0lkp@intel.com"
- " Dan Carpenter <error27@gmail.com>\0"
+  oe-kbuild-all@lists.linux.dev
+  linux-kernel@vger.kernel.org
+  Tony Nguyen <anthony.l.nguyen@intel.com>
+  Madhu Chittim <madhu.chittim@intel.com>
+ " Tatyana Nikolova <tatyana.e.nikolova@intel.com>\0"
  "\00:1\0"
  "b\0"
- "BCC: lkp@intel.com\n"
- "CC: oe-kbuild-all@lists.linux.dev\n"
- "CC: linux-kernel@vger.kernel.org\n"
- "TO: Joshua Hay <joshua.a.hay@intel.com>\n"
- "CC: Tony Nguyen <anthony.l.nguyen@intel.com>\n"
- "CC: Madhu Chittim <madhu.chittim@intel.com>\n"
- "CC: Tatyana Nikolova <tatyana.e.nikolova@intel.com>\n"
- "\n"
  "tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master\n"
  "head:   e1914add2799225a87502051415fc5c32aeb02ae\n"
  "commit: f4312e6bfa2a98e94dacc75f96f916b76bdf4259 idpf: implement core RDMA auxiliary dev create, init, and destroy\n"
- "date:   10 months ago\n"
- ":::::: branch date: 14 hours ago\n"
- ":::::: commit date: 10 months ago\n"
  "config: i386-randconfig-141-20260514 (https://download.01.org/0day-ci/archive/20260514/202605141659.ITAp29HS-lkp@intel.com/config)\n"
  "compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)\n"
  "smatch: v0.5.0-9185-gbcc58b9c\n"
@@ -36,13 +30,6 @@
  "\n"
  "vim +/adev +93 drivers/net/ethernet/intel/idpf/idpf_idc.c\n"
  "\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   47  \n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   48  /**\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   49   * idpf_plug_core_aux_dev - allocate and register an Auxiliary device\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   50   * @cdev_info: IDC core device info pointer\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   51   *\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   52   * Return: 0 on success or error code on failure.\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08   53   */\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   54  static int idpf_plug_core_aux_dev(struct iidc_rdma_core_dev_info *cdev_info)\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   55  {\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   56  \tstruct iidc_rdma_core_auxiliary_dev *iadev;\n"
@@ -83,16 +70,20 @@
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   91  \tauxiliary_device_uninit(adev);\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   92  err_aux_dev_init:\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08  @93  \tida_free(&idpf_idc_ida, adev->id);\n"
+ "                                                                        ^^^^^^^^^\n"
+ "I could have sworn I saw patches to fix this use after free months ago\n"
+ "but it's still a bug in net-next.  idpf_core_adev_release() frees iadev\n"
+ "and adev is a to inside iadev.\n"
+ "\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   94  err_ida_alloc:\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   95  \tcdev_info->adev = NULL;\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   96  \tkfree(iadev);\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   97  \n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   98  \treturn ret;\n"
  "f4312e6bfa2a98 Joshua Hay 2025-07-08   99  }\n"
- "f4312e6bfa2a98 Joshua Hay 2025-07-08  100  \n"
  "\n"
  "--\n"
  "0-DAY CI Kernel Test Service\n"
  https://github.com/intel/lkp-tests/wiki
 
-54b0d8ed5e7b1fbda5143e815d33e12183416f1999a6d6fa455d6bc566de2b89
+f9673458bf23c8f5ca09d2be2cddc13984c2c9107b8a1d3083c1378efcae2650

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.