Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files29
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Makefile
- __clear_user.S
- ashiftrt.S
- ashldi3.c
- ashlsi3.S
- ashrdi3.c
- ashrsi3.S
- checksum.S
- copy_page.S
- delay.c
- div64-generic.c
- div64.S
- io.c
- libgcc.h
- lshrdi3.c
- lshrsi3.S
- mcount.S
- memchr.S
- memcpy-sh4.S
- memcpy.S
- memmove.S
- memset-sh4.S
- memset.S
- movmem.S
- strlen.S
- udiv_qrnnd.S
- udivsi3.S
- udivsi3_i4i-Os.S
- udivsi3_i4i.S
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/sh/lib/ashldi3.c
C · 511 bytes// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include "libgcc.h"
long long __ashldi3(long long u, word_type b)
{
DWunion uu, w;
word_type bm;
if (b == 0)
return u;
uu.ll = u;
bm = 32 - b;
if (bm <= 0) {
w.s.low = 0;
w.s.high = (unsigned int) uu.s.low << -bm;
} else {
const unsigned int carries = (unsigned int) uu.s.low >> bm;
w.s.low = (unsigned int) uu.s.low << b;
w.s.high = ((unsigned int) uu.s.high << b) | carries;
}
return w.ll;
}
EXPORT_SYMBOL(__ashldi3);