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 files45
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- .gitignore
- Makefile
- atomic64_32.c
- atomic64_386_32.S
- atomic64_cx8_32.S
- cache-smp.c
- checksum_32.S
- clear_page_64.S
- cmdline.c
- cmpxchg16b_emu.S
- cmpxchg8b_emu.S
- copy_page_64.S
- copy_user_64.S
- cpu.c
- csum-copy_64.S
- csum-partial_64.c
- csum-wrappers_64.c
- delay.c
- error-inject.c
- getuser.S
- hweight.S
- inat.c
- insn-eval.c
- insn.c
- iomap_copy_64.S
- kaslr.c
- memcpy_32.c
- memcpy_64.S
- memmove_64.S
- memset_64.S
- misc.c
- mmx_32.c
- msr-reg-export.c
- msr-reg.S
- msr-smp.c
- msr.c
- putuser.S
- retpoline.S
- rwsem.S
- string_32.c
- strstr_32.c
- usercopy.c
- usercopy_32.c
- usercopy_64.c
- x86-opcode-map.txt
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/x86/lib/cpu.c
C · 583 bytes#include <linux/types.h>
#include <linux/export.h>
#include <asm/cpu.h>
unsigned int x86_family(unsigned int sig)
{
unsigned int x86;
x86 = (sig >> 8) & 0xf;
if (x86 == 0xf)
x86 += (sig >> 20) & 0xff;
return x86;
}
EXPORT_SYMBOL_GPL(x86_family);
unsigned int x86_model(unsigned int sig)
{
unsigned int fam, model;
fam = x86_family(sig);
model = (sig >> 4) & 0xf;
if (fam >= 0x6)
model += ((sig >> 16) & 0xf) << 4;
return model;
}
EXPORT_SYMBOL_GPL(x86_model);
unsigned int x86_stepping(unsigned int sig)
{
return sig & 0xf;
}
EXPORT_SYMBOL_GPL(x86_stepping);