CVE-2023-54036

wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU

No CVSS score yet EPSS 0.20%

Published 24 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54036

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54036 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU

The wifi + bluetooth combo chip RTL8723BU can leak memory (especially?) when it's connected to a bluetooth audio device. The busy bluetooth traffic generates lots of C2H (card to host) messages, which are not freed correctly.

To fix this, move the dev_kfree_skb() call in rtl8xxxu_c2hcmd_callback() inside the loop where skb_dequeue() is called.

The RTL8192EU leaks memory because the C2H messages are added to the queue and left there forever. (This was fine in the past because it probably wasn't sending any C2H messages until commit e542e66b7c2e ("wifi: rtl8xxxu: gen2: Turn on the rate control"). Since that commit it sends a C2H message when the TX rate changes.)

To fix this, delete the check for rf_paths > 1 and the goto. Let the function process the C2H messages from RTL8192EU like the ones from the other chips.

Theoretically the RTL8188FU could also leak like RTL8723BU, but it most likely doesn't send C2H messages frequently enough.

This change was tested with RTL8723BU by Erhard F. I tested it with RTL8188FU and RTL8192EU.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e542e66b7c2ee2adeefdbb7f259f2f60cadf2819, before 430f9f9bec53a75f9ccc53e156a66f13fc098b83
affected from e542e66b7c2ee2adeefdbb7f259f2f60cadf2819, before 35fb0e275af1aa1ca0a9784417e90f988aaf8e78
affected from e542e66b7c2ee2adeefdbb7f259f2f60cadf2819, before 93c3f34ec02fc81188d328287d4fddd498ccddea
affected from e542e66b7c2ee2adeefdbb7f259f2f60cadf2819, before f39a86b4efd270947ee252cc32a30b0aef492d65
affected from e542e66b7c2ee2adeefdbb7f259f2f60cadf2819, before b39f662ce1648db0b9de32e6a849b098480793cb
Other versions: unaffected
Linux
affected 5.5
unaffected before 5.5
unaffected from 5.10.173 up to and including 5.10.*
unaffected from 5.15.99 up to and including 5.15.*
unaffected from 6.1.16 up to and including 6.1.*
unaffected from 6.2.3 up to and including 6.2.*
unaffected 6.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54036 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54036

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54036
trivy image --scanners vuln IMAGE | grep CVE-2023-54036

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54036 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.