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 files71
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- at91_cf.c
- bcm63xx_pcmcia.c
- bcm63xx_pcmcia.h
- cardbus.c
- cirrus.h
- cistpl.c
- cs.c
- cs_internal.h
- db1xxx_ss.c
- ds.c
- electra_cf.c
- i82092.c
- i82092aa.h
- i82365.c
- i82365.h
- o2micro.h
- omap_cf.c
- pcmcia_cis.c
- pcmcia_resource.c
- pd6729.c
- pd6729.h
- pxa2xx_balloon3.c
- pxa2xx_base.c
- pxa2xx_base.h
- pxa2xx_cm_x255.c
- pxa2xx_cm_x270.c
- pxa2xx_cm_x2xx.c
- pxa2xx_colibri.c
- pxa2xx_e740.c
- pxa2xx_hx4700.c
- pxa2xx_mainstone.c
- pxa2xx_palmld.c
- pxa2xx_palmtc.c
- pxa2xx_palmtx.c
- pxa2xx_sharpsl.c
- pxa2xx_stargate2.c
- pxa2xx_trizeps4.c
- pxa2xx_viper.c
- pxa2xx_vpac270.c
- ricoh.h
- rsrc_iodyn.c
- rsrc_mgr.c
- rsrc_nonstatic.c
- sa1100_generic.c
- sa1100_generic.h
- sa1100_h3600.c
- sa1100_simpad.c
- sa1111_badge4.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/pcmcia/pxa2xx_cm_x2xx.c
C · 1,149 bytes/*
* linux/drivers/pcmcia/pxa/pxa_cm_x2xx.c
*
* 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.
*
* Compulab Ltd., 2003, 2007, 2008
* Mike Rapoport <[email protected]>
*
*/
#include <linux/module.h>
#include <asm/mach-types.h>
#include <mach/hardware.h>
int cmx255_pcmcia_init(void);
int cmx270_pcmcia_init(void);
void cmx255_pcmcia_exit(void);
void cmx270_pcmcia_exit(void);
static int __init cmx2xx_pcmcia_init(void)
{
int ret = -ENODEV;
if (machine_is_armcore() && cpu_is_pxa25x())
ret = cmx255_pcmcia_init();
else if (machine_is_armcore() && cpu_is_pxa27x())
ret = cmx270_pcmcia_init();
return ret;
}
static void __exit cmx2xx_pcmcia_exit(void)
{
if (machine_is_armcore() && cpu_is_pxa25x())
cmx255_pcmcia_exit();
else if (machine_is_armcore() && cpu_is_pxa27x())
cmx270_pcmcia_exit();
}
module_init(cmx2xx_pcmcia_init);
module_exit(cmx2xx_pcmcia_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Mike Rapoport <[email protected]>");
MODULE_DESCRIPTION("CM-x2xx PCMCIA driver");