Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI: Prevent out of bounds access in numa_node override
63692df ("PCI: Allow numa_node override via sysfs") didn't check that the numa node provided by userspace is valid. Passing a node number too high would attempt to access invalid memory and trigger a kernel panic. Fixes: 63692df ("PCI: Allow numa_node override via sysfs") Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: [email protected] # v3.19+
- Loading branch information