{"id":"CVE-2022-49956","summary":"staging: rtl8712: fix use after free bugs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8712: fix use after free bugs\n\n_Read/Write_MACREG callbacks are NULL so the read/write_macreg_hdl()\nfunctions don't do anything except free the \"pcmd\" pointer.  It\nresults in a use after free.  Delete them.","modified":"2026-05-18T05:56:22.248278075Z","published":"2025-06-18T11:00:18.341Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02537-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49956.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19e3f69d19801940abc2ac37c169882769ed9770"},{"type":"WEB","url":"https://git.kernel.org/stable/c/376e15487fec837301d888068a3fcc82efb6171a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7dce6b0ee7d78667d6c831ced957a08769973063"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1727def850904e4b8ba384043775672841663a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0aac7146e96bf39e79c65087d21dfa02ef8db38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc02aaf950015850e7589696521c7fca767cea77"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e230a4455ac3e9b112f0367d1b8e255e141afae0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49956.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49956"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef"},{"fixed":"7dce6b0ee7d78667d6c831ced957a08769973063"},{"fixed":"376e15487fec837301d888068a3fcc82efb6171a"},{"fixed":"9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27"},{"fixed":"d0aac7146e96bf39e79c65087d21dfa02ef8db38"},{"fixed":"19e3f69d19801940abc2ac37c169882769ed9770"},{"fixed":"dc02aaf950015850e7589696521c7fca767cea77"},{"fixed":"b1727def850904e4b8ba384043775672841663a1"},{"fixed":"e230a4455ac3e9b112f0367d1b8e255e141afae0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49956.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.37"},{"fixed":"4.9.328"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.293"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.213"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49956.json"}}],"schema_version":"1.7.5"}