CVE-2022-48938

published 22 Aug 2024 · updated 17 Nov 2026

CDC-NCM: avoid overflow in sanity checking

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9957fbf34f52a4d8945d1bf39aae400ef9a11246, Kernel 7b737e47b87589031f0d4657f6d7b0b770474925, Kernel 8d2b1a1ec9f559d30b724877da4ce592edc41fdc and 9 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=a270ca35a9499b58366d696d3290eaa4697a42db <9957fbf34f52a4d8945d1bf39aae400ef9a11246, >=0fa81b304a7973a499f844176ca031109487dd31 <7b737e47b87589031f0d4657f6d7b0b770474925, >=0fa81b304a7973a499f844176ca031109487dd31 <8d2b1a1ec9f559d30b724877da4ce592edc41fdc, >=4.14.317 <4.15, >=4.19.285 <4.19.323, >=4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6 <a612395c7631918e0e10ea48b9ce5ab4340f26a6, >=5.4.245 <5.4.285, =5.7, =8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7, >=0fa81b304a7973a499f844176ca031109487dd31 <49909c9f8458cacb5b241106cba65aba5a6d8f4c, >=0fa81b304a7973a499f844176ca031109487dd31 <69560efa001397ebb8dc1c3e6a3ce00302bb9f7f9957fbf34f52a4d8945d1bf39aae400ef9a11246, 7b737e47b87589031f0d4657f6d7b0b770474925, 8d2b1a1ec9f559d30b724877da4ce592edc41fdc, 4.15, 4.19.323, a612395c7631918e0e10ea48b9ce5ab4340f26a6, 5.4.285, 49909c9f8458cacb5b241106cba65aba5a6d8f4c, 69560efa001397ebb8dc1c3e6a3ce00302bb9f7f
linux-kernel: Kernel>=4.19.285 <4.19.323, >=5.11.0 <5.15.26, >=5.16.0 <5.16.12, >=5.4.245 <5.4.285, >=5.7.0 <5.10.103, >=4.14.317 <4.154.19.323, 5.15.26, 5.16.12, 5.4.285, 5.10.103, 4.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48938 severity on Zeptric[![CVE-2022-48938](https://zeptric.io/badge/cve/CVE-2022-48938.svg)](https://zeptric.io/cve/CVE-2022-48938)