Files
linux-stable-mirror/lib
Matthew Wilcox (Oracle) 5dbcdaf4db ida: Fix crash in ida_free when the bitmap is empty
[ Upstream commit af73483f4e ]

The IDA usually detects double-frees, but that detection failed to
consider the case when there are no nearby IDs allocated and so we have a
NULL bitmap rather than simply having a clear bit.  Add some tests to the
test-suite to be sure we don't inadvertently reintroduce this problem.
Unfortunately they're quite noisy so include a message to disregard
the warnings.

Reported-by: Zhenghan Wang <wzhmmmmm@gmail.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:52:30 -08:00
..
2021-09-08 11:50:26 -07:00
2021-08-19 09:02:55 +09:00
2021-08-19 09:02:55 +09:00
2022-06-22 14:22:03 +02:00
2022-06-22 14:22:03 +02:00
2022-06-22 14:22:03 +02:00
2021-09-17 13:52:17 +01:00