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 files80
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- aead_api.c
- aead_api.h
- aes_ccm.h
- aes_cmac.c
- aes_cmac.h
- aes_gcm.h
- aes_gmac.c
- aes_gmac.h
- agg-rx.c
- agg-tx.c
- cfg.c
- chan.c
- debug.h
- debugfs.c
- debugfs.h
- debugfs_key.c
- debugfs_key.h
- debugfs_netdev.c
- debugfs_netdev.h
- debugfs_sta.c
- debugfs_sta.h
- driver-ops.c
- driver-ops.h
- ethtool.c
- fils_aead.c
- fils_aead.h
- he.c
- ht.c
- ibss.c
- ieee80211_i.h
- iface.c
- key.c
- key.h
- led.c
- led.h
- main.c
- mesh.c
- mesh.h
- mesh_hwmp.c
- mesh_pathtbl.c
- mesh_plink.c
- mesh_ps.c
- mesh_sync.c
- michael.c
- michael.h
- mlme.c
- ocb.c
- offchannel.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
net/mac80211/trace.c
C · 1,291 bytes// SPDX-License-Identifier: GPL-2.0
/* bug in tracepoint.h, it should include this */
#include <linux/module.h>
/* sparse isn't too happy with all macros... */
#ifndef __CHECKER__
#include <net/cfg80211.h>
#include "driver-ops.h"
#include "debug.h"
#define CREATE_TRACE_POINTS
#include "trace.h"
#include "trace_msg.h"
#ifdef CONFIG_MAC80211_MESSAGE_TRACING
void __sdata_info(const char *fmt, ...)
{
struct va_format vaf = {
.fmt = fmt,
};
va_list args;
va_start(args, fmt);
vaf.va = &args;
pr_info("%pV", &vaf);
trace_mac80211_info(&vaf);
va_end(args);
}
void __sdata_dbg(bool print, const char *fmt, ...)
{
struct va_format vaf = {
.fmt = fmt,
};
va_list args;
va_start(args, fmt);
vaf.va = &args;
if (print)
pr_debug("%pV", &vaf);
trace_mac80211_dbg(&vaf);
va_end(args);
}
void __sdata_err(const char *fmt, ...)
{
struct va_format vaf = {
.fmt = fmt,
};
va_list args;
va_start(args, fmt);
vaf.va = &args;
pr_err("%pV", &vaf);
trace_mac80211_err(&vaf);
va_end(args);
}
void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...)
{
struct va_format vaf = {
.fmt = fmt,
};
va_list args;
va_start(args, fmt);
vaf.va = &args;
if (print)
wiphy_dbg(wiphy, "%pV", &vaf);
trace_mac80211_dbg(&vaf);
va_end(args);
}
#endif
#endif