If you use an IDR with a non-zero base, and specify a range that lies
entirely below the base, 'max - base' becomes very large and
idr_get_free() can return an ID that lies outside of the requested range.
Link: https://lkml.kernel.org/r/20251128161853.3200058-1-willy@infradead.org
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| benchmark.c | ||
| idr-test.c | ||
| iteration_check.c | ||
| iteration_check_2.c | ||
| main.c | ||
| maple.c | ||
| multiorder.c | ||
| regression.h | ||
| regression1.c | ||
| regression2.c | ||
| regression3.c | ||
| regression4.c | ||
| tag_check.c | ||
| test.c | ||
| test.h | ||
| xarray.c | ||