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 files62
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- a800.c
- af9005-fe.c
- af9005-remote.c
- af9005-script.h
- af9005.c
- af9005.h
- az6027.c
- az6027.h
- cinergyT2-core.c
- cinergyT2-fe.c
- cinergyT2.h
- cxusb.c
- cxusb.h
- dib0700.h
- dib0700_core.c
- dib0700_devices.c
- dib07x0.h
- dibusb-common.c
- dibusb-mb.c
- dibusb-mc-common.c
- dibusb-mc.c
- dibusb.h
- digitv.c
- digitv.h
- dtt200u-fe.c
- dtt200u.c
- dtt200u.h
- dtv5100.c
- dtv5100.h
- dvb-usb-common.h
- dvb-usb-dvb.c
- dvb-usb-firmware.c
- dvb-usb-i2c.c
- dvb-usb-init.c
- dvb-usb-remote.c
- dvb-usb-urb.c
- dvb-usb.h
- dw2102.c
- dw2102.h
- friio-fe.c
- friio.c
- friio.h
- gp8psk.c
- gp8psk.h
- m920x.c
- m920x.h
- nova-t-usb2.c
- opera1.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/media/usb/dvb-usb/digitv.h
Text · 1,546 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _DVB_USB_DIGITV_H_
#define _DVB_USB_DIGITV_H_
#define DVB_USB_LOG_PREFIX "digitv"
#include "dvb-usb.h"
struct digitv_state {
int is_nxt6000;
unsigned char sndbuf[7];
unsigned char rcvbuf[7];
};
/* protocol (from usblogging and the SDK:
*
* Always 7 bytes bulk message(s) for controlling
*
* First byte describes the command. Reads are 2 consecutive transfer (as always).
*
* General structure:
*
* write or first message of a read:
* <cmdbyte> VV <len> B0 B1 B2 B3
*
* second message of a read
* <cmdbyte> VV <len> R0 R1 R2 R3
*
* whereas 0 < len <= 4
*
* I2C address is stored somewhere inside the device.
*
* 0x01 read from EEPROM
* VV = offset; B* = 0; R* = value(s)
*
* 0x02 read register of the COFDM
* VV = register; B* = 0; R* = value(s)
*
* 0x05 write register of the COFDM
* VV = register; B* = value(s);
*
* 0x06 write to the tuner (only for NXT6000)
* VV = 0; B* = PLL data; len = 4;
*
* 0x03 read remote control
* VV = 0; B* = 0; len = 4; R* = key
*
* 0x07 write to the remote (don't know why one should this, resetting ?)
* VV = 0; B* = key; len = 4;
*
* 0x08 write remote type
* VV = 0; B[0] = 0x01, len = 4
*
* 0x09 write device init
* TODO
*/
#define USB_READ_EEPROM 1
#define USB_READ_COFDM 2
#define USB_WRITE_COFDM 5
#define USB_WRITE_TUNER 6
#define USB_READ_REMOTE 3
#define USB_WRITE_REMOTE 7
#define USB_WRITE_REMOTE_TYPE 8
#define USB_DEV_INIT 9
#endif