commit | cff07e2739d81cf33eb2a378a6136eced852b8cb | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Mon Jun 17 10:06:03 2024 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Wed Jun 19 18:27:24 2024 -0400 |
tree | 16d13ed597b1558a6eeb6bd686acda0199d7f190 | |
parent | 1ba44217f8258f92c56644ca4fad4462f1941e33 [diff] |
bcachefs: Guard against overflowing LRU_TIME_BITS LRUs only have 48 bits for the time field (i.e. LRU order); thus we need overflow checks and guards. Reported-by: syzbot+df3bf3f088dcaa728857@syzkaller.appspotmail.com Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>