GHSA-q9qx-6p6c-fw88: In the Linux kernel, the following vulnerability has been resolved: ext4: fix rbtree traversal...

A vulnerability in the Linux kernel's ext4 filesystem could cause a BUG_ON during preallocation traversal, leading to potential data corruption or system crashes.

In the Linux kernel, the following vulnerability has been resolved: ext4: fix rbtree traversal bug in ext4_mb_use_preallocated During allocations, while looking for preallocations(PA) in the per inode rbtree, we can't do a direct traversal of the tree because ext4_mb_discard_group_preallocation() can paralelly mark the pa deleted and that can cause direct traversal to skip some entries. This was leading to a BUG_ON() being hit [1] when we missed a PA that could satisfy our request and ultimately tried to create a new PA that would overlap with the missed one. To makes sure we handle that case…