Menu

Star on GitHub · 3.2k

CVE-2022-49301

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix uninit-value in usb_read8() and friends When r8712_usbctrl_vendorreq() returns negative, 'data' in usb_re…

Published Feb 26, 2025CWE-908EPSS 0.26%

Overview

CVE-2022-49301 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

staging: rtl8712: fix uninit-value in usb_read8() and friends

When r8712_usbctrl_vendorreq() returns negative, 'data' in

usb_read{8,16,32} will not be initialized.

BUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:643 [inline]

BUG: KMSAN: uninit-value in string+0x4ec/0x6f0 lib/vsprintf.c:725

string_nocheck lib/vsprintf.c:643 [inline]

string+0x4ec/0x6f0 lib/vsprintf.c:725

vsnprintf+0x2222/0x3650 lib/vsprintf.c:2806

va_format lib/vsprintf.c:1704 [inline]

pointer+0x18e6/0x1f70 lib/vsprintf.c:2443

vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2810

vprintk_store+0x537/0x2150 kernel/printk/printk.c:2158

vprintk_emit+0x28b/0xab0 kernel/printk/printk.c:2256

dev_vprintk_emit+0x5ef/0x6d0 drivers/base/core.c:4604

dev_printk_emit+0x1dd/0x21f drivers/base/core.c:4615

__dev_printk+0x3be/0x440 drivers/base/core.c:4627

_dev_info+0x1ea/0x22f drivers/base/core.c:4673

r871xu_drv_init+0x1929/0x3070 drivers/staging/rtl8712

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49301?

CVE-2022-49301 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49301?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49301?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49301?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49301 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all