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 files40
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- certs/
- .gitignore
- Kconfig
- Makefile
- ap.c
- chan.c
- core.c
- core.h
- debugfs.c
- debugfs.h
- ethtool.c
- ibss.c
- lib80211.c
- lib80211_crypt_ccmp.c
- lib80211_crypt_tkip.c
- lib80211_crypt_wep.c
- mesh.c
- mlme.c
- nl80211.c
- nl80211.h
- ocb.c
- of.c
- radiotap.c
- rdev-ops.h
- reg.c
- reg.h
- scan.c
- sme.c
- sysfs.c
- sysfs.h
- trace.c
- trace.h
- util.c
- wext-compat.c
- wext-compat.h
- wext-core.c
- wext-priv.c
- wext-proc.c
- wext-sme.c
- wext-spy.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
net/wireless/ethtool.c
C · 733 bytes// SPDX-License-Identifier: GPL-2.0
#include <linux/utsname.h>
#include <net/cfg80211.h>
#include "core.h"
#include "rdev-ops.h"
void cfg80211_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
{
struct wireless_dev *wdev = dev->ieee80211_ptr;
strlcpy(info->driver, wiphy_dev(wdev->wiphy)->driver->name,
sizeof(info->driver));
strlcpy(info->version, init_utsname()->release, sizeof(info->version));
if (wdev->wiphy->fw_version[0])
strlcpy(info->fw_version, wdev->wiphy->fw_version,
sizeof(info->fw_version));
else
strlcpy(info->fw_version, "N/A", sizeof(info->fw_version));
strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)),
sizeof(info->bus_info));
}
EXPORT_SYMBOL(cfg80211_get_drvinfo);