--- zzzz-none-000/linux-4.1.52/fs/jbd2/transaction.c 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/fs/jbd2/transaction.c 2022-03-02 11:37:13.000000000 +0000 @@ -1283,11 +1283,18 @@ * of the transaction. This needs to be done * once a transaction -bzzz */ +#if !defined(CONFIG_BCM_KF_MISC_BACKPORTS) /*CVE-2018-10883*/ jh->b_modified = 1; +#endif if (handle->h_buffer_credits <= 0) { ret = -ENOSPC; goto out_unlock_bh; } + +#if defined(CONFIG_BCM_KF_MISC_BACKPORTS) +/*CVE-2018-10883*/ + jh->b_modified = 1; +#endif handle->h_buffer_credits--; }