)]}'
{
  "commit": "d013eadd440085609f9d97c64263e8122bad2c48",
  "tree": "e1cee4bc6dc4931a8ddfd1fefb15070c8aa9962f",
  "parents": [
    "1720639d88553081f5653931fa1895c7c7872604"
  ],
  "author": {
    "name": "Jan Kara",
    "email": "jack@suse.cz",
    "time": "Mon Aug 05 22:12:41 2024 +0200"
  },
  "committer": {
    "name": "Anil Altinay",
    "email": "aaltinay@google.com",
    "time": "Fri Dec 13 11:25:01 2024 -0800"
  },
  "message": "ext4: don\u0027t set SB_RDONLY after filesystem errors\n\n[ Upstream commit d3476f3dad4ad68ae5f6b008ea6591d1520da5d8 ]\n\nWhen the filesystem is mounted with errors\u003dremount-ro, we were setting\nSB_RDONLY flag to stop all filesystem modifications. We knew this misses\nproper locking (sb-\u003es_umount) and does not go through proper filesystem\nremount procedure but it has been the way this worked since early ext2\ndays and it was good enough for catastrophic situation damage\nmitigation. Recently, syzbot has found a way (see link) to trigger\nwarnings in filesystem freezing because the code got confused by\nSB_RDONLY changing under its hands. Since these days we set\nEXT4_FLAGS_SHUTDOWN on the superblock which is enough to stop all\nfilesystem modifications, modifying SB_RDONLY shouldn\u0027t be needed. So\nstop doing that.\n\nBUG\u003db/383720392\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed CVE-2024-50191 in the Linux kernel.\n\ncos-patch: security-moderate\nLink: https://lore.kernel.org/all/000000000000b90a8e061e21d12f@google.com\nReported-by: Christian Brauner \u003cbrauner@kernel.org\u003e\nChange-Id: Id9945f7bfb5e45de91971ca2e915270b60d96dbc\nSigned-off-by: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Christian Brauner \u003cbrauner@kernel.org\u003e\nLink: https://patch.msgid.link/20240805201241.27286-1-jack@suse.cz\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nSigned-off-by: Kernel CVE Triage Automation \u003ccloud-image-kernel-cve-triage-automation@prod.google.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/88599\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Kevin Berry \u003ckpberry@google.com\u003e\nReviewed-by: Anil Altinay \u003caaltinay@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "78e8cca280aca6d5184cb93ace8808e6569dcc63",
      "old_mode": 33188,
      "old_path": "fs/ext4/super.c",
      "new_id": "aef93a6b1b15278d1ea0f04ff9e308c7a7310d72",
      "new_mode": 33188,
      "new_path": "fs/ext4/super.c"
    }
  ]
}
