)]}'
{
  "commit": "75692a942aaaea90b729f2e7c9655bb2eeb50902",
  "tree": "5c33a2c9d14e5a7c15e0e2df075eea77ae011722",
  "parents": [
    "6871d8fd00e80f5331f00e563fa626bacf794eba"
  ],
  "author": {
    "name": "Ye Bin",
    "email": "yebin10@huawei.com",
    "time": "Sat Oct 25 15:26:57 2025 +0800"
  },
  "committer": {
    "name": "Daniel Velasquez",
    "email": "rdvelasquez@google.com",
    "time": "Thu Jan 15 23:37:19 2026 -0800"
  },
  "message": "jbd2: avoid bug_on in jbd2_journal_get_create_access() when file system corrupted\n\ncommit 986835bf4d11032bba4ab8414d18fce038c61bb4 upstream.\n\nThere\u0027s issue when file system corrupted:\n------------[ cut here ]------------\nkernel BUG at fs/jbd2/transaction.c:1289!\nOops: invalid opcode: 0000 [#1] SMP KASAN PTI\nCPU: 5 UID: 0 PID: 2031 Comm: mkdir Not tainted 6.18.0-rc1-next\nRIP: 0010:jbd2_journal_get_create_access+0x3b6/0x4d0\nRSP: 0018:ffff888117aafa30 EFLAGS: 00010202\nRAX: 0000000000000000 RBX: ffff88811a86b000 RCX: ffffffff89a63534\nRDX: 1ffff110200ec602 RSI: 0000000000000004 RDI: ffff888100763010\nRBP: ffff888100763000 R08: 0000000000000001 R09: ffff888100763028\nR10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000\nR13: ffff88812c432000 R14: ffff88812c608000 R15: ffff888120bfc000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00007f91d6970c99 CR3: 00000001159c4000 CR4: 00000000000006f0\nCall Trace:\n \u003cTASK\u003e\n __ext4_journal_get_create_access+0x42/0x170\n ext4_getblk+0x319/0x6f0\n ext4_bread+0x11/0x100\n ext4_append+0x1e6/0x4a0\n ext4_init_new_dir+0x145/0x1d0\n ext4_mkdir+0x326/0x920\n vfs_mkdir+0x45c/0x740\n do_mkdirat+0x234/0x2f0\n __x64_sys_mkdir+0xd6/0x120\n do_syscall_64+0x5f/0xfa0\n entry_SYSCALL_64_after_hwframe+0x76/0x7e\n\nThe above issue occurs with us in errors\u003dcontinue mode when accompanied by\nstorage failures. There have been many inconsistencies in the file system\ndata.\nIn the case of file system data inconsistency, for example, if the block\nbitmap of a referenced block is not set, it can lead to the situation where\na block being committed is allocated and used again. As a result, the\nfollowing condition will not be satisfied then trigger BUG_ON. Of course,\nit is entirely possible to construct a problematic image that can trigger\nthis BUG_ON through specific operations. In fact, I have constructed such\nan image and easily reproduced this issue.\nTherefore, J_ASSERT() holds true only under ideal conditions, but it may\nnot necessarily be satisfied in exceptional scenarios. Using J_ASSERT()\ndirectly in abnormal situations would cause the system to crash, which is\nclearly not what we want. So here we directly trigger a JBD abort instead\nof immediately invoking BUG_ON.\n\nBUG\u003db/471182093\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed CVE-2025-68337 in the Linux kernel.\n\ncos-patch: security-moderate\nFixes: 470decc613ab (\"[PATCH] jbd2: initial copy of files from jbd\")\nChange-Id: I0bec9be83370e29c773c0874ef454ec4761eee44\nSigned-off-by: Ye Bin \u003cyebin10@huawei.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nMessage-ID: \u003c20251025072657.307851-1-yebin@huaweicloud.com\u003e\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.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/+/125501\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Daniel Velasquez \u003crdvelasquez@google.com\u003e\nReviewed-by: Angel Adetula \u003cangeladetula@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ca6f3f8729f37792b441f43ab3ecebf451272537",
      "old_mode": 33188,
      "old_path": "fs/jbd2/transaction.c",
      "new_id": "8f1792cb824f7d0d351cb0ed6753bb618a66bd64",
      "new_mode": 33188,
      "new_path": "fs/jbd2/transaction.c"
    }
  ]
}
