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 files44
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Makefile
- accel.c
- accel.h
- chip.h
- debug.h
- dvi.c
- dvi.h
- global.c
- global.h
- hw.c
- hw.h
- ioctl.c
- ioctl.h
- lcd.c
- lcd.h
- share.h
- tblDPASetting.c
- tblDPASetting.h
- via-core.c
- via-gpio.c
- via_aux.c
- via_aux.h
- via_aux_ch7301.c
- via_aux_edid.c
- via_aux_sii164.c
- via_aux_vt1621.c
- via_aux_vt1622.c
- via_aux_vt1625.c
- via_aux_vt1631.c
- via_aux_vt1632.c
- via_aux_vt1636.c
- via_clock.c
- via_clock.h
- via_i2c.c
- via_modesetting.c
- via_modesetting.h
- via_utility.c
- via_utility.h
- viafbdev.c
- viafbdev.h
- viamode.c
- viamode.h
- vt1636.c
- vt1636.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/video/fbdev/via/via_aux_vt1631.c
C · 1,358 bytes/*
* Copyright 2011 Florian Tobias Schandinat <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation;
* either version 2, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE.See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*
* driver for VIA VT1631 LVDS Transmitter
*/
#include <linux/slab.h>
#include "via_aux.h"
static const char *name = "VT1631 LVDS Transmitter";
void via_aux_vt1631_probe(struct via_aux_bus *bus)
{
struct via_aux_drv drv = {
.bus = bus,
.addr = 0x38,
.name = name};
/* check vendor id and device id */
const u8 id[] = {0x06, 0x11, 0x91, 0x31}, len = ARRAY_SIZE(id);
u8 tmp[ARRAY_SIZE(id)];
if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len))
return;
printk(KERN_INFO "viafb: Found %s\n", name);
via_aux_add(&drv);
}