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 files19
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Makefile
- bitops.c
- bswapdi.c
- bswapsi.c
- csum_partial.S
- delay.c
- dump_tlb.c
- iomap-pci.c
- iomap.c
- iomap_copy.c
- libgcc.h
- memcpy.S
- memset.S
- mips-atomic.c
- multi3.c
- r3k_dump_tlb.c
- strncpy_user.S
- strnlen_user.S
- uncached.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/mips/lib/bswapdi.c
C · 566 bytes// SPDX-License-Identifier: GPL-2.0
#include <linux/export.h>
#include <linux/compiler.h>
unsigned long long notrace __bswapdi2(unsigned long long u)
{
return (((u) & 0xff00000000000000ull) >> 56) |
(((u) & 0x00ff000000000000ull) >> 40) |
(((u) & 0x0000ff0000000000ull) >> 24) |
(((u) & 0x000000ff00000000ull) >> 8) |
(((u) & 0x00000000ff000000ull) << 8) |
(((u) & 0x0000000000ff0000ull) << 24) |
(((u) & 0x000000000000ff00ull) << 40) |
(((u) & 0x00000000000000ffull) << 56);
}
EXPORT_SYMBOL(__bswapdi2);