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
- Kbuild
- base.c
- g84.c
- gddr3.c
- gddr5.c
- gf100.c
- gf100.h
- gf108.c
- gk104.c
- gk104.h
- gk110.c
- gk20a.c
- gm107.c
- gm200.c
- gm20b.c
- gp100.c
- gp102.c
- gp10b.c
- gt215.c
- gv100.c
- mcp77.c
- mcp89.c
- nv04.c
- nv10.c
- nv1a.c
- nv20.c
- nv25.c
- nv30.c
- nv35.c
- nv36.c
- nv40.c
- nv41.c
- nv44.c
- nv46.c
- nv47.c
- nv49.c
- nv4e.c
- nv50.c
- nv50.h
- priv.h
- ram.c
- ram.h
- ramfuc.h
- ramgf100.c
- ramgf108.c
- ramgk104.c
- ramgm107.c
- ramgm200.c
- ramgp100.c
- ramgt215.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm20b.c
C · 1,629 bytes/*
* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "priv.h"
#include "gf100.h"
/* GM20B's FB is similar to GM200, but without the ability to allocate VRAM */
static const struct nvkm_fb_func
gm20b_fb = {
.dtor = gf100_fb_dtor,
.oneinit = gf100_fb_oneinit,
.init = gm200_fb_init,
.init_page = gm200_fb_init_page,
.intr = gf100_fb_intr,
.default_bigpage = 0 /* per-instance. */,
};
int
gm20b_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb)
{
return gf100_fb_new_(&gm20b_fb, device, index, pfb);
}