Skip to contentSkip to conversation

jbd2: backport CVE-2026-89566, CVE-2026-89567

PATCH Applied Artem Dinaburg 4 participants 11 messages Oct 8 – Oct 16 Stable branch

lore
Share & tools
lore
#0 lore raw

cover jbd2: backport CVE-2026-89566, CVE-2026-89567

Hi Greg, Sasha, and maintainers,

I'm working through the smaller CVE backports still missing from 6.6.y. These 2 upstream changes belong together for CVE-2026-89566, CVE-2026-89567. They must be applied in this order because the later change depends on or completes the earlier one.

The complete series is already present in 6.12.y, 6.18.y, and 7.2.y. These fixes also affect 6.1.y, which will need a separate backport; this series is only for 6.6.y.

Could you please consider this series for 6.6.y?

Thanks,
Artem Dinaburg

Series:
1. jbd2: check need_resched() when skipping busy checkpoint buffers
2. jbd2: bound shrinker scans by examined checkpoint buffers

base: v6.6.157 (79643295eba17affbd16ca97f3ef04c90266b28c) plus stable-queue revision 958ddf240a33ef26b1771be944f0ea6c3b597472

#1 lore raw

PATCH 1/2 jbd2: check need_resched() when skipping busy checkpoint buffers

From: Max Kellermann <[email protected]>

[ Upstream commit f213e12ff5c9590b1034ae8da0e6d09665c772d0 ]

journal_shrink_one_cp_list() skips busy checkpoint buffers when called with JBD2_SHRINK_BUSY_SKIP. The continue statement on this path also skips the need_resched() check at the end of the loop body.

Consequently, when a checkpoint list contains mostly busy buffers, the shrinker can walk the entire list while holding journal->j_list_lock, even when a reschedule has been requested. Large checkpoint lists under memory pressure can therefore cause long lock hold times and leave other CPUs spinning on j_list_lock, resulting in soft lockups or RCU stalls.

Route the busy-buffer path through the need_resched() check so that the shrinker can release j_list_lock and reschedule promptly, restoring parity with the clean-buffer path, which already checks need_resched(). This does not change which checkpoint buffers are eligible for removal.

[ Backport to 6.6.y: Use this tree's older shrink_type enumerator names
while routing busy buffers through the existing reschedule check. ]

---
This is patch 1 of 2 in the ordered 6.6.y backport series. This change addresses CVE-2026-89566. Both targets skip the common scheduling check on the busy-buffer continue path, allowing an unbounded non-preemptible scan.

The fix is already present in 6.12.y, 6.18.y, and 7.2.y, but not in 6.6.y. This fix also affects 6.1.y, which will need a separate backport; this submission contains only the 6.6.y patch.

 fs/jbd2/checkpoint.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/jbd2/checkpoint.c +2 -1
index 32ed28cfb3a0..e8a7186eb8c3 100644
@@ -391,7 +391,7 @@ static unsigned long journal_shrink_one_cp_list(struct journal_head *jh,
 			ret = jbd2_journal_try_remove_checkpoint(jh);
 			if (ret < 0) {
 				if (type == SHRINK_BUSY_SKIP)
-					continue;
+					goto next;
 				break;
 			}
 		}
@@ -402,6 +402,7 @@ static unsigned long journal_shrink_one_cp_list(struct journal_head *jh,
 			break;
 		}
 
+next:
 		if (need_resched())
 			break;
 	} while (jh != last_jh);
Signature · 1 line
2.39.5
#2 lore raw

Re: [PATCH 6.6.y 1/2] jbd2: check need_resched() when skipping busy checkpoint buffers

Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 14 lines

From: Max Kellermann <[email protected]>

[ Upstream commit f213e12ff5c9590b1034ae8da0e6d09665c772d0 ]

journal_shrink_one_cp_list() skips busy checkpoint buffers when called with JBD2_SHRINK_BUSY_SKIP. The continue statement on this path also skips the need_resched() check at the end of the loop body.

Consequently, when a checkpoint list contains mostly busy buffers, the shrinker can walk the entire list while holding journal->j_list_lock, even when a reschedule has been requested. Large checkpoint lists under memory pressure can therefore cause long lock hold times and leave other CPUs spinning on j_list_lock, resulting in soft lockups or RCU stalls.

Quoted 7 lines

Route the busy-buffer path through the need_resched() check so that the

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#3 lore raw

PATCH 2/2 jbd2: bound shrinker scans by examined checkpoint buffers

In reply to Artem Dinaburg

From: Max Kellermann <[email protected]>

[ Upstream commit 15cb16496446b94e67f7abcb049b8e2c75cd3d02 ]

The jbd2 shrinker currently accounts only checkpoint buffers that it successfully releases against nr_to_scan. Busy buffers therefore do not consume the scan budget.

If a checkpoint transaction contains mostly busy buffers, the shrinker can scan its entire checkpoint list while holding journal->j_list_lock. Large checkpoint lists can result in excessive lock hold times and leave other CPUs spinning on j_list_lock, causing soft lockups or RCU stalls.

Pass nr_to_scan into journal_shrink_one_cp_list() and decrement it for every buffer examined, including busy buffers. Pass NULL from checkpoint cleanup paths so their existing full-list behavior is preserved.

This restores the scan-budget semantics that existed before journal_shrink_one_cp_list() was changed to always scan a complete checkpoint list.

[ Backport to 6.6.y: use this tree's older shrink_type enumerator names;
the scan-budget accounting and caller changes are otherwise unchanged. ]

---
This is patch 2 of 2 in the ordered 6.6.y backport series. This change addresses CVE-2026-89567. Both jbd2 shrinkers decrement the scan budget only for buffers actually freed, so busy checkpoint lists can hold j_list_lock unboundedly; counting examined buffers restores shrinker semantics.
This needed a target-specific adjustment; I called it out in the bracketed backport note above.

The fix is already present in 6.12.y, 6.18.y, and 7.2.y, but not in 6.6.y. This fix also affects 6.1.y, which will need a separate backport; this submission contains only the 6.6.y patch.

 fs/jbd2/checkpoint.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
fs/jbd2/checkpoint.c +13 -12
index e8a7186eb8c3..0462101f683c 100644
@@ -360,15 +360,16 @@ enum shrink_type {SHRINK_DESTROY, SHRINK_BUSY_STOP, SHRINK_BUSY_SKIP};
 /*
  * journal_shrink_one_cp_list
  *
- * Find all the written-back checkpoint buffers in the given list
- * and try to release them. If the whole transaction is released, set
- * the 'released' parameter. Return the number of released checkpointed
- * buffers.
+ * Find written-back checkpoint buffers in the given list and try to release
+ * them. If 'nr_to_scan' is set, scan at most that many buffers. If the whole
+ * transaction is released, set the 'released' parameter. Return the number of
+ * released checkpointed buffers.
  *
  * Called with j_list_lock held.
  */
 static unsigned long journal_shrink_one_cp_list(struct journal_head *jh,
 						enum shrink_type type,
+						unsigned long *nr_to_scan,
 						bool *released)
 {
 	struct journal_head *last_jh;
@@ -377,13 +378,15 @@ static unsigned long journal_shrink_one_cp_list(struct journal_head *jh,
 	int ret;
 
 	*released = false;
-	if (!jh)
+	if (!jh || (nr_to_scan && !*nr_to_scan))
 		return 0;
 
 	last_jh = jh->b_cpprev;
 	do {
 		jh = next_jh;
 		next_jh = jh->b_cpnext;
+		if (nr_to_scan)
+			(*nr_to_scan)--;
 
 		if (type == SHRINK_DESTROY) {
 			ret = __jbd2_journal_remove_checkpoint(jh);
@@ -405,7 +408,7 @@ static unsigned long journal_shrink_one_cp_list(struct journal_head *jh,
 next:
 		if (need_resched())
 			break;
-	} while (jh != last_jh);
+	} while (jh != last_jh && (!nr_to_scan || *nr_to_scan));
 
 	return nr_freed;
 }
@@ -427,7 +430,6 @@ unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal,
 	tid_t first_tid = 0, last_tid = 0, next_tid = 0;
 	tid_t tid = 0;
 	unsigned long nr_freed = 0;
-	unsigned long freed;
 	bool first_set = false;
 
 again:
@@ -460,10 +462,9 @@ unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal,
 		next_transaction = transaction->t_cpnext;
 		tid = transaction->t_tid;
 
-		freed = journal_shrink_one_cp_list(transaction->t_checkpoint_list,
-						   SHRINK_BUSY_SKIP, &released);
-		nr_freed += freed;
-		(*nr_to_scan) -= min(*nr_to_scan, freed);
+		nr_freed += journal_shrink_one_cp_list(transaction->t_checkpoint_list,
+						       SHRINK_BUSY_SKIP,
+						       nr_to_scan, &released);
 		if (*nr_to_scan == 0)
 			break;
 		if (need_resched() || spin_needbreak(&journal->j_list_lock))
@@ -515,7 +516,7 @@ void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy)
 		transaction = next_transaction;
 		next_transaction = transaction->t_cpnext;
 		journal_shrink_one_cp_list(transaction->t_checkpoint_list,
-					   type, &released);
+					   type, NULL, &released);
 		/*
 		 * This function only frees up some memory if possible so we
 		 * dont have an obligation to finish processing. Bail out if
Signature · 1 line
2.39.5
#4 lore raw

Re: [PATCH 6.6.y 2/2] jbd2: bound shrinker scans by examined checkpoint buffers

Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 13 lines

From: Max Kellermann <[email protected]>

[ Upstream commit 15cb16496446b94e67f7abcb049b8e2c75cd3d02 ]

The jbd2 shrinker currently accounts only checkpoint buffers that it successfully releases against nr_to_scan. Busy buffers therefore do not consume the scan budget.

If a checkpoint transaction contains mostly busy buffers, the shrinker can scan its entire checkpoint list while holding journal->j_list_lock. Large checkpoint lists can result in excessive lock hold times and leave other CPUs spinning on j_list_lock, causing soft lockups or RCU stalls.

Quoted 8 lines

Pass nr_to_scan into journal_shrink_one_cp_list() and decrement it for every buffer examined, including busy buffers. Pass NULL from checkpoint

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
#6 lore raw
In reply to Artem Dinaburg
Quoted 6 lines · Artem Dinaburg

Hi Greg, Sasha, and maintainers,

I'm working through the smaller CVE backports still missing from 6.6.y. These 2 upstream changes belong together for CVE-2026-89566, CVE-2026-89567. They must be applied in this order because the later change depends on or completes the earlier one.

Note that some of the 6.1 and 6.6 LTS backports in the past have caused ext4 test regressions. Since I don't have the time to track down said ext4 regressiions (the last one took a week of my time, because bisects are painful, and even after I bisected it down to the guilty commit, figuring out out to safely revert it also took a lot of time), I've largely given up on those LTS releases.

In addition, many corporate security folks are advising that it's Simply Not Safe to use an LTS as old as 6.6, because even if you are trying to address the 6.6 ext4 CVE's, there are plenty of other CVE's that don't necessarily get backported, leaving those older LTS kernels vulnerable. But if you do have a real business need to use 6.6 LTS, would you be interested in taking over managing the 6.6 ext4 stable backports?

It's a lot easier to revert ext4 patches if the regressions are noted promptly, and so the easist way to do this would be to use
gce-xfstests[1]. I can send you the results of running:

    gce-xfstests ltm -c ext4/all,xfs/4k,btrfs/4k -g auto --repo stable-rc.git --watch linux-6.6.y

... or you can run it yourself if you like.

[1] https://thunk.org/gce-xfstests
[2] https://github.com/tytso/xfstests-bld/tree/master/Documentation/gce-xfstests.md

If you see failures in the latest stable-rc.git which are not in previous test runs, then promply send a note (within 48 hours) to the stable maintainers asking them to drop all of the ext4 and jbd2 patches that were sent to the latest stable-rc. You can then spend time, at your leisure, figuring out which of the ext4/jbd2 patches caused the regressions, and then either fix them up or skip them and send the rest to the stable maintainers.

If you see test regressions which *also* impact the xfs and btrfs trees, then it's likely that the bug is in the vfs and mm backported patches, so there won't be a need to request that the ext4 patches get dropped from the stable-rc --- but if there is a test regression impacting ext4, xfs, and btrfs, and you want to use 6.6 in production, this might still be an issue for your company.

Quoted 5 lines

The complete series is already present in 6.12.y, 6.18.y, and 7.2.y. These fixes also affect 6.1.y, which will need a separate backport; this series is only for 6.6.y.

Could you please consider this series for 6.6.y?

If you haven't tried running xfstests to verify that your patches don't cause any regressions, I strongly recommend it. I won't NAK the patches if you haven't, but that's because in my personal opinion, I strongly recommend **against** using 6.1 and 6.6, and I've given up trying to provide any ext4 support for 6.1 and 6.6 --- I just don't have the time. I barely have the time to pay attention to 6.12 and 6.18 LTS kernels, and those are only best efforts on my part.

Cheers,

- Ted

P.S. And if anyone would like to volunteer to be the ext4 stable maintainers for 6.12 and 6.18 (and 7.3 or 7.4 when the next LTS is declared) they would have my undying gratitude. :-) And the newer LTS kerenls should be much less work than the older LTS kernels, since the chances for regressions (and the work involved in trying to track down the regressions) are much less.

P.P.S. It's because of the risk of regressions than XFS has opted out from LTS backports. A few years back, a few companies (including my own) contributed engineering resources to test XFS patches and only sending patches that were verified to not cause regressions to the LTS kernels. Unfortunately, all of the companies decided it wasn't worth the SWE costs, and so the XFS stable backports project collapsed. I am happy to help provide the VM resources for a future XFS stable backports effort, since the VM costs are relatively modest. It's the SWE time which is significant burden, whether it's coming out of company funded time, or out of volunteer time late at night or on weekends....

#7 lore raw

Hi Ted,

Thanks for pointing us to xfstests and gce-xfstests. We had not included this regression coverage in our validation, and we appreciate you explaining both the testing approach and the stable-rc review process.

We are going to start including filesystem regression testing to our backport checks, and started your recommended ext4/all, XFS/4k and Btrfs/4k auto matrix locally under QEMU/KVM.

Our initial unpatched/patched runs showed some differences in both directions. We cannot yet attribute those to the series, so we have paused the patched comparison and are running three complete iterations on the same unpatched baseline to assess repeatability.

We will follow up once we have firmer results.

Thanks,
Artem Dinaburg

Quoted 86 lines · Theodore Tso
Quoted 6 lines · Artem Dinaburg

Hi Greg, Sasha, and maintainers,

I'm working through the smaller CVE backports still missing from 6.6.y. These 2 upstream changes belong together for CVE-2026-89566, CVE-2026-89567. They must be applied in this order because the later change depends on or completes the earlier one.

Note that some of the 6.1 and 6.6 LTS backports in the past have caused ext4 test regressions. Since I don't have the time to track down said ext4 regressiions (the last one took a week of my time, because bisects are painful, and even after I bisected it down to the guilty commit, figuring out out to safely revert it also took a lot of time), I've largely given up on those LTS releases.

In addition, many corporate security folks are advising that it's Simply Not Safe to use an LTS as old as 6.6, because even if you are trying to address the 6.6 ext4 CVE's, there are plenty of other CVE's that don't necessarily get backported, leaving those older LTS kernels vulnerable. But if you do have a real business need to use 6.6 LTS, would you be interested in taking over managing the 6.6 ext4 stable backports?

It's a lot easier to revert ext4 patches if the regressions are noted promptly, and so the easist way to do this would be to use
gce-xfstests[1]. I can send you the results of running:

    gce-xfstests ltm -c ext4/all,xfs/4k,btrfs/4k -g auto --repo stable-rc.git --watch linux-6.6.y

... or you can run it yourself if you like.

[1] https://thunk.org/gce-xfstests
[2] https://github.com/tytso/xfstests-bld/tree/master/Documentation/gce-xfstests.md

If you see failures in the latest stable-rc.git which are not in previous test runs, then promply send a note (within 48 hours) to the stable maintainers asking them to drop all of the ext4 and jbd2 patches that were sent to the latest stable-rc. You can then spend time, at your leisure, figuring out which of the ext4/jbd2 patches caused the regressions, and then either fix them up or skip them and send the rest to the stable maintainers.

If you see test regressions which *also* impact the xfs and btrfs trees, then it's likely that the bug is in the vfs and mm backported patches, so there won't be a need to request that the ext4 patches get dropped from the stable-rc --- but if there is a test regression impacting ext4, xfs, and btrfs, and you want to use 6.6 in production, this might still be an issue for your company.

Quoted 5 lines

The complete series is already present in 6.12.y, 6.18.y, and 7.2.y. These fixes also affect 6.1.y, which will need a separate backport; this series is only for 6.6.y.

Could you please consider this series for 6.6.y?

If you haven't tried running xfstests to verify that your patches don't cause any regressions, I strongly recommend it. I won't NAK the patches if you haven't, but that's because in my personal opinion, I strongly recommend **against** using 6.1 and 6.6, and I've given up trying to provide any ext4 support for 6.1 and 6.6 --- I just don't have the time. I barely have the time to pay attention to 6.12 and 6.18 LTS kernels, and those are only best efforts on my part.

Cheers,

- Ted

P.S. And if anyone would like to volunteer to be the ext4 stable maintainers for 6.12 and 6.18 (and 7.3 or 7.4 when the next LTS is declared) they would have my undying gratitude. :-) And the newer LTS kerenls should be much less work than the older LTS kernels, since the chances for regressions (and the work involved in trying to track down the regressions) are much less.

P.P.S. It's because of the risk of regressions than XFS has opted out from LTS backports. A few years back, a few companies (including my own) contributed engineering resources to test XFS patches and only sending patches that were verified to not cause regressions to the LTS kernels. Unfortunately, all of the companies decided it wasn't worth the SWE costs, and so the XFS stable backports project collapsed. I am happy to help provide the VM resources for a future XFS stable backports effort, since the VM costs are relatively modest. It's the SWE time which is significant burden, whether it's coming out of company funded time, or out of volunteer time late at night or on weekends....

#8 lore raw
Quoted 5 lines · Artem Dinaburg

Our initial unpatched/patched runs showed some differences in both directions. We cannot yet attribute those to the series, so we have paused the patched comparison and are running three complete iterations on the same unpatched baseline to assess repeatability.

Note that some tests can be flaky. So when you see a test failure, it can be useful to run a test multiple times, so you can see if the test is a reliable hard failure, or one that only fails, say, 30% of the time. So to run generic/363 10 times in the ext4/1k configuration, you might do soemthing like this:

kvm-xfstests -c ext4/1k generic/363 -C 10

- Ted

#9 lore raw

Hi Ted,

Quoted 2 lines

Note that some tests can be flaky. So when you see a test failure, it can be useful to run a test multiple times

Thanks for the advice. We are still working through the testing and wanted to send you a progress update.

We have completed three full iterations of ext4/all,xfs/4k,btrfs/4k -g auto on the same unpatched 6.6.159-rc1 baseline (72bada21be7b), followed by one full iteration with the submitted two-patch jbd2 series.

We used QEMU/KVM with fresh guest and test disks for each configuration.

Following your suggestion, we also completed ten focused trials on each kernel for 21 suspect configuration/test pairs: 420 trials in total. Each trial used a separately booted guest and fresh disks.

In those ten runs on each kernel, we observed the following flaky tests. Counts below are failures out of ten, unpatched / patched:

Flaky on both kernels:

btrfs/4k btrfs/028: 3 / 3
btrfs/4k btrfs/192: 7 / 6
btrfs/4k generic/449: 4 / 7
ext4/1k generic/051: 3 / 5
ext4/1k generic/388: 2 / 3
ext4/1k generic/475: 5 / 3
ext4/adv generic/455: 5 / 5
ext4/adv generic/482: 4 / 2
ext4/ext3 generic/388: 8 / 9

Flaky on the unpatched kernel only:

ext4/bigalloc_4k generic/320: 2 / 0

Flaky on the patched kernel only:

ext4/4k generic/045: 0 / 1

We are now running 200 additional iterations of generic/045 on each kernel in each of ext4/4k and ext4/1k. Ten runs leave wide confidence
intervals: a rare failure could easily have been missed on the unpatched kernel. The additional runs will let us estimate failure rates and their 95% confidence intervals to assess whether the test fails more often on the patched kernel. We will finish all planned runs before comparing the results.

Thanks,
Artem Dinaburg

Quoted 18 lines · Theodore Tso
Quoted 5 lines · Artem Dinaburg

Our initial unpatched/patched runs showed some differences in both directions. We cannot yet attribute those to the series, so we have paused the patched comparison and are running three complete iterations on the same unpatched baseline to assess repeatability.

Note that some tests can be flaky. So when you see a test failure, it can be useful to run a test multiple times, so you can see if the test is a reliable hard failure, or one that only fails, say, 30% of the time. So to run generic/363 10 times in the ext4/1k configuration, you might do soemthing like this:

kvm-xfstests -c ext4/1k generic/363 -C 10

- Ted

#10 lore raw

Hi Ted,

A quick update on generic/045:
we ran it another 200 times on each kernel in each of ext4/4k and ext4/1k. All 800 runs passed:

Unpatched With the jbd2 series

  ext4/4k         200/200 passed   200/200 passed
  ext4/1k         200/200 passed   200/200 passed

We kept the same kernel configuration and QEMU setup, with a fresh guest and test disks for every run.

We also reviewed the kernel logs from both earlier generic/045 failures, passing runs, and all 800 new runs. During the test they show only the shutdown and journal-abort messages that it deliberately triggers, with no additional warning or stack trace at the failures.

Both failed tests reported files with nonzero size but no extents. The logs do not explain why, and neither failure recurred in the 200 additional runs on each kernel. The earlier ext4/1k failure occurred during the full suite, so running the test alone may miss an interaction with earlier tests.

Thanks,
Artem Dinaburg

Quoted 75 lines · Artem Dinaburg

Hi Ted,

Quoted 2 lines

Note that some tests can be flaky. So when you see a test failure, it can be useful to run a test multiple times

Thanks for the advice. We are still working through the testing and wanted to send you a progress update.

We have completed three full iterations of ext4/all,xfs/4k,btrfs/4k -g auto on the same unpatched 6.6.159-rc1 baseline (72bada21be7b), followed by one full iteration with the submitted two-patch jbd2 series.

We used QEMU/KVM with fresh guest and test disks for each configuration.

Following your suggestion, we also completed ten focused trials on each kernel for 21 suspect configuration/test pairs: 420 trials in total. Each trial used a separately booted guest and fresh disks.

In those ten runs on each kernel, we observed the following flaky tests. Counts below are failures out of ten, unpatched / patched:

Flaky on both kernels:

btrfs/4k btrfs/028: 3 / 3
btrfs/4k btrfs/192: 7 / 6
btrfs/4k generic/449: 4 / 7
ext4/1k generic/051: 3 / 5
ext4/1k generic/388: 2 / 3
ext4/1k generic/475: 5 / 3
ext4/adv generic/455: 5 / 5
ext4/adv generic/482: 4 / 2
ext4/ext3 generic/388: 8 / 9

Flaky on the unpatched kernel only:

ext4/bigalloc_4k generic/320: 2 / 0

Flaky on the patched kernel only:

ext4/4k generic/045: 0 / 1

We are now running 200 additional iterations of generic/045 on each kernel in each of ext4/4k and ext4/1k. Ten runs leave wide confidence
intervals: a rare failure could easily have been missed on the unpatched kernel. The additional runs will let us estimate failure rates and their 95% confidence intervals to assess whether the test fails more often on the patched kernel. We will finish all planned runs before comparing the results.

Thanks,
Artem Dinaburg

Quoted 18 lines · Theodore Tso
Quoted 5 lines · Artem Dinaburg

Our initial unpatched/patched runs showed some differences in both directions. We cannot yet attribute those to the series, so we have paused the patched comparison and are running three complete iterations on the same unpatched baseline to assess repeatability.

Note that some tests can be flaky. So when you see a test failure, it can be useful to run a test multiple times, so you can see if the test is a reliable hard failure, or one that only fails, say, 30% of the time. So to run generic/363 10 times in the ext4/1k configuration, you might do soemthing like this:

kvm-xfstests -c ext4/1k generic/363 -C 10

- Ted