In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]net: genl: fix error path memory leak in policy dumping[EOL][EOL]If construction of the array of policies fails when recording[EOL]non-first policy we need to unwind.[EOL][EOL]netlink_policy_dump_add_policy() itself also needs fixing as[EOL]it currently gives up on error without recording the allocated[EOL]pointer in the pstate pointer. CREATE(Triage):(User=lchen-cn) [CVE-2022-50042 (https://nvd.nist.gov/vuln/detail/CVE-2022-50042)