Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files66
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- association.h
- audio-v2.h
- audio-v3.h
- audio.h
- c67x00.h
- cdc-wdm.h
- cdc.h
- cdc_ncm.h
- ch9.h
- chipidea.h
- composite.h
- ehci-dbgp.h
- ehci_def.h
- ehci_pdriver.h
- ezusb.h
- functionfs.h
- g_hid.h
- gadget.h
- gadget_configfs.h
- gpio_vbus.h
- hcd.h
- input.h
- iowarrior.h
- irda.h
- isp116x.h
- isp1301.h
- isp1362.h
- isp1760.h
- m66592.h
- musb-ux500.h
- musb.h
- net2280.h
- of.h
- ohci_pdriver.h
- otg-fsm.h
- otg.h
- pd.h
- pd_ado.h
- pd_bdo.h
- pd_ext_sdb.h
- pd_vdo.h
- phy.h
- phy_companion.h
- quirks.h
- r8a66597.h
- renesas_usbhs.h
- rndis_host.h
- role.h
- samsung_usb_phy.h
- serial.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux/usb/cdc.h
Text · 1,517 bytes// SPDX-License-Identifier: GPL-2.0
/*
* USB CDC common helpers
*
* Copyright (c) 2015 Oliver Neukum <[email protected]>
*
* 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.
*/
#ifndef __LINUX_USB_CDC_H
#define __LINUX_USB_CDC_H
#include <uapi/linux/usb/cdc.h>
/*
* inofficial magic numbers
*/
#define CDC_PHONET_MAGIC_NUMBER 0xAB
/*
* parsing CDC headers
*/
struct usb_cdc_parsed_header {
struct usb_cdc_union_desc *usb_cdc_union_desc;
struct usb_cdc_header_desc *usb_cdc_header_desc;
struct usb_cdc_call_mgmt_descriptor *usb_cdc_call_mgmt_descriptor;
struct usb_cdc_acm_descriptor *usb_cdc_acm_descriptor;
struct usb_cdc_country_functional_desc *usb_cdc_country_functional_desc;
struct usb_cdc_network_terminal_desc *usb_cdc_network_terminal_desc;
struct usb_cdc_ether_desc *usb_cdc_ether_desc;
struct usb_cdc_dmm_desc *usb_cdc_dmm_desc;
struct usb_cdc_mdlm_desc *usb_cdc_mdlm_desc;
struct usb_cdc_mdlm_detail_desc *usb_cdc_mdlm_detail_desc;
struct usb_cdc_obex_desc *usb_cdc_obex_desc;
struct usb_cdc_ncm_desc *usb_cdc_ncm_desc;
struct usb_cdc_mbim_desc *usb_cdc_mbim_desc;
struct usb_cdc_mbim_extended_desc *usb_cdc_mbim_extended_desc;
bool phonet_magic_present;
};
struct usb_interface;
int cdc_parse_cdc_header(struct usb_cdc_parsed_header *hdr,
struct usb_interface *intf,
u8 *buffer,
int buflen);
#endif /* __LINUX_USB_CDC_H */