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 files72
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- fuc/
- Kbuild
- base.c
- ctxgf100.c
- ctxgf100.h
- ctxgf104.c
- ctxgf108.c
- ctxgf110.c
- ctxgf117.c
- ctxgf119.c
- ctxgk104.c
- ctxgk110.c
- ctxgk110b.c
- ctxgk208.c
- ctxgk20a.c
- ctxgm107.c
- ctxgm200.c
- ctxgm20b.c
- ctxgp100.c
- ctxgp102.c
- ctxgp104.c
- ctxgp107.c
- ctxgv100.c
- ctxnv40.c
- ctxnv40.h
- ctxnv50.c
- g84.c
- gf100.c
- gf100.h
- gf104.c
- gf108.c
- gf110.c
- gf117.c
- gf119.c
- gk104.c
- gk104.h
- gk110.c
- gk110b.c
- gk208.c
- gk20a.c
- gm107.c
- gm200.c
- gm20b.c
- gp100.c
- gp102.c
- gp104.c
- gp107.c
- gp10b.c
- gt200.c
- gt215.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.h
Text · 1,302 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NV40_GR_H__
#define __NV40_GR_H__
#define nv40_gr(p) container_of((p), struct nv40_gr, base)
#include "priv.h"
struct nv40_gr {
struct nvkm_gr base;
u32 size;
struct list_head chan;
};
int nv40_gr_new_(const struct nvkm_gr_func *, struct nvkm_device *, int index,
struct nvkm_gr **);
int nv40_gr_init(struct nvkm_gr *);
void nv40_gr_intr(struct nvkm_gr *);
u64 nv40_gr_units(struct nvkm_gr *);
#define nv40_gr_chan(p) container_of((p), struct nv40_gr_chan, object)
#include <core/object.h>
struct nv40_gr_chan {
struct nvkm_object object;
struct nv40_gr *gr;
struct nvkm_fifo_chan *fifo;
u32 inst;
struct list_head head;
};
int nv40_gr_chan_new(struct nvkm_gr *, struct nvkm_fifo_chan *,
const struct nvkm_oclass *, struct nvkm_object **);
extern const struct nvkm_object_func nv40_gr_object;
/* returns 1 if device is one of the nv4x using the 0x4497 object class,
* helpful to determine a number of other hardware features
*/
static inline int
nv44_gr_class(struct nvkm_device *device)
{
if ((device->chipset & 0xf0) == 0x60)
return 1;
return !(0x0aaf & (1 << (device->chipset & 0x0f)));
}
int nv40_grctx_init(struct nvkm_device *, u32 *size);
void nv40_grctx_fill(struct nvkm_device *, struct nvkm_gpuobj *);
#endif