nla_nest_start() may fail and return NULL. Insert a check and set errno based on other call sites within the same source code. 社区有patch已经解决 nbd: null check for nla_nest_start commit 4af837db0fd3679fabc7b7758397090b0c06dced Reference:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=4af837db0fd3679fabc7b7758397090b0c06dced git cherry-pick -s 4af837db0f(with stable-v5.10.214 repo added)
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3094
(In reply to 小龙 from comment #1) > The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3094 merged