Skip to content

[SECURITY] mm: add mmap_min_addr check in expand_downwards (CVE-2019-9213)#124

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

[SECURITY] mm: add mmap_min_addr check in expand_downwards (CVE-2019-9213)#124
Mifacopy wants to merge 1 commit intofacebookincubator:oculus-go-kernel-masterfrom
Mifacopy:patch-19

Conversation

@Mifacopy
Copy link

Fix CVE-2019-9213.

Upstream commit: 0a1d52994d440e21def1c2174932410b4f2a98a1

In the mm subsystem, expand_downwards() lacked a validation check for
mmap_min_addr, which could allow a local user on non-SMAP platforms to
more easily trigger a NULL pointer dereference in the kernel, leading to a
denial of service (kernel crash).

This patch adds the necessary check for the minimum mmap address to
prevent unintended NULL pointer dereferences.

Reference: CVE-2019-9213

@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