Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files35
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- altera-cvp.c
- altera-fpga2sdram.c
- altera-freeze-bridge.c
- altera-hps2fpga.c
- altera-pr-ip-core-plat.c
- altera-pr-ip-core.c
- altera-ps-spi.c
- dfl-afu-dma-region.c
- dfl-afu-main.c
- dfl-afu-region.c
- dfl-afu.h
- dfl-fme-br.c
- dfl-fme-main.c
- dfl-fme-mgr.c
- dfl-fme-pr.c
- dfl-fme-pr.h
- dfl-fme-region.c
- dfl-fme.h
- dfl-pci.c
- dfl.c
- dfl.h
- fpga-bridge.c
- fpga-mgr.c
- fpga-region.c
- ice40-spi.c
- machxo2-spi.c
- of-fpga-region.c
- socfpga-a10.c
- socfpga.c
- ts73xx-fpga.c
- xilinx-pr-decoupler.c
- xilinx-spi.c
- zynq-fpga.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/fpga/altera-pr-ip-core-plat.c
C · 1,458 bytes// SPDX-License-Identifier: GPL-2.0
/*
* Driver for Altera Partial Reconfiguration IP Core
*
* Copyright (C) 2016-2017 Intel Corporation
*
* Based on socfpga-a10.c Copyright (C) 2015-2016 Altera Corporation
* by Alan Tull <[email protected]>
*/
#include <linux/fpga/altera-pr-ip-core.h>
#include <linux/module.h>
#include <linux/of_device.h>
static int alt_pr_platform_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
void __iomem *reg_base;
struct resource *res;
/* First mmio base is for register access */
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
reg_base = devm_ioremap_resource(dev, res);
if (IS_ERR(reg_base))
return PTR_ERR(reg_base);
return alt_pr_register(dev, reg_base);
}
static int alt_pr_platform_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
return alt_pr_unregister(dev);
}
static const struct of_device_id alt_pr_of_match[] = {
{ .compatible = "altr,a10-pr-ip", },
{},
};
MODULE_DEVICE_TABLE(of, alt_pr_of_match);
static struct platform_driver alt_pr_platform_driver = {
.probe = alt_pr_platform_probe,
.remove = alt_pr_platform_remove,
.driver = {
.name = "alt_a10_pr_ip",
.of_match_table = alt_pr_of_match,
},
};
module_platform_driver(alt_pr_platform_driver);
MODULE_AUTHOR("Matthew Gerlach <[email protected]>");
MODULE_DESCRIPTION("Altera Partial Reconfiguration IP Platform Driver");
MODULE_LICENSE("GPL v2");