Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files30
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- common.h
- emev2.h
- headsmp-apmu.S
- headsmp-scu.S
- headsmp.S
- platsmp-apmu.c
- platsmp-scu.c
- platsmp.c
- pm-rcar-gen2.c
- pm-rmobile.c
- pm-rmobile.h
- r8a7779.h
- rcar-gen2.h
- regulator-quirk-rcar-gen2.c
- setup-emev2.c
- setup-r7s72100.c
- setup-r8a73a4.c
- setup-r8a7740.c
- setup-r8a7778.c
- setup-r8a7779.c
- setup-rcar-gen2.c
- setup-sh73a0.c
- sh73a0.h
- smp-emev2.c
- smp-r8a7779.c
- smp-sh73a0.c
- suspend.c
- timer.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/mach-shmobile/platsmp.c
C · 1,005 bytes/*
* SMP support for R-Mobile / SH-Mobile
*
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2011 Paul Mundt
*
* Based on vexpress, Copyright (C) 2002 ARM Ltd, All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/init.h>
#include <asm/cacheflush.h>
#include <asm/smp_plat.h>
#include "common.h"
extern unsigned long shmobile_smp_fn[];
extern unsigned long shmobile_smp_arg[];
extern unsigned long shmobile_smp_mpidr[];
void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg)
{
shmobile_smp_fn[cpu] = 0;
flush_cache_all();
shmobile_smp_mpidr[cpu] = cpu_logical_map(cpu);
shmobile_smp_fn[cpu] = fn;
shmobile_smp_arg[cpu] = arg;
flush_cache_all();
}
#ifdef CONFIG_HOTPLUG_CPU
bool shmobile_smp_cpu_can_disable(unsigned int cpu)
{
return true; /* Hotplug of any CPU is supported */
}
#endif