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 files37
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- cdma_hw.c
- channel_hw.c
- debug_hw.c
- debug_hw_1x01.c
- debug_hw_1x06.c
- host1x01.c
- host1x01.h
- host1x01_hardware.h
- host1x02.c
- host1x02.h
- host1x02_hardware.h
- host1x04.c
- host1x04.h
- host1x04_hardware.h
- host1x05.c
- host1x05.h
- host1x05_hardware.h
- host1x06.c
- host1x06.h
- host1x06_hardware.h
- hw_host1x01_channel.h
- hw_host1x01_sync.h
- hw_host1x01_uclass.h
- hw_host1x02_channel.h
- hw_host1x02_sync.h
- hw_host1x02_uclass.h
- hw_host1x04_channel.h
- hw_host1x04_sync.h
- hw_host1x04_uclass.h
- hw_host1x05_channel.h
- hw_host1x05_sync.h
- hw_host1x05_uclass.h
- hw_host1x06_hypervisor.h
- hw_host1x06_uclass.h
- hw_host1x06_vm.h
- intr_hw.c
- syncpt_hw.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/host1x/hw/hw_host1x06_hypervisor.h
Text · 1,457 bytes/*
* Copyright (c) 2017 NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#define HOST1X_HV_SYNCPT_PROT_EN 0x1ac4
#define HOST1X_HV_SYNCPT_PROT_EN_CH_EN BIT(1)
#define HOST1X_HV_CH_KERNEL_FILTER_GBUFFER(x) (0x2020 + (x * 4))
#define HOST1X_HV_CMDFIFO_PEEK_CTRL 0x233c
#define HOST1X_HV_CMDFIFO_PEEK_CTRL_ADDR(x) (x)
#define HOST1X_HV_CMDFIFO_PEEK_CTRL_CHANNEL(x) ((x) << 16)
#define HOST1X_HV_CMDFIFO_PEEK_CTRL_ENABLE BIT(31)
#define HOST1X_HV_CMDFIFO_PEEK_READ 0x2340
#define HOST1X_HV_CMDFIFO_PEEK_PTRS 0x2344
#define HOST1X_HV_CMDFIFO_PEEK_PTRS_WR_PTR_V(x) (((x) >> 16) & 0xfff)
#define HOST1X_HV_CMDFIFO_PEEK_PTRS_RD_PTR_V(x) ((x) & 0xfff)
#define HOST1X_HV_CMDFIFO_SETUP(x) (0x2588 + (x * 4))
#define HOST1X_HV_CMDFIFO_SETUP_LIMIT_V(x) (((x) >> 16) & 0xfff)
#define HOST1X_HV_CMDFIFO_SETUP_BASE_V(x) ((x) & 0xfff)
#define HOST1X_HV_ICG_EN_OVERRIDE 0x2aa8