Description of problem: In digitv_i2c_xfer, msg is controlled by user. When msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed. Malicious data finally reach digitv_i2c_xfer. If accessing msg[i].buf[0] without sanity check, null ptr deref would happen.
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/1680
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/1682