Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files29
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..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/lshrdi3.c
C · 513 bytes// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include "libgcc.h"
long long __lshrdi3(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.high = 0;
w.s.low = (unsigned int) uu.s.high >> -bm;
} else {
const unsigned int carries = (unsigned int) uu.s.high << bm;
w.s.high = (unsigned int) uu.s.high >> b;
w.s.low = ((unsigned int) uu.s.low >> b) | carries;
}
return w.ll;
}
EXPORT_SYMBOL(__lshrdi3);