Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files75
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- blocklayout/
- filelayout/
- flexfilelayout/
- Kconfig
- Makefile
- cache_lib.c
- cache_lib.h
- callback.c
- callback.h
- callback_proc.c
- callback_xdr.c
- client.c
- delegation.c
- delegation.h
- dir.c
- direct.c
- dns_resolve.c
- dns_resolve.h
- export.c
- file.c
- fscache-index.c
- fscache.c
- fscache.h
- getroot.c
- inode.c
- internal.h
- io.c
- iostat.h
- mount_clnt.c
- namespace.c
- netns.h
- nfs.h
- nfs2super.c
- nfs2xdr.c
- nfs3_fs.h
- nfs3acl.c
- nfs3client.c
- nfs3proc.c
- nfs3super.c
- nfs3xdr.c
- nfs42.h
- nfs42proc.c
- nfs42xdr.c
- nfs4_fs.h
- nfs4client.c
- nfs4file.c
- nfs4getroot.c
- nfs4idmap.c
- nfs4idmap.h
- nfs4namespace.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
fs/nfs/nfs3super.c
C · 649 bytes/*
* Copyright (c) 2012 Netapp, Inc. All rights reserved.
*/
#include <linux/module.h>
#include <linux/nfs_fs.h>
#include "internal.h"
#include "nfs3_fs.h"
#include "nfs.h"
struct nfs_subversion nfs_v3 = {
.owner = THIS_MODULE,
.nfs_fs = &nfs_fs_type,
.rpc_vers = &nfs_version3,
.rpc_ops = &nfs_v3_clientops,
.sops = &nfs_sops,
#ifdef CONFIG_NFS_V3_ACL
.xattr = nfs3_xattr_handlers,
#endif
};
static int __init init_nfs_v3(void)
{
register_nfs_version(&nfs_v3);
return 0;
}
static void __exit exit_nfs_v3(void)
{
unregister_nfs_version(&nfs_v3);
}
MODULE_LICENSE("GPL");
module_init(init_nfs_v3);
module_exit(exit_nfs_v3);