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 files79
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- syscalls/
- vdso32/
- vdso64/
- .gitignore
- Makefile
- alternative.c
- asm-offsets.c
- audit.c
- audit.h
- base.S
- cache.c
- compat_audit.c
- compat_linux.c
- compat_linux.h
- compat_ptrace.h
- compat_signal.c
- compat_wrapper.c
- cpcmd.c
- crash_dump.c
- debug.c
- diag.c
- dis.c
- dumpstack.c
- early.c
- early_nobss.c
- early_printk.c
- ebcdic.c
- entry.S
- entry.h
- fpu.c
- ftrace.c
- guarded_storage.c
- head64.S
- idle.c
- ipl.c
- irq.c
- jump_label.c
- kdebugfs.c
- kexec_elf.c
- kexec_image.c
- kprobes.c
- lgr.c
- machine_kexec.c
- machine_kexec_file.c
- mcount.S
- module.c
- nmi.c
- nospec-branch.c
- nospec-sysfs.c
- os_info.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/s390/kernel/trace.c
C · 707 bytes// SPDX-License-Identifier: GPL-2.0
/*
* Tracepoint definitions for s390
*
* Copyright IBM Corp. 2015
* Author(s): Martin Schwidefsky <[email protected]>
*/
#include <linux/percpu.h>
#define CREATE_TRACE_POINTS
#include <asm/trace/diag.h>
EXPORT_TRACEPOINT_SYMBOL(s390_diagnose);
static DEFINE_PER_CPU(unsigned int, diagnose_trace_depth);
void trace_s390_diagnose_norecursion(int diag_nr)
{
unsigned long flags;
unsigned int *depth;
/* Avoid lockdep recursion. */
if (IS_ENABLED(CONFIG_LOCKDEP))
return;
local_irq_save(flags);
depth = this_cpu_ptr(&diagnose_trace_depth);
if (*depth == 0) {
(*depth)++;
trace_s390_diagnose(diag_nr);
(*depth)--;
}
local_irq_restore(flags);
}