)]}'
{
  "commit": "8c0ee19db81f0fa1ff25fd75b22b17c0cc2acde3",
  "tree": "5e7f28af28d0a4164e0f1c2706b5bfe6f006baf8",
  "parents": [
    "2fa49cc884f6496a915c35621ba4da35649bf159"
  ],
  "author": {
    "name": "Ming-Hung Tsai",
    "email": "mtsai@redhat.com",
    "time": "Fri Apr 10 21:08:01 2026 +0800"
  },
  "committer": {
    "name": "Mikulas Patocka",
    "email": "mpatocka@redhat.com",
    "time": "Fri Apr 10 15:16:06 2026 +0200"
  },
  "message": "dm cache: fix missing return in invalidate_committed\u0027s error path\n\nIn passthrough mode, dm-cache defers write submission until after\nmetadata commit completes via the invalidate_committed() continuation.\nOn commit error, invalidate_committed() calls invalidate_complete() to\nend the bio and free the migration struct, after which it should return\nimmediately.\n\nThe patch 4ca8b8bd952d (\"dm cache: fix write hang in passthrough mode\")\nomitted this early return, causing execution to fall through into the\nsuccess path on error. This results in use-after-free on the migration\nstruct in the subsequent calls.\n\nFix by adding the missing return after the invalidate_complete() call.\n\nFixes: 4ca8b8bd952d (\"dm cache: fix write hang in passthrough mode\")\nReported-by: Dan Carpenter \u003cerror27@gmail.com\u003e\nCloses: https://lore.kernel.org/dm-devel/adjMq6T5RRjv_uxM@stanley.mountain/\nSigned-off-by: Ming-Hung Tsai \u003cmtsai@redhat.com\u003e\nSigned-off-by: Mikulas Patocka \u003cmpatocka@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f8200c15480525961d2be72b6171cee6cdbd2779",
      "old_mode": 33188,
      "old_path": "drivers/md/dm-cache-target.c",
      "new_id": "097315a9bf0f1334a8540b159a941107119f7101",
      "new_mode": 33188,
      "new_path": "drivers/md/dm-cache-target.c"
    }
  ]
}
