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 files71
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..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/wq.c
C · 782 bytes#include "edac_module.h"
static struct workqueue_struct *wq;
bool edac_queue_work(struct delayed_work *work, unsigned long delay)
{
return queue_delayed_work(wq, work, delay);
}
EXPORT_SYMBOL_GPL(edac_queue_work);
bool edac_mod_work(struct delayed_work *work, unsigned long delay)
{
return mod_delayed_work(wq, work, delay);
}
EXPORT_SYMBOL_GPL(edac_mod_work);
bool edac_stop_work(struct delayed_work *work)
{
bool ret;
ret = cancel_delayed_work_sync(work);
flush_workqueue(wq);
return ret;
}
EXPORT_SYMBOL_GPL(edac_stop_work);
int edac_workqueue_setup(void)
{
wq = alloc_ordered_workqueue("edac-poller", WQ_MEM_RECLAIM);
if (!wq)
return -ENODEV;
else
return 0;
}
void edac_workqueue_teardown(void)
{
flush_workqueue(wq);
destroy_workqueue(wq);
wq = NULL;
}