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 files49
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- alauda.c
- cypress_atacb.c
- datafab.c
- debug.c
- debug.h
- ene_ub6250.c
- freecom.c
- initializers.c
- initializers.h
- isd200.c
- jumpshot.c
- karma.c
- onetouch.c
- option_ms.c
- option_ms.h
- protocol.c
- protocol.h
- realtek_cr.c
- scsiglue.c
- scsiglue.h
- sddr09.c
- sddr55.c
- shuttle_usbat.c
- sierra_ms.c
- sierra_ms.h
- transport.c
- transport.h
- uas-detect.h
- uas.c
- unusual_alauda.h
- unusual_cypress.h
- unusual_datafab.h
- unusual_devs.h
- unusual_ene_ub6250.h
- unusual_freecom.h
- unusual_isd200.h
- unusual_jumpshot.h
- unusual_karma.h
- unusual_onetouch.h
- unusual_realtek.h
- unusual_sddr09.h
- unusual_sddr55.h
- unusual_uas.h
- unusual_usbat.h
- usb.c
- usb.h
- usual-tables.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/usb/storage/initializers.h
Text · 1,376 bytes// SPDX-License-Identifier: GPL-2.0+
/*
* Header file for Special Initializers for certain USB Mass Storage devices
*
* Current development and maintenance by:
* (c) 1999, 2000 Matthew Dharm ([email protected])
*
* This driver is based on the 'USB Mass Storage Class' document. This
* describes in detail the protocol used to communicate with such
* devices. Clearly, the designers had SCSI and ATAPI commands in
* mind when they created this document. The commands are all very
* similar to commands in the SCSI-II and ATAPI specifications.
*
* It is important to note that in a number of cases this class
* exhibits class-specific exemptions from the USB specification.
* Notably the usage of NAK, STALL and ACK differs from the norm, in
* that they are used to communicate wait, failed and OK on commands.
*
* Also, for certain devices, the interrupt endpoint is used to convey
* status of a command.
*/
#include "usb.h"
#include "transport.h"
/*
* This places the Shuttle/SCM USB<->SCSI bridge devices in multi-target
* mode
*/
int usb_stor_euscsi_init(struct us_data *us);
/*
* This function is required to activate all four slots on the UCR-61S2B
* flash reader
*/
int usb_stor_ucr61s2b_init(struct us_data *us);
/* This places the HUAWEI E220 devices in multi-port mode */
int usb_stor_huawei_e220_init(struct us_data *us);