In the Linux kernel, the following vulnerability has been resolved:
nilfs2: prevent kernel bug at submit_bh_wbc()
Fix a bug where nilfs_get_block() returns a successful status when searching and inserting the specified block both fail inconsistently. If this inconsistent behavior is not due to a previously fixed bug, then an unexpected race is occurring, so return a temporary error -EAGAIN instead.
This prevents callers such as __block_write_begin_int() from requesting a read into a buffer that is not mapped, which would cause the BUG_ON check for the BH_Mapped flag in submit_bh_wbc() to fail.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 2.6.30 | 4.19.312 |
| linux / linux_kernel | 4.20 | 5.4.274 |
| linux / linux_kernel | 5.5 | 5.10.215 |
| linux / linux_kernel | 5.11 | 5.15.154 |
| linux / linux_kernel | 5.16 | 6.1.84 |
| linux / linux_kernel | 6.2 | 6.6.24 |
| linux / linux_kernel | 6.7 | 6.7.12 |
| linux / linux_kernel | 6.8 | 6.8.3 |
| debian / debian_linux | 10.0 | 10.0.x |