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 files59
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- dpu_core_irq.c
- dpu_core_irq.h
- dpu_core_perf.c
- dpu_core_perf.h
- dpu_crtc.c
- dpu_crtc.h
- dpu_dbg.c
- dpu_dbg.h
- dpu_encoder.c
- dpu_encoder.h
- dpu_encoder_phys.h
- dpu_encoder_phys_cmd.c
- dpu_encoder_phys_vid.c
- dpu_formats.c
- dpu_formats.h
- dpu_hw_blk.c
- dpu_hw_blk.h
- dpu_hw_catalog.c
- dpu_hw_catalog.h
- dpu_hw_catalog_format.h
- dpu_hw_cdm.c
- dpu_hw_cdm.h
- dpu_hw_ctl.c
- dpu_hw_ctl.h
- dpu_hw_interrupts.c
- dpu_hw_interrupts.h
- dpu_hw_intf.c
- dpu_hw_intf.h
- dpu_hw_lm.c
- dpu_hw_lm.h
- dpu_hw_mdss.h
- dpu_hw_pingpong.c
- dpu_hw_pingpong.h
- dpu_hw_sspp.c
- dpu_hw_sspp.h
- dpu_hw_top.c
- dpu_hw_top.h
- dpu_hw_util.c
- dpu_hw_util.h
- dpu_hw_vbif.c
- dpu_hw_vbif.h
- dpu_hwio.h
- dpu_io_util.c
- dpu_io_util.h
- dpu_irq.c
- dpu_irq.h
- dpu_kms.c
- dpu_kms.h
- dpu_mdss.c
- dpu_plane.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/drm/msm/disp/dpu1/dpu_irq.c
C · 1,491 bytes/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that 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.
*/
#define pr_fmt(fmt) "[drm:%s:%d] " fmt, __func__, __LINE__
#include <linux/irqdomain.h>
#include <linux/irq.h>
#include <linux/kthread.h>
#include "dpu_irq.h"
#include "dpu_core_irq.h"
irqreturn_t dpu_irq(struct msm_kms *kms)
{
struct dpu_kms *dpu_kms = to_dpu_kms(kms);
return dpu_core_irq(dpu_kms);
}
void dpu_irq_preinstall(struct msm_kms *kms)
{
struct dpu_kms *dpu_kms = to_dpu_kms(kms);
if (!dpu_kms->dev || !dpu_kms->dev->dev) {
pr_err("invalid device handles\n");
return;
}
dpu_core_irq_preinstall(dpu_kms);
}
int dpu_irq_postinstall(struct msm_kms *kms)
{
struct dpu_kms *dpu_kms = to_dpu_kms(kms);
int rc;
if (!kms) {
DPU_ERROR("invalid parameters\n");
return -EINVAL;
}
rc = dpu_core_irq_postinstall(dpu_kms);
return rc;
}
void dpu_irq_uninstall(struct msm_kms *kms)
{
struct dpu_kms *dpu_kms = to_dpu_kms(kms);
if (!kms) {
DPU_ERROR("invalid parameters\n");
return;
}
dpu_core_irq_uninstall(dpu_kms);
}