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 files34
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- board-d2net.c
- board-dt.c
- board-mss2.c
- board-rd88f5182.c
- bridge-regs.h
- common.c
- common.h
- db88f5281-setup.c
- dns323-setup.c
- irq.c
- irqs.h
- kurobox_pro-setup.c
- ls_hgl-setup.c
- mpp.c
- mpp.h
- mv2120-setup.c
- net2big-setup.c
- orion5x.h
- pci.c
- rd88f5181l-fxo-setup.c
- rd88f5181l-ge-setup.c
- rd88f5182-setup.c
- rd88f6183ap-ge-setup.c
- terastation_pro2-setup.c
- ts209-setup.c
- ts409-setup.c
- ts78xx-fpga.h
- ts78xx-setup.c
- tsx09-common.c
- tsx09-common.h
- wnr854t-setup.c
- wrt350n-v2-setup.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/mach-orion5x/ts78xx-fpga.h
Text · 1,086 bytes/* SPDX-License-Identifier: GPL-2.0 */
#define TS7800_FPGA_MAGIC 0x00b480
#define FPGAID(_magic, _rev) ((_magic << 8) + _rev)
/*
* get yer id's from http://ts78xx.digriz.org.uk/
* do *not* make up your own or 'borrow' any!
*/
enum fpga_ids {
/* Technologic Systems */
TS7800_REV_1 = FPGAID(TS7800_FPGA_MAGIC, 0x01),
TS7800_REV_2 = FPGAID(TS7800_FPGA_MAGIC, 0x02),
TS7800_REV_3 = FPGAID(TS7800_FPGA_MAGIC, 0x03),
TS7800_REV_4 = FPGAID(TS7800_FPGA_MAGIC, 0x04),
TS7800_REV_5 = FPGAID(TS7800_FPGA_MAGIC, 0x05),
TS7800_REV_6 = FPGAID(TS7800_FPGA_MAGIC, 0x06),
TS7800_REV_7 = FPGAID(TS7800_FPGA_MAGIC, 0x07),
TS7800_REV_8 = FPGAID(TS7800_FPGA_MAGIC, 0x08),
TS7800_REV_9 = FPGAID(TS7800_FPGA_MAGIC, 0x09),
/* Unaffordable & Expensive */
UAE_DUMMY = FPGAID(0xffffff, 0x01),
};
struct fpga_device {
unsigned present:1;
unsigned init:1;
};
struct fpga_devices {
/* Technologic Systems */
struct fpga_device ts_rtc;
struct fpga_device ts_nand;
struct fpga_device ts_rng;
};
struct ts78xx_fpga_data {
unsigned int id;
int state;
struct fpga_devices supports;
};