# CVE-2022-48938: CDC-NCM: avoid overflow in sanity checking

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.21%, higher than 12% of CVEs (2026-12-02)
- Published: 2024-08-22T03:31:33.381Z
- Modified: 2026-06-17T05:16:39.763Z
- 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:

CDC-NCM: avoid overflow in sanity checking

A broken device may give an extreme offset like 0xFFF0
and a reasonable length for a fragment. In the sanity
check as formulated now, this will create an integer
overflow, defeating the sanity check. Both offset
and offset + len need to be checked in such a manner
that no overflow can occur.
And those quantities should be unsigned.

(As written by CVE List.)

## Affected

- Linux Linux: from 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6 before a612395c7631918e0e10ea48b9ce5ab4340f26a6; from a270ca35a9499b58366d696d3290eaa4697a42db before 9957fbf34f52a4d8945d1bf39aae400ef9a11246; from 0fa81b304a7973a499f844176ca031109487dd31 before 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f; from 0fa81b304a7973a499f844176ca031109487dd31 before 49909c9f8458cacb5b241106cba65aba5a6d8f4c; from 0fa81b304a7973a499f844176ca031109487dd31 before 7b737e47b87589031f0d4657f6d7b0b770474925; from 0fa81b304a7973a499f844176ca031109487dd31 before 8d2b1a1ec9f559d30b724877da4ce592edc41fdc; 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7; from 4.19.285 before 4.19.323; from 5.4.245 before 5.4.285; from 4.14.317 before 4.15; 5.7 (not affected: before 5.7; from 4.19.323 up to 4.19.*; from 5.4.285 up to 5.4.*; from 5.10.103 up to 5.10.*; from 5.15.26 up to 5.15.*; from 5.16.12 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: before 5.10.103; from 5.11 before 5.15.26; from 5.16 before 5.16.12

## References

- <https://git.kernel.org/stable/c/a612395c7631918e0e10ea48b9ce5ab4340f26a6>
- <https://git.kernel.org/stable/c/9957fbf34f52a4d8945d1bf39aae400ef9a11246>
- <https://git.kernel.org/stable/c/69560efa001397ebb8dc1c3e6a3ce00302bb9f7f> (patch)
- <https://git.kernel.org/stable/c/49909c9f8458cacb5b241106cba65aba5a6d8f4c> (patch)
- <https://git.kernel.org/stable/c/7b737e47b87589031f0d4657f6d7b0b770474925> (patch)
- <https://git.kernel.org/stable/c/8d2b1a1ec9f559d30b724877da4ce592edc41fdc> (patch)

## Sources

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

---

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