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 files77
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- .gitignore
- Makefile
- Makefile.gate
- acpi-ext.c
- acpi.c
- asm-offsets.c
- audit.c
- brl_emu.c
- crash.c
- crash_dump.c
- cyclone.c
- dma-mapping.c
- efi.c
- efi_stub.S
- elfcore.c
- entry.S
- entry.h
- err_inject.c
- esi.c
- esi_stub.S
- fsys.S
- fsyscall_gtod_data.h
- ftrace.c
- gate-data.S
- gate.S
- gate.lds.S
- head.S
- ia64_ksyms.c
- iosapic.c
- irq.c
- irq_ia64.c
- irq_lsapic.c
- ivt.S
- kprobes.c
- machine_kexec.c
- machvec.c
- mca.c
- mca_asm.S
- mca_drv.c
- mca_drv.h
- mca_drv_asm.S
- minstate.h
- module.c
- msi_ia64.c
- nr-irqs.c
- numa.c
- pal.S
- palinfo.c
- patch.c
- pci-dma.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/ia64/kernel/dma-mapping.c
C · 496 bytes// SPDX-License-Identifier: GPL-2.0
#include <linux/dma-mapping.h>
#include <linux/swiotlb.h>
#include <linux/export.h>
/* Set this to 1 if there is a HW IOMMU in the system */
int iommu_detected __read_mostly;
const struct dma_map_ops *dma_ops;
EXPORT_SYMBOL(dma_ops);
const struct dma_map_ops *dma_get_ops(struct device *dev)
{
return dma_ops;
}
EXPORT_SYMBOL(dma_get_ops);
#ifdef CONFIG_SWIOTLB
void __init swiotlb_dma_init(void)
{
dma_ops = &swiotlb_dma_ops;
swiotlb_init(1);
}
#endif