Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files153
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- trace/
- vdso32/
- vdso64/
- .gitignore
- Makefile
- align.c
- asm-offsets.c
- audit.c
- btext.c
- cacheinfo.c
- cacheinfo.h
- compat_audit.c
- cpu_setup_44x.S
- cpu_setup_6xx.S
- cpu_setup_fsl_booke.S
- cpu_setup_pa6t.S
- cpu_setup_power.S
- cpu_setup_ppc970.S
- cputable.c
- crash.c
- crash_dump.c
- dbell.c
- dma-iommu.c
- dma-swiotlb.c
- dma.c
- dt_cpu_ftrs.c
- eeh.c
- eeh_cache.c
- eeh_dev.c
- eeh_driver.c
- eeh_event.c
- eeh_pe.c
- eeh_sysfs.c
- entry_32.S
- entry_64.S
- epapr_hcalls.S
- epapr_paravirt.c
- exceptions-64e.S
- exceptions-64s.S
- fadump.c
- firmware.c
- fpu.S
- fsl_booke_entry_mapping.S
- head_32.S
- head_40x.S
- head_44x.S
- head_64.S
- head_8xx.S
- head_booke.h
- head_fsl_booke.S
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/powerpc/kernel/suspend.c
C · 580 bytes/*
* Suspend support specific for power.
*
* Distribute under GPLv2
*
* Copyright (c) 2002 Pavel Machek <[email protected]>
* Copyright (c) 2001 Patrick Mochel <[email protected]>
*/
#include <linux/mm.h>
#include <asm/page.h>
#include <asm/sections.h>
/*
* pfn_is_nosave - check if given pfn is in the 'nosave' section
*/
int pfn_is_nosave(unsigned long pfn)
{
unsigned long nosave_begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT;
unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT;
return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn);
}