Exploit databaseDownload repository ZIP
GH-c71af2b94cd2da4e8e1787feec32fc8f
0pts/0pts-bitpixie
Sources for CVE-2023-21563
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files1,115
0pts/0pts-bitpixieRevision 7c7c6a5526a7
- ↑..Parent directory
- android/
- byteorder/
- caif/
- can/
- cifs/
- dvb/
- genwqe/
- hdlc/
- hsi/
- iio/
- isdn/
- misc/
- mmc/
- netfilter/
- netfilter_arp/
- netfilter_bridge/
- netfilter_ipv4/
- netfilter_ipv6/
- nfsd/
- raid/
- sched/
- spi/
- sunrpc/
- surface_aggregator/
- tc_act/
- tc_ematch/
- usb/
- .a.out.h.cmd
- .acct.h.cmd
- .acrn.h.cmd
- .adb.h.cmd
- .adfs_fs.h.cmd
- .affs_hardblocks.h.cmd
- .agpgart.h.cmd
- .aio_abi.h.cmd
- .am437x-vpfe.h.cmd
- .amt.h.cmd
- .apm_bios.h.cmd
- .arcfb.h.cmd
- .arm_sdei.h.cmd
- .aspeed-lpc-ctrl.h.cmd
- .aspeed-p2a-ctrl.h.cmd
- .atalk.h.cmd
- .atm.h.cmd
- .atm_eni.h.cmd
- .atm_he.h.cmd
- .atm_idt77105.h.cmd
- .atm_nicstar.h.cmd
- .atm_tcp.h.cmd
- .atm_zatm.h.cmd
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
alpine-initrd/docker/CVE-2024-1086/include/linux-lts-6.1.72/linux/vsockmon.h
Text · 1,885 bytes/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _VSOCKMON_H
#define _VSOCKMON_H
#include <linux/virtio_vsock.h>
/*
* vsockmon is the AF_VSOCK packet capture device. Packets captured have the
* following layout:
*
* +-----------------------------------+
* | vsockmon header |
* | (struct af_vsockmon_hdr) |
* +-----------------------------------+
* | transport header |
* | (af_vsockmon_hdr->len bytes long) |
* +-----------------------------------+
* | payload |
* | (until end of packet) |
* +-----------------------------------+
*
* The vsockmon header is a transport-independent description of the packet.
* It duplicates some of the information from the transport header so that
* no transport-specific knowledge is necessary to process packets.
*
* The transport header is useful for low-level transport-specific packet
* analysis. Transport type is given in af_vsockmon_hdr->transport and
* transport header length is given in af_vsockmon_hdr->len.
*
* If af_vsockmon_hdr->op is AF_VSOCK_OP_PAYLOAD then the payload follows the
* transport header. Other ops do not have a payload.
*/
struct af_vsockmon_hdr {
__le64 src_cid;
__le64 dst_cid;
__le32 src_port;
__le32 dst_port;
__le16 op; /* enum af_vsockmon_op */
__le16 transport; /* enum af_vsockmon_transport */
__le16 len; /* Transport header length */
__u8 reserved[2];
};
enum af_vsockmon_op {
AF_VSOCK_OP_UNKNOWN = 0,
AF_VSOCK_OP_CONNECT = 1,
AF_VSOCK_OP_DISCONNECT = 2,
AF_VSOCK_OP_CONTROL = 3,
AF_VSOCK_OP_PAYLOAD = 4,
};
enum af_vsockmon_transport {
AF_VSOCK_TRANSPORT_UNKNOWN = 0,
AF_VSOCK_TRANSPORT_NO_INFO = 1, /* No transport information */
/* Transport header type: struct virtio_vsock_hdr */
AF_VSOCK_TRANSPORT_VIRTIO = 2,
};
#endif