Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
In low memory conditions a page allocation failure leading to a leaked ERR_PTR(-ENOMEM) being later used as a valid pointer causing a NULL pointer deference.
IP: osc_io_init+0x16/0x80 [osc]
PGD 0 P4D 0
Oops: 0000 1 SMP PTI
...
Call Trace:
cl_io_init0.isra.21+0xa1/0x150 [obdclass]
cl_io_sub_init+0x3a/0x80 [obdclass]
lov_sub_get+0x29d/0x770 [lov]
lov_io_iter_init+0x26c/0xa80 [lov]