Integer overflow in Linux

CVE-2022-48938

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 11.7th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 4.14.317, 5.4.245, 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7
  • Linux Kernel

Weakness classification (CWE)

References