Buffer overflow in Linux

CVE-2022-48948

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: uvc: Prevent buffer overflow in setup handler

Setup function uvc_function_setup permits control transfer
requests with up to 64 bytes of payload (UVC_MAX_REQUEST_SIZE),
data stage handler for OUT transfer uses memcpy to copy req->actual
bytes to uvc_event->data.data array of size 60. This may result
in an overflow of 4 bytes.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

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

EPSS exploit prediction

EPSS 0.003, 19.4th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions cdda479f15cd13fa50a913ca85129c0437cc7b91, 2.6.35, 0
  • Linux Kernel — versions 6.1

Weakness classification (CWE)

References