Skip to content

[SECURITY] x86/acpi: prevent OOB in mp_override_legacy_irq() (CVE-2017-11473)#125

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

[SECURITY] x86/acpi: prevent OOB in mp_override_legacy_irq() (CVE-2017-11473)#125
Mifacopy wants to merge 1 commit intofacebookincubator:oculus-go-kernel-masterfrom
Mifacopy:patch-20

Conversation

@Mifacopy
Copy link

Fix CVE-2017-11473.

Upstream commit: dad5ab0db8deac535d03e3fe3d8f2892173fa6a4

mp_override_legacy_irq() used the ACPI-provided bus_irq value as an index into
isa_irq_to_gsi[] without sanity checking. Broken or malicious ACPI tables could
cause out-of-bounds memory access, leading to malfunction, kernel panic, or
potential arbitrary code execution.

Add a boundary check (bus_irq >= NR_IRQS_LEGACY) and warn+return on invalid input.

Reference: CVE-2017-11473

@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