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 files22
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- 6lowpan_i.h
- Kconfig
- Makefile
- core.c
- debugfs.c
- iphc.c
- ndisc.c
- nhc.c
- nhc.h
- nhc_dest.c
- nhc_fragment.c
- nhc_ghc_ext_dest.c
- nhc_ghc_ext_frag.c
- nhc_ghc_ext_hop.c
- nhc_ghc_ext_route.c
- nhc_ghc_icmpv6.c
- nhc_ghc_udp.c
- nhc_hop.c
- nhc_ipv6.c
- nhc_mobility.c
- nhc_routing.c
- nhc_udp.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
net/6lowpan/nhc_routing.c
C · 855 bytes/*
* 6LoWPAN IPv6 Routing Header compression according to RFC6282
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#include "nhc.h"
#define LOWPAN_NHC_ROUTING_IDLEN 1
#define LOWPAN_NHC_ROUTING_ID_0 0xe2
#define LOWPAN_NHC_ROUTING_MASK_0 0xfe
static void routing_nhid_setup(struct lowpan_nhc *nhc)
{
nhc->id[0] = LOWPAN_NHC_ROUTING_ID_0;
nhc->idmask[0] = LOWPAN_NHC_ROUTING_MASK_0;
}
LOWPAN_NHC(nhc_routing, "RFC6282 Routing", NEXTHDR_ROUTING, 0,
routing_nhid_setup, LOWPAN_NHC_ROUTING_IDLEN, NULL, NULL);
module_lowpan_nhc(nhc_routing);
MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Routing compression");
MODULE_LICENSE("GPL");