CVE-2022-49956
JSON

7.0high

staging: rtl8712: fix use after free bugs

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

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

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before 7dce6b0ee7d78667d6c831ced957a08769973063, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before 376e15487fec837301d888068a3fcc82efb6171a, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before 9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before d0aac7146e96bf39e79c65087d21dfa02ef8db38, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before 19e3f69d19801940abc2ac37c169882769ed9770, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before dc02aaf950015850e7589696521c7fca767cea77, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before b1727def850904e4b8ba384043775672841663a1, from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before e230a4455ac3e9b112f0367d1b8e255e141afae0 and 1 more
Not affected: before 2.6.37, from 4.9.328 up to 4.9.*, from 4.14.293 up to 4.14.*, from 4.19.258 up to 4.19.*, from 5.4.213 up to 5.4.*, from 5.10.142 up to 5.10.*
CVE List
linux linux_kernelfrom 2.6.37 before 4.9.328, from 4.10 before 4.14.293, from 4.15 before 4.19.258, from 4.20 before 5.4.213, from 5.5 before 5.10.142, from 5.11 before 5.15.66, from 5.16 before 5.19.8, 6.0NVD

All scores

Linux7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: staging: rtl8712: se corrige el error "use after free". Las devoluciones de llamada _Read/Write_MACREG son nulas, por lo que las funciones read/write_macreg_hdl() solo liberan el puntero "pcmd". Esto genera un error "use after free". Elimínelas.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49956 changed 2026-08-05CVE Terms of Use
NVDCVE-2022-49956 changed 2026-08-04Public domain