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 files326
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- crypto/
- e820/
- fpu/
- numachip/
- trace/
- uv/
- xen/
- Kbuild
- a.out-core.h
- acenv.h
- acpi.h
- agp.h
- alternative-asm.h
- alternative.h
- amd_nb.h
- apb_timer.h
- apic.h
- apic_flat_64.h
- apicdef.h
- apm.h
- arch_hweight.h
- archrandom.h
- asm-offsets.h
- asm-prototypes.h
- asm.h
- atomic.h
- atomic64_32.h
- atomic64_64.h
- barrier.h
- bios_ebda.h
- bitops.h
- boot.h
- bootparam_utils.h
- bug.h
- bugs.h
- cache.h
- cacheflush.h
- cacheinfo.h
- calgary.h
- ce4100.h
- checksum.h
- checksum_32.h
- checksum_64.h
- clocksource.h
- cmdline.h
- cmpxchg.h
- cmpxchg_32.h
- cmpxchg_64.h
- compat.h
- cpu.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/x86/include/asm/kasan.h
Text · 1,118 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_KASAN_H
#define _ASM_X86_KASAN_H
#include <linux/const.h>
#define KASAN_SHADOW_OFFSET _AC(CONFIG_KASAN_SHADOW_OFFSET, UL)
#define KASAN_SHADOW_SCALE_SHIFT 3
/*
* Compiler uses shadow offset assuming that addresses start
* from 0. Kernel addresses don't start from 0, so shadow
* for kernel really starts from compiler's shadow offset +
* 'kernel address space start' >> KASAN_SHADOW_SCALE_SHIFT
*/
#define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \
((-1UL << __VIRTUAL_MASK_SHIFT) >> \
KASAN_SHADOW_SCALE_SHIFT))
/*
* 47 bits for kernel address -> (47 - KASAN_SHADOW_SCALE_SHIFT) bits for shadow
* 56 bits for kernel address -> (56 - KASAN_SHADOW_SCALE_SHIFT) bits for shadow
*/
#define KASAN_SHADOW_END (KASAN_SHADOW_START + \
(1ULL << (__VIRTUAL_MASK_SHIFT - \
KASAN_SHADOW_SCALE_SHIFT)))
#ifndef __ASSEMBLY__
#ifdef CONFIG_KASAN
void __init kasan_early_init(void);
void __init kasan_init(void);
#else
static inline void kasan_early_init(void) { }
static inline void kasan_init(void) { }
#endif
#endif
#endif