)]}'
{
  "commit": "f2bc1662780fb75174fcf586440698919e2a7d26",
  "tree": "cfa2a965a7b16b39585236c34ae2f2b4d2b09620",
  "parents": [
    "92efe15e07cb371c0ab0563bcc1bb0eb37cb7775"
  ],
  "author": {
    "name": "Dave Hansen",
    "email": "dave.hansen@linux.intel.com",
    "time": "Tue Nov 10 09:27:39 2026 -0800"
  },
  "committer": {
    "name": "cloud-image-release",
    "email": "cloud-image-release@prod.google.com",
    "time": "Thu Nov 19 14:06:53 2026 -0800"
  },
  "message": "x86/mm: Ensure write visibility during LDT installation\n\nDuring LDT installation, the intent is to overwrite the old per-mm\nLDT value, then send an IPI to the mm user CPUs to have each load\nthe new value.\n\nBut there is an ordering problem: a new mm user CPU sets itself in\nmm_cpumask() and then reads mm-\u003econtext.ldt. The LDT-installing CPU\nwrites mm-\u003econtext.ldt and then reads mm_cpumask(). But, there is\nnothing which orders the LDT installation side actions. The CPU\ncan read mm_cpumask() before its write becomes visible.\n\nEnsure that new mm user CPUs see the new mm-\u003econtext.ldt. Make\nmm-\u003econtext.ldt visible before reading mm_cpumask().\n\nAlso convert the smp_store_release() over to a WRITE_ONCE().\nsmp_store_release() has an internal barrier which is weaker than\nthe new smp_mb(). Avoid an extra barrier by converting it to\nWRITE_ONCE().\n\nAlso refresh/correct misleading comments. READ/WRITE_ONCE() do not\n\"synchronize\" anything themselves.\n\nBUG\u003db/586853374\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed KCTF-0dc2a4d in the Linux kernel.\n\ncos-patch: security-high\nReported-by: Jaeyoung Chung \u003cjjy600901@snu.ac.kr\u003e\nChange-Id: I55907b1b01ad77764b240da41dc5b6ccb7cfa69c\nSigned-off-by: Dave Hansen \u003cdave.hansen@linux.intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@kernel.org\u003e\nTested-by: Jaeyoung Chung \u003cjjy600901@snu.ac.kr\u003e\nAcked-by: Linus Torvalds \u003ctorvalds@linuxfoundation.org\u003e\nAcked-by: Peter Zijlstra (Intel) \u003cpeterz@infradead.org\u003e\nCc: \u003cstable@vger.kernel.org\u003e\nSigned-off-by: Angel Adetula \u003cangeladetula@google.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/242118\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/242526\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0f19ef355f5f1ffb5eba0f5fd25351263ea9fd3b",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/ldt.c",
      "new_id": "329daba099b20341178537903fd04719bb31f8ef",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/ldt.c"
    }
  ]
}
