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 files38
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- firmware_loader/
- power/
- regmap/
- test/
- Kconfig
- Makefile
- arch_topology.c
- attribute_container.c
- base.h
- bus.c
- cacheinfo.c
- class.c
- component.c
- container.c
- core.c
- cpu.c
- dd.c
- devcon.c
- devcoredump.c
- devres.c
- devtmpfs.c
- driver.c
- firmware.c
- hypervisor.c
- init.c
- isa.c
- map.c
- memory.c
- module.c
- node.c
- pinctrl.c
- platform-msi.c
- platform.c
- property.c
- soc.c
- syscore.c
- topology.c
- transport_class.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/base/firmware.c
C · 606 bytes// SPDX-License-Identifier: GPL-2.0
/*
* firmware.c - firmware subsystem hoohaw.
*
* Copyright (c) 2002-3 Patrick Mochel
* Copyright (c) 2002-3 Open Source Development Labs
* Copyright (c) 2007 Greg Kroah-Hartman <[email protected]>
* Copyright (c) 2007 Novell Inc.
*/
#include <linux/kobject.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include "base.h"
struct kobject *firmware_kobj;
EXPORT_SYMBOL_GPL(firmware_kobj);
int __init firmware_init(void)
{
firmware_kobj = kobject_create_and_add("firmware", NULL);
if (!firmware_kobj)
return -ENOMEM;
return 0;
}