Skip to content

[SECURITY] media: ov519: add missing endpoint sanity checks (CVE-2020-11608)#136

Open
Mifacopy wants to merge 1 commit intofacebookincubator:oculus-go-kernel-masterfrom
Mifacopy:patch-33
Open

[SECURITY] media: ov519: add missing endpoint sanity checks (CVE-2020-11608)#136
Mifacopy wants to merge 1 commit intofacebookincubator:oculus-go-kernel-masterfrom
Mifacopy:patch-33

Conversation

@Mifacopy
Copy link

Fix CVE-2020-11608.

Upstream commit: 998912346c0da53a6dbb71fab3a138586b596b30

The gspca ov519 (OV51x) USB camera driver accessed altsetting endpoint[0]
during stream start without first verifying that the interface provides at
least one endpoint. A crafted/malicious device descriptor can therefore
trigger a NULL pointer dereference and crash the kernel (DoS).

Add explicit bNumEndpoints sanity checks before accessing the endpoint array.

Reference: CVE-2020-11608

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant