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 files63
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Makefile
- f_acm.c
- f_ecm.c
- f_eem.c
- f_fs.c
- f_hid.c
- f_loopback.c
- f_mass_storage.c
- f_mass_storage.h
- f_midi.c
- f_ncm.c
- f_obex.c
- f_phonet.c
- f_printer.c
- f_rndis.c
- f_serial.c
- f_sourcesink.c
- f_subset.c
- f_tcm.c
- f_uac1.c
- f_uac1_legacy.c
- f_uac2.c
- f_uvc.c
- f_uvc.h
- g_zero.h
- ndis.h
- rndis.c
- rndis.h
- storage_common.c
- storage_common.h
- tcm.h
- u_audio.c
- u_audio.h
- u_ecm.h
- u_eem.h
- u_ether.c
- u_ether.h
- u_ether_configfs.h
- u_fs.h
- u_gether.h
- u_hid.h
- u_midi.h
- u_ncm.h
- u_phonet.h
- u_printer.h
- u_rndis.h
- u_serial.c
- u_serial.h
- u_tcm.h
- u_uac1.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/usb/gadget/function/u_rndis.h
Text · 996 bytes// SPDX-License-Identifier: GPL-2.0
/*
* u_rndis.h
*
* Utility definitions for the subset function
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Author: Andrzej Pietrasiewicz <[email protected]>
*/
#ifndef U_RNDIS_H
#define U_RNDIS_H
#include <linux/usb/composite.h>
struct f_rndis_opts {
struct usb_function_instance func_inst;
u32 vendor_id;
const char *manufacturer;
struct net_device *net;
bool bound;
bool borrowed_net;
struct config_group *rndis_interf_group;
struct usb_os_desc rndis_os_desc;
char rndis_ext_compat_id[16];
u8 class;
u8 subclass;
u8 protocol;
/*
* Read/write access to configfs attributes is handled by configfs.
*
* This is to protect the data from concurrent access by read/write
* and create symlink/remove symlink.
*/
struct mutex lock;
int refcnt;
};
void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net);
#endif /* U_RNDIS_H */