)]}'
{
  "commit": "81aee4b8f3642a8dfb76d877d4b552aa765bf9ea",
  "tree": "ab91f0e94e8bdea96b6fe11dd5d29322fd7eae61",
  "parents": [
    "57560230be4ca340fe1dd53ea5e29c591f21832a"
  ],
  "author": {
    "name": "Haimin Zhang",
    "email": "tcs.kernel@gmail.com",
    "time": "Wed Feb 16 16:40:38 2022 +0800"
  },
  "committer": {
    "name": "Nobel Barakat",
    "email": "nobelbarakat@google.com",
    "time": "Tue May 17 00:33:49 2022 +0000"
  },
  "message": "block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern\n\ncommit cc8f7fe1f5eab010191aa4570f27641876fa1267 upstream.\n\nAdd __GFP_ZERO flag for alloc_page in function bio_copy_kern to initialize\nthe buffer of a bio.\n\nBUG\u003db/228583025\nTEST\u003dcusky\nRELEASE_NOTE\u003dThis commit fixes CVE-2022-0494 by forcing bio_copy_kern to initialize newly created pages. Creating initialized pages in alloc_page prevents a possible kernel info leak from occuring.\n\nSigned-off-by: Haimin Zhang \u003ctcs.kernel@gmail.com\u003e\nReviewed-by: Chaitanya Kulkarni \u003ckch@nvidia.com\u003e\nReviewed-by: Christoph Hellwig \u003chch@lst.de\u003e\nLink: https://lore.kernel.org/r/20220216084038.15635-1-tcs.kernel@gmail.com\nSigned-off-by: Jens Axboe \u003caxboe@kernel.dk\u003e\n[nobelbarakat: Backported to 5.4: Manually added __GFP_ZERO flag]\nSigned-off-by: Nobel Barakat \u003cnobelbarakat@google.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\ncos-patch: security-moderate\nChange-Id: Ic599bb282a98929fbc994a7d8ad0404cddb81f70\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/32882\nReviewed-by: Meena Shanmugam \u003cmeenashanmugam@google.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c52d0196e15c69c74583af8add87f504561eb4c",
      "old_mode": 33188,
      "old_path": "block/bio.c",
      "new_id": "40004a3631a803047940aabe955d3affdf1cdb91",
      "new_mode": 33188,
      "new_path": "block/bio.c"
    }
  ]
}
