Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files71
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- altera_edac.c
- altera_edac.h
- amd64_edac.c
- amd64_edac.h
- amd64_edac_dbg.c
- amd64_edac_inj.c
- amd76x_edac.c
- amd8111_edac.c
- amd8111_edac.h
- amd8131_edac.c
- amd8131_edac.h
- cell_edac.c
- cpc925_edac.c
- debugfs.c
- e752x_edac.c
- e7xxx_edac.c
- edac_device.c
- edac_device.h
- edac_device_sysfs.c
- edac_mc.c
- edac_mc.h
- edac_mc_sysfs.c
- edac_module.c
- edac_module.h
- edac_pci.c
- edac_pci.h
- edac_pci_sysfs.c
- fsl_ddr_edac.c
- fsl_ddr_edac.h
- ghes_edac.c
- highbank_l2_edac.c
- highbank_mc_edac.c
- i3000_edac.c
- i3200_edac.c
- i5000_edac.c
- i5100_edac.c
- i5400_edac.c
- i7300_edac.c
- i7core_edac.c
- i82443bxgx_edac.c
- i82860_edac.c
- i82875p_edac.c
- i82975x_edac.c
- ie31200_edac.c
- layerscape_edac.c
- mce_amd.c
- mce_amd.h
- mpc85xx_edac.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/edac/layerscape_edac.c
C · 1,649 bytes/*
* Freescale Memory Controller kernel module
*
* Author: York Sun <[email protected]>
*
* Copyright 2016 NXP Semiconductor
*
* Derived from mpc85xx_edac.c
* Author: Dave Jiang <[email protected]>
*
* 2006-2007 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include "edac_module.h"
#include "fsl_ddr_edac.h"
static const struct of_device_id fsl_ddr_mc_err_of_match[] = {
{ .compatible = "fsl,qoriq-memory-controller", },
{},
};
MODULE_DEVICE_TABLE(of, fsl_ddr_mc_err_of_match);
static struct platform_driver fsl_ddr_mc_err_driver = {
.probe = fsl_mc_err_probe,
.remove = fsl_mc_err_remove,
.driver = {
.name = "fsl_ddr_mc_err",
.of_match_table = fsl_ddr_mc_err_of_match,
},
};
static int __init fsl_ddr_mc_init(void)
{
int res;
/* make sure error reporting method is sane */
switch (edac_op_state) {
case EDAC_OPSTATE_POLL:
case EDAC_OPSTATE_INT:
break;
default:
edac_op_state = EDAC_OPSTATE_INT;
break;
}
res = platform_driver_register(&fsl_ddr_mc_err_driver);
if (res) {
pr_err("MC fails to register\n");
return res;
}
return 0;
}
module_init(fsl_ddr_mc_init);
static void __exit fsl_ddr_mc_exit(void)
{
platform_driver_unregister(&fsl_ddr_mc_err_driver);
}
module_exit(fsl_ddr_mc_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("NXP Semiconductor");
module_param(edac_op_state, int, 0444);
MODULE_PARM_DESC(edac_op_state,
"EDAC Error Reporting state: 0=Poll, 2=Interrupt");