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

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2024-08-22T03:31:33.381Z
- **Modified:** 2026-06-17T05:16:39.763Z

## Who should check

- Anyone running Linux \>= 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6, \< a612395c7631918e0e10ea48b9ce5ab4340f26a6; \>= a270ca35a9499b58366d696d3290eaa4697a42db, \< 9957fbf34f52a4d8945d1bf39aae400ef9a11246; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 49909c9f8458cacb5b241106cba65aba5a6d8f4c; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 7b737e47b87589031f0d4657f6d7b0b770474925; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 8d2b1a1ec9f559d30b724877da4ce592edc41fdc; 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7; \>= 4.19.285, \< 4.19.323; \>= 5.4.245, \< 5.4.285; \>= 4.14.317, \< 4.15
- Anyone running Linux 5.7

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

## Affected and fixed versions

- Linux: \>= 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6, \< a612395c7631918e0e10ea48b9ce5ab4340f26a6; \>= a270ca35a9499b58366d696d3290eaa4697a42db, \< 9957fbf34f52a4d8945d1bf39aae400ef9a11246; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 49909c9f8458cacb5b241106cba65aba5a6d8f4c; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 7b737e47b87589031f0d4657f6d7b0b770474925; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 8d2b1a1ec9f559d30b724877da4ce592edc41fdc; 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7; \>= 4.19.285, \< 4.19.323; \>= 5.4.245, \< 5.4.285; \>= 4.14.317, \< 4.15 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 4.15 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-48938. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48938.md
Affected: Linux >= 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6, < a612395c7631918e0e10ea48b9ce5ab4340f26a6; >= a270ca35a9499b58366d696d3290eaa4697a42db, < 9957fbf34f52a4d8945d1bf39aae400ef9a11246; >= 0fa81b304a7973a499f844176ca031109487dd31, < 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f; >= 0fa81b304a7973a499f8441…
Fixed in: Linux 9957fbf34f52a4d8945d1bf39aae400ef9a11246, Linux 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f, Linux 49909c9f8458cacb5b241106cba65aba5a6d8f4c, Linux 7b737e47b87589031f0d4657f6d7b0b770474925, Linux 8d2b1a1ec9f559d30b724877da4ce592edc41fdc, Linux 4.19.323, Linux 5.4.285, Linux 4.15

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-48938 being exploited?

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

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

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

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

Linux \>= 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6, \< a612395c7631918e0e10ea48b9ce5ab4340f26a6; \>= a270ca35a9499b58366d696d3290eaa4697a42db, \< 9957fbf34f52a4d8945d1bf39aae400ef9a11246; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 49909c9f8458cacb5b241106cba65aba5a6d8f4c; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 7b737e47b87589031f0d4657f6d7b0b770474925; \>= 0fa81b304a7973a499f844176ca031109487dd31, \< 8d2b1a1ec9f559d30b724877da4ce592edc41fdc; 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7; \>= 4.19.285, \< 4.19.323; \>= 5.4.245, \< 5.4.285; \>= 4.14.317, \< 4.15; Linux 5.7.

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

Yes. Fixed in Linux 9957fbf34f52a4d8945d1bf39aae400ef9a11246, Linux 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f, Linux 49909c9f8458cacb5b241106cba65aba5a6d8f4c, Linux 7b737e47b87589031f0d4657f6d7b0b770474925, Linux 8d2b1a1ec9f559d30b724877da4ce592edc41fdc, Linux 4.19.323, Linux 5.4.285, Linux 4.15. Upgrade Linux to 4.15 or later.

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

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/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>
- other: <https://git.kernel.org/stable/c/a612395c7631918e0e10ea48b9ce5ab4340f26a6>
- other: <https://git.kernel.org/stable/c/9957fbf34f52a4d8945d1bf39aae400ef9a11246>

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

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