In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8712: fix use after free bugs
Read/WriteMACREG callbacks are NULL so the read/writemacreghdl() functions don't do anything except free the "pcmd" pointer. It results in a use after free. Delete them.