Exploit database

GH-9a497cc26994d431b276e9e3b7a8f75c

satheesh575555/linux-4.19.72_cve-2023-0386

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-0386

20 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files22

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

drivers/gpu/drm/nouveau/include/nvkm/core/enum.h

Text · 411 bytes
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NVKM_ENUM_H__
#define __NVKM_ENUM_H__
#include <core/os.h>

struct nvkm_enum {
	u32 value;
	const char *name;
	const void *data;
	u32 data2;
};

const struct nvkm_enum *nvkm_enum_find(const struct nvkm_enum *, u32 value);

struct nvkm_bitfield {
	u32 mask;
	const char *name;
};

void nvkm_snprintbf(char *, int, const struct nvkm_bitfield *, u32 value);
#endif