Skip to main content
Network Thinking Solutions Logo

CVE-2022-49312

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix a potential memory leak in r871xu_drv_init() In r871xu_drv_init(), if r8712_init_drv_sw() fails, then the memory allocated by r8712_alloc_io_queue() in r8712_usb_dvobj_init() is not properly released as there is no action will be performed by r8712_usb_dvobj_deinit().

All CVEs
CVE-2022-49312Published 2/26/2025

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix a potential memory leak in r871xu_drv_init() In r871xu_drv_init(), if r8712_init_drv_sw() fails, then the memory allocated by r8712_alloc_io_queue() in r8712_usb_dvobj_init() is not properly released as there is no action will be performed by r8712_usb_dvobj_deinit().

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix a potential memory leak in r871xu_drv_init() In r871xu_drv_init(), if r8712_init_drv_sw() fails, then the memory allocated by r8712_alloc_io_queue() in r8712_usb_dvobj_init() is not properly released as there is no action will be performed by r8712_usb_dvobj_deinit(). To properly release it, we should call r8712_free_io_queue() in r8712_usb_dvobj_deinit(). Besides, in r871xu_dev_remove(), r8712_usb_dvobj_deinit() will be called by r871x_dev_unload() under condition `padapter->bup` and r8712_free_io_queue() is called by r8712_free_drv_sw(). However, r8712_usb_dvobj_deinit() does not rely on `padapter->bup` and calling r8712_free_io_queue() in r8712_free_drv_sw() is negative for better understading the code. So I move r8712_usb_dvobj_deinit() into r871xu_dev_remove(), and remove r8712_free_io_queue() from r8712_free_drv_sw().

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.10.122

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.47

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.17.15

Verify advisory

Source
linux kernel
linux
≥ 5.18, < 5.18.4

Verify advisory

Source
Linux
Linux
≥ 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef, < 5a89a92efc342dd7c44b6056da87debc598f9c73

Verify advisory

Source
Linux
Linux
≥ 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef, < 8eb42d6d10f8fe509117859defddf9e72b4fa4d0

Verify advisory

Source
Linux
Linux
≥ 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef, < 205e039fead72e87ad2838f5e649a4c4834f648b

Verify advisory

Source
Linux
Linux
≥ 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef, < a2882b8baad068d21c99fb2ab5a85a2bdbd5b834

Verify advisory

Source
Linux
Linux
≥ 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef, < 7288ff561de650d4139fab80e9cb0da9b5b32434

Verify advisory

Source
Linux
Linux
2.6.37

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.