[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061812-CVE-2022-49956-6aa4@gregkh>
Date: Wed, 18 Jun 2025 13:00:21 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49956: staging: rtl8712: fix use after free bugs
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2022-49956 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 4.9.328 with commit 7dce6b0ee7d78667d6c831ced957a08769973063
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 4.14.293 with commit 376e15487fec837301d888068a3fcc82efb6171a
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 4.19.258 with commit 9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 5.4.213 with commit d0aac7146e96bf39e79c65087d21dfa02ef8db38
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 5.10.142 with commit 19e3f69d19801940abc2ac37c169882769ed9770
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 5.15.66 with commit dc02aaf950015850e7589696521c7fca767cea77
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 5.19.8 with commit b1727def850904e4b8ba384043775672841663a1
Issue introduced in 2.6.37 with commit 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef and fixed in 6.0 with commit e230a4455ac3e9b112f0367d1b8e255e141afae0
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-49956
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/staging/rtl8712/rtl8712_cmd.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/7dce6b0ee7d78667d6c831ced957a08769973063
https://git.kernel.org/stable/c/376e15487fec837301d888068a3fcc82efb6171a
https://git.kernel.org/stable/c/9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27
https://git.kernel.org/stable/c/d0aac7146e96bf39e79c65087d21dfa02ef8db38
https://git.kernel.org/stable/c/19e3f69d19801940abc2ac37c169882769ed9770
https://git.kernel.org/stable/c/dc02aaf950015850e7589696521c7fca767cea77
https://git.kernel.org/stable/c/b1727def850904e4b8ba384043775672841663a1
https://git.kernel.org/stable/c/e230a4455ac3e9b112f0367d1b8e255e141afae0
Powered by blists - more mailing lists