)]}'
{
  "commit": "99fbd76e7b74692d078e7eb9feaf121fa3af3e4b",
  "tree": "ccb039dac1597c6cd228ae5aa92a67bd88accd39",
  "parents": [
    "46fb160ebf1736bf65acf4d5cd6a12de06384337"
  ],
  "author": {
    "name": "Maxim Levitsky",
    "email": "mlevitsk@redhat.com",
    "time": "Thu Sep 28 20:33:51 2023 +0300"
  },
  "committer": {
    "name": "Nandhini Rengaraj",
    "email": "nrengaraj@google.com",
    "time": "Sat Nov 18 00:27:45 2023 +0000"
  },
  "message": "x86: KVM: SVM: always update the x2avic msr interception\n\ncommit b65235f6e102354ccafda601eaa1c5bef5284d21 upstream.\n\nThe following problem exists since x2avic was enabled in the KVM:\n\nsvm_set_x2apic_msr_interception is called to enable the interception of\nthe x2apic msrs.\n\nIn particular it is called at the moment the guest resets its apic.\n\nAssuming that the guest\u0027s apic was in x2apic mode, the reset will bring\nit back to the xapic mode.\n\nThe svm_set_x2apic_msr_interception however has an erroneous check for\n\u0027!apic_x2apic_mode()\u0027 which prevents it from doing anything in this case.\n\nAs a result of this, all x2apic msrs are left unintercepted, and that\nexposes the bare metal x2apic (if enabled) to the guest.\nOops.\n\nRemove the erroneous \u0027!apic_x2apic_mode()\u0027 check to fix that.\n\nThis fixes CVE-2023-5090\n\nBUG\u003db/311157876\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed CVE-2023-5090 in the linux kernel.\n\ncos-patch: security-moderate\nFixes: 4d1d7942e36a (\"KVM: SVM: Introduce logic to (de)activate x2AVIC mode\")\nCc: stable@vger.kernel.org\nChange-Id: Ib29848fe5c13e21d3b851671d6abf451723a688a\nSigned-off-by: Maxim Levitsky \u003cmlevitsk@redhat.com\u003e\nReviewed-by: Suravee Suthikulpanit \u003csuravee.suthikulpanit@amd.com\u003e\nTested-by: Suravee Suthikulpanit \u003csuravee.suthikulpanit@amd.com\u003e\nReviewed-by: Sean Christopherson \u003cseanjc@google.com\u003e\nMessage-Id: \u003c20230928173354.217464-2-mlevitsk@redhat.com\u003e\nSigned-off-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\nSigned-off-by: SeongJae Park \u003csj@kernel.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nSigned-off-by: Nandhini Rengaraj \u003cnrengaraj@google.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/61334\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Anil Altinay \u003caaltinay@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c871a6d6364ca4710bcf4da43ee32b1dad8c3bc1",
      "old_mode": 33188,
      "old_path": "arch/x86/kvm/svm/svm.c",
      "new_id": "4194aa4c5f0e0c531fa79c0db3f12df4fd459439",
      "new_mode": 33188,
      "new_path": "arch/x86/kvm/svm/svm.c"
    }
  ]
}
