# CVE-2022-48837: usb: gadget: rndis: prevent integer overflow in rndis_set_response()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-07-16T12:25:09.212Z
- Modified: 2026-06-17T05:16:20.787Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ff0a90739925734c91c7e39befe3f4378e0c1369 before 8b3e4d26bc9cd0f6373d0095b9ffd99e7da8006b; from 4c22fbcef778badb00fb8bb9f409daa29811c175 before c7953cf03a26876d676145ce5d2ae6d8c9630b90; from db9aaa3026298d652e98f777bc0f5756e2455dda before 138d4f739b35dfb40438a0d5d7054965763bfbe7; from c9e952871ae47af784b4aef0a77db02e557074d6 before 21829376268397f9fd2c35cfa9135937b6aa3a1e; from fb4ff0f96de37c44236598e8b53fe43b1df36bf3 before 28bc0267399f42f987916a7174e2e32f0833cc65; from 2da3b0ab54fb7f4d7c5a82757246d0ee33a47197 before 56b38e3ca4064041d93c1ca18828c8cedad2e16c; from 2724ebafda0a8df08a9cb91557d33226bee80f7b before df7e088d51cdf78b1a0bf1f3d405c2593295c7b0; from 38ea1eac7d88072bbffb630e2b3db83ca649b826 before 65f3324f4b6fed78b8761c3b74615ecf0ffa81fa; from 4.9.302 before 4.9.308; from 4.14.267 before 4.14.273; from 4.19.230 before 4.19.236; from 5.4.180 before 5.4.187; and 3 more
- linux linux_kernel: from 4.9.302 before 4.9.308; from 4.14.267 before 4.14.273; from 4.19.230 before 4.19.236; from 5.4.180 before 5.4.187; from 5.10.101 before 5.10.108; from 5.15.24 before 5.15.31; from 5.16.10 before 5.16.17

## References

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

## Sources

- CVE List: [CVE-2022-48837](https://www.cve.org/CVERecord?id=CVE-2022-48837), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48837](https://nvd.nist.gov/vuln/detail/CVE-2022-48837), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48837 · Whole record: https://cve.day/CVE-2022-48837.json · Rebuilt by cve.day 2026-11-25T22:58:19.910Z
