2021-10-25 21:23:28

by YE Chengfeng

[permalink] [raw]
Subject: suspected null-pointer-reference problem for parent_mc_dev

Hi,

https://github.com/torvalds/linux/blob/master/drivers/bus/fsl-mc/fsl-mc-bus.c#L871

Our experimental static analysis tool detect a null-ptr-reference problem. It could be false positive, we report this to you just in case.

The pointer could be assigned null at line 796, and later could be dereferenced at line 871. We are not sure whether this is a feasible path, could you spare some time to have a look at it?

Thanks so much,
Chengfeng