# CVE-2022-48837: usb: gadget: rndis: prevent integer overflow in rndis\_set\_response()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2024-07-16T12:25:09.212Z
- **Modified:** 2026-06-17T05:16:20.787Z

## Who should check

- Anyone running Linux \>= ff0a90739925734c91c7e39befe3f4378e0c1369, \< 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b; \>= 4c22fbcef778badb00fb8bb9f409daa29811c175, \< c7953cf03a26876d676145ce5d2ae6d8c9630b90; \>= db9aaa3026298d652e98f777bc0f5756e2455dda, \< 138d4f739b35dfb40438a0d5d7054965763bfbe7; \>= c9e952871ae47af784b4aef0a77db02e557074d6, \< 21829376268397f9fd2c35cfa9135937b6aa3a1e; \>= fb4ff0f96de37c44236598e8b53fe43b1df36bf3, \< 28bc0267399f42f987916a7174e2e32f0833cc65; \>= 2da3b0ab54fb7f4d7c5a82757246d0ee33a47197, \< 56b38e3ca4064041d93c1ca18828c8cedad2e16c; \>= 2724ebafda0a8df08a9cb91557d33226bee80f7b, \< df7e088d51cdf78b1a0bf1f3d405c2593295c7b0; \>= 38ea1eac7d88072bbffb630e2b3db83ca649b826, \< 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa
- Anyone running Linux \>= 4.9.302, \< 4.9.308; \>= 4.14.267, \< 4.14.273; \>= 4.19.230, \< 4.19.236; \>= 5.4.180, \< 5.4.187; \>= 5.10.101, \< 5.10.108; \>= 5.15.24, \< 5.15.31; \>= 5.16.10, \< 5.16.17

## Description

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

usb: gadget: rndis: prevent integer overflow in rndis\_set\_response()

If "BufOffset" is very large the "BufOffset + 8" operation can have an
integer overflow.

## Affected and fixed versions

- Linux: \>= ff0a90739925734c91c7e39befe3f4378e0c1369, \< 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b; \>= 4c22fbcef778badb00fb8bb9f409daa29811c175, \< c7953cf03a26876d676145ce5d2ae6d8c9630b90; \>= db9aaa3026298d652e98f777bc0f5756e2455dda, \< 138d4f739b35dfb40438a0d5d7054965763bfbe7; \>= c9e952871ae47af784b4aef0a77db02e557074d6, \< 21829376268397f9fd2c35cfa9135937b6aa3a1e; \>= fb4ff0f96de37c44236598e8b53fe43b1df36bf3, \< 28bc0267399f42f987916a7174e2e32f0833cc65; \>= 2da3b0ab54fb7f4d7c5a82757246d0ee33a47197, \< 56b38e3ca4064041d93c1ca18828c8cedad2e16c; \>= 2724ebafda0a8df08a9cb91557d33226bee80f7b, \< df7e088d51cdf78b1a0bf1f3d405c2593295c7b0; \>= 38ea1eac7d88072bbffb630e2b3db83ca649b826, \< 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa (cvelist)
- Linux: \>= 4.9.302, \< 4.9.308; \>= 4.14.267, \< 4.14.273; \>= 4.19.230, \< 4.19.236; \>= 5.4.180, \< 5.4.187; \>= 5.10.101, \< 5.10.108; \>= 5.15.24, \< 5.15.31; \>= 5.16.10, \< 5.16.17 (cvelist)

## Mitigation

- Upgrade Linux to 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa or later.
- Upgrade Linux to 5.16.17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48837. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48837.md
Affected: Linux >= ff0a90739925734c91c7e39befe3f4378e0c1369, < 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b; >= 4c22fbcef778badb00fb8bb9f409daa29811c175, < c7953cf03a26876d676145ce5d2ae6d8c9630b90; >= db9aaa3026298d652e98f777bc0f5756e2455dda, < 138d4f739b35dfb40438a0d5d7054965763bfbe7; >= c9e952871ae47af784b4aef…
Fixed in: Linux 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b, Linux 138d4f739b35dfb40438a0d5d7054965763bfbe7, Linux 21829376268397f9fd2c35cfa9135937b6aa3a1e, Linux 28bc0267399f42f987916a7174e2e32f0833cc65, Linux 56b38e3ca4064041d93c1ca18828c8cedad2e16c, Linux 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa, Linux 4.9.3…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48837 being exploited?

There is no confirmed exploitation: CVE-2022-48837 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48837?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48837?

Linux \>= ff0a90739925734c91c7e39befe3f4378e0c1369, \< 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b; \>= 4c22fbcef778badb00fb8bb9f409daa29811c175, \< c7953cf03a26876d676145ce5d2ae6d8c9630b90; \>= db9aaa3026298d652e98f777bc0f5756e2455dda, \< 138d4f739b35dfb40438a0d5d7054965763bfbe7; \>= c9e952871ae47af784b4aef0a77db02e557074d6, \< 21829376268397f9fd2c35cfa9135937b6aa3a1e; \>= fb4ff0f96de37c44236598e8b53fe43b1df36bf3, \< 28bc0267399f42f987916a7174e2e32f0833cc65; \>= 2da3b0ab54fb7f4d7c5a82757246d0ee33a47197, \< 56b38e3ca4064041d93c1ca18828c8cedad2e16c; \>= 2724ebafda0a8df08a9cb91557d33226bee80f7b, \< df7e088d51cdf78b1a0bf1f3d405c2593295c7b0; \>= 38ea1eac7d88072bbffb630e2b3db83ca649b826, \< 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa; Linux \>= 4.9.302, \< 4.9.308; \>= 4.14.267, \< 4.14.273; \>= 4.19.230, \< 4.19.236; \>= 5.4.180, \< 5.4.187; \>= 5.10.101, \< 5.10.108; \>= 5.15.24, \< 5.15.31; \>= 5.16.10, \< 5.16.17.

### Is there a fix for CVE-2022-48837?

Yes. Fixed in Linux 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b, Linux 138d4f739b35dfb40438a0d5d7054965763bfbe7, Linux 21829376268397f9fd2c35cfa9135937b6aa3a1e, Linux 28bc0267399f42f987916a7174e2e32f0833cc65, Linux 56b38e3ca4064041d93c1ca18828c8cedad2e16c, Linux 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa, Linux 4.9.308, Linux 4.14.273, Linux 4.19.236, Linux 5.4.187, Linux 5.10.108, Linux 5.15.31, Linux 5.16.17. Upgrade Linux to 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa or later. Upgrade Linux to 5.16.17 or later.

### How do I check if I'm affected by CVE-2022-48837?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b>
- patch: <https://git.kernel.org/stable/c/c7953cf03a26876d676145ce5d2ae6d8c9630b90>
- patch: <https://git.kernel.org/stable/c/138d4f739b35dfb40438a0d5d7054965763bfbe7>
- patch: <https://git.kernel.org/stable/c/21829376268397f9fd2c35cfa9135937b6aa3a1e>
- patch: <https://git.kernel.org/stable/c/28bc0267399f42f987916a7174e2e32f0833cc65>
- patch: <https://git.kernel.org/stable/c/56b38e3ca4064041d93c1ca18828c8cedad2e16c>
- patch: <https://git.kernel.org/stable/c/df7e088d51cdf78b1a0bf1f3d405c2593295c7b0>
- patch: <https://git.kernel.org/stable/c/65f3324f4b6fed78b8761c3b74615ecf0ffa81fa>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48837>

HTML: <https://flawdb.com/CVE-2022-48837> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48837>
