idx int64 | project string | commit_id string | project_url string | commit_url string | commit_message string | target int64 | func string | func_hash float64 | file_name string | file_hash float64 | cwe list | cve string | cve_desc string | nvd_url string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25,348 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_inode_attrs_need_update(const struct inode *inode, const struct nfs_fattr *fattr)
{
const struct nfs_inode *nfsi = NFS_I(inode);
return ((long)fattr->gencount - (long)nfsi->attr_gencount) > 0 ||
nfs_ctime_need_update(inode, fattr) ||
nfs_size_need_update(inode, fattr) ||
((long)nfsi->attr_gencou... | 137,098,315,739,051,920,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,349 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | void nfs_invalidate_atime(struct inode *inode)
{
spin_lock(&inode->i_lock);
NFS_I(inode)->cache_validity |= NFS_INO_INVALID_ATIME;
spin_unlock(&inode->i_lock);
}
| 59,476,170,598,391,140,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,350 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs_invalidate_inode(struct inode *inode)
{
set_bit(NFS_INO_STALE, &NFS_I(inode)->flags);
nfs_zap_caches_locked(inode);
}
| 337,541,590,943,388,300,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,351 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_invalidate_mapping(struct inode *inode, struct address_space *mapping)
{
int ret = 0;
mutex_lock(&inode->i_mutex);
if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_DATA) {
ret = nfs_sync_mapping(mapping);
if (ret == 0)
ret = nfs_invalidate_mapping_nolock(inode, mapping);
}
mutex_unlock(&in... | 331,018,386,177,235,200,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,352 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_invalidate_mapping_nolock(struct inode *inode, struct address_space *mapping)
{
struct nfs_inode *nfsi = NFS_I(inode);
if (mapping->nrpages != 0) {
int ret = invalidate_inode_pages2(mapping);
if (ret < 0)
return ret;
}
spin_lock(&inode->i_lock);
nfsi->cache_validity &= ~NFS_INO_INVALID_DATA... | 220,456,101,148,379,000,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,353 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_open(struct inode *inode, struct file *filp)
{
struct nfs_open_context *ctx;
struct rpc_cred *cred;
cred = rpc_lookup_cred();
if (IS_ERR(cred))
return PTR_ERR(cred);
ctx = alloc_nfs_open_context(filp->f_path.mnt, filp->f_path.dentry, cred);
put_rpccred(cred);
if (ctx == NULL)
return -ENOMEM;
ctx->m... | 229,891,404,252,664,260,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,354 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr)
{
int status;
spin_lock(&inode->i_lock);
status = nfs_post_op_update_inode_locked(inode, fattr);
spin_unlock(&inode->i_lock);
return status;
}
| 160,452,687,147,095,060,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,355 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fattr *fattr)
{
int status;
spin_lock(&inode->i_lock);
/* Don't do a WCC update if these attributes are already stale */
if ((fattr->valid & NFS_ATTR_FATTR) == 0 ||
!nfs_inode_attrs_need_update(inode, fattr)) {
fattr->valid &= ~(NFS_ATTR_W... | 233,591,651,241,970,440,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,356 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_post_op_update_inode_locked(struct inode *inode, struct nfs_fattr *fattr)
{
struct nfs_inode *nfsi = NFS_I(inode);
nfsi->cache_validity |= NFS_INO_INVALID_ATTR|NFS_INO_REVAL_PAGECACHE;
if (S_ISDIR(inode->i_mode))
nfsi->cache_validity |= NFS_INO_INVALID_DATA;
if ((fattr->valid & NFS_ATTR_FATTR) == ... | 234,786,877,997,214,440,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,357 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static unsigned long nfs_read_attr_generation_counter(void)
{
return atomic_long_read(&nfs_attr_generation_counter);
}
| 95,986,004,986,748,940,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,358 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_refresh_inode_locked(struct inode *inode, struct nfs_fattr *fattr)
{
if (nfs_inode_attrs_need_update(inode, fattr))
return nfs_update_inode(inode, fattr);
return nfs_check_inode_attributes(inode, fattr);
}
| 304,389,583,894,832,530,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,359 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_release(struct inode *inode, struct file *filp)
{
nfs_file_clear_open_context(filp);
return 0;
}
| 178,907,124,370,041,870,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,360 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode)
{
if (!(NFS_I(inode)->cache_validity & NFS_INO_INVALID_ATTR)
&& !nfs_attribute_timeout(inode))
return NFS_STALE(inode) ? -ESTALE : 0;
return __nfs_revalidate_inode(server, inode);
}
| 45,574,585,843,433,880,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,361 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping)
{
struct nfs_inode *nfsi = NFS_I(inode);
int ret = 0;
if ((nfsi->cache_validity & NFS_INO_REVAL_PAGECACHE)
|| nfs_attribute_timeout(inode) || NFS_STALE(inode)) {
ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode);
if (ret < 0)... | 282,017,869,580,082,370,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,362 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_revalidate_mapping_nolock(struct inode *inode, struct address_space *mapping)
{
struct nfs_inode *nfsi = NFS_I(inode);
int ret = 0;
if ((nfsi->cache_validity & NFS_INO_REVAL_PAGECACHE)
|| nfs_attribute_timeout(inode) || NFS_STALE(inode)) {
ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode);
if (r... | 60,572,779,732,929,390,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,363 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | nfs_setattr(struct dentry *dentry, struct iattr *attr)
{
struct inode *inode = dentry->d_inode;
struct nfs_fattr fattr;
int error;
nfs_inc_stats(inode, NFSIOS_VFSSETATTR);
/* skip mode change if it's just for clearing setuid/setgid */
if (attr->ia_valid & (ATTR_KILL_SUID | ATTR_KILL_SGID))
attr->ia_valid &= ~... | 90,758,641,084,988,780,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,364 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr)
{
if ((attr->ia_valid & (ATTR_MODE|ATTR_UID|ATTR_GID)) != 0) {
spin_lock(&inode->i_lock);
if ((attr->ia_valid & ATTR_MODE) != 0) {
int mode = attr->ia_mode & S_IALLUGO;
mode |= inode->i_mode & ~S_IALLUGO;
inode->i_mode = mode;
}
if... | 90,244,650,055,881,450,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,365 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_size_need_update(const struct inode *inode, const struct nfs_fattr *fattr)
{
return nfs_size_to_loff_t(fattr->size) > i_size_read(inode);
}
| 94,464,493,575,664,440,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,366 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)
{
struct nfs_server *server;
struct nfs_inode *nfsi = NFS_I(inode);
loff_t cur_isize, new_isize;
unsigned long invalid = 0;
unsigned long now = jiffies;
dfprintk(VFS, "NFS: %s(%s/%ld ct=%d info=0x%x)\n",
__func__, inode->i_sb->s_id, ino... | 296,996,252,263,898,420,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,367 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs_wcc_update_inode(struct inode *inode, struct nfs_fattr *fattr)
{
struct nfs_inode *nfsi = NFS_I(inode);
if ((fattr->valid & NFS_ATTR_WCC_V4) != 0 &&
nfsi->change_attr == fattr->pre_change_attr) {
nfsi->change_attr = fattr->change_attr;
if (S_ISDIR(inode->i_mode))
nfsi->cache_validity |= NFS... | 50,584,736,260,545,860,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,368 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs_write_inode(struct inode *inode, int sync)
{
int ret;
if (sync) {
ret = filemap_fdatawait(inode->i_mapping);
if (ret == 0)
ret = nfs_commit_inode(inode, FLUSH_SYNC);
} else
ret = nfs_commit_inode(inode, 0);
if (ret >= 0)
return 0;
__mark_inode_dirty(inode, I_DIRTY_DATASYNC);
return ret;
}
| 121,680,221,595,352,970,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,369 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | void nfs_zap_acl_cache(struct inode *inode)
{
void (*clear_acl_cache)(struct inode *);
clear_acl_cache = NFS_PROTO(inode)->clear_acl_cache;
if (clear_acl_cache != NULL)
clear_acl_cache(inode);
spin_lock(&inode->i_lock);
NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL;
spin_unlock(&inode->i_lock);
}
| 329,020,113,743,685,900,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,370 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs_zap_caches_locked(struct inode *inode)
{
struct nfs_inode *nfsi = NFS_I(inode);
int mode = inode->i_mode;
nfs_inc_stats(inode, NFSIOS_ATTRINVALIDATE);
nfsi->attrtimeo = NFS_MINATTRTIMEO(inode);
nfsi->attrtimeo_timestamp = jiffies;
memset(NFS_COOKIEVERF(inode), 0, sizeof(NFS_COOKIEVERF(inode)));... | 255,506,682,836,566,550,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,371 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | void nfs_zap_mapping(struct inode *inode, struct address_space *mapping)
{
if (mapping->nrpages != 0) {
spin_lock(&inode->i_lock);
NFS_I(inode)->cache_validity |= NFS_INO_INVALID_DATA;
spin_unlock(&inode->i_lock);
}
}
| 29,122,634,610,132,790,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,372 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfsiod_start(void)
{
struct workqueue_struct *wq;
dprintk("RPC: creating workqueue nfsiod\n");
wq = create_singlethread_workqueue("nfsiod");
if (wq == NULL)
return -ENOMEM;
nfsiod_workqueue = wq;
return 0;
}
| 455,677,092,144,146,800,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,373 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfsiod_stop(void)
{
struct workqueue_struct *wq;
wq = nfsiod_workqueue;
if (wq == NULL)
return;
nfsiod_workqueue = NULL;
destroy_workqueue(wq);
}
| 49,082,143,297,021,170,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,374 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | void put_nfs_open_context(struct nfs_open_context *ctx)
{
__put_nfs_open_context(ctx, 0);
}
| 907,617,526,202,667,800,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,375 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void put_nfs_open_context_sync(struct nfs_open_context *ctx)
{
__put_nfs_open_context(ctx, 1);
}
| 184,088,674,156,860,550,000,000,000,000,000,000,000 | inode.c | 234,679,368,960,977,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,376 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static ssize_t __nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen)
{
struct page *pages[NFS4ACL_MAXPAGES];
struct nfs_getaclargs args = {
.fh = NFS_FH(inode),
.acl_pages = pages,
.acl_len = buflen,
};
size_t resp_len = buflen;
void *resp_buf;
struct rpc_message msg = {
.rpc_proc = &nfs4... | 109,977,015,799,250,390,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,377 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int __nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen)
{
struct nfs_server *server = NFS_SERVER(inode);
struct page *pages[NFS4ACL_MAXPAGES];
struct nfs_setaclargs arg = {
.fh = NFS_FH(inode),
.acl_pages = pages,
.acl_len = buflen,
};
struct rpc_message msg = {
.rpc_proc = &nf... | 46,113,775,698,901,820,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,378 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle,
struct nfs_fsinfo *fsinfo)
{
struct nfs4_fsinfo_arg args = {
.fh = fhandle,
.bitmask = server->attr_bitmask,
};
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_FSINFO],
.rpc_argp = &args,
.rpc_resp = fsinf... | 105,789,212,103,755,120,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,379 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred,
struct nfs_fattr *fattr, struct iattr *sattr,
struct nfs4_state *state)
{
struct nfs_server *server = NFS_SERVER(inode);
struct nfs_setattrargs arg = {
.fh = NFS_FH(inode),
.iap ... | 159,086,990,562,736,230,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,380 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int reclaim)
{
struct nfs4_lockdata *data;
struct rpc_task *task;
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_LOCK],
.rpc_cred = state->owner->so_cred,
};
struct rpc_task_setup task_setup_data = {
.rp... | 66,906,358,161,196,340,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,381 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle,
struct nfs_fsinfo *info)
{
struct nfs4_lookup_root_arg args = {
.bitmask = nfs4_fattr_bitmap,
};
struct nfs4_lookup_res res = {
.server = server,
.fattr = info->fattr,
.fh = fhandle,
};
struct rpc_message msg = {
.rpc_proc ... | 297,327,124,109,424,470,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,382 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state)
{
struct nfs4_opendata *opendata;
int ret;
opendata = nfs4_open_recoverdata_alloc(ctx, state);
if (IS_ERR(opendata))
return PTR_ERR(opendata);
ret = nfs4_open_recover(opendata, state);
if (ret == -ESTALE)
d_drop(ctx->path.d... | 275,773,506,338,809,670,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,383 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry)
{
struct nfs_server *server = NFS_SERVER(inode);
struct nfs_fattr fattr;
struct nfs4_accessargs args = {
.fh = NFS_FH(inode),
.bitmask = server->attr_bitmask,
};
struct nfs4_accessres res = {
.server = server,
.fattr = &fattr... | 297,051,390,771,017,030,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,384 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync)
{
struct nfs4_delegreturndata *data;
struct nfs_server *server = NFS_SERVER(inode);
struct rpc_task *task;
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_DELEGRETURN],
.r... | 11,182,721,993,278,916,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,385 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr)
{
struct nfs4_getattr_arg args = {
.fh = fhandle,
.bitmask = server->attr_bitmask,
};
struct nfs4_getattr_res res = {
.fattr = fattr,
.server = server,
};
struct rpc_message msg = {
.rpc_proc = &nfs4... | 1,402,237,175,127,490,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,386 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request)
{
struct inode *inode = state->inode;
struct nfs_server *server = NFS_SERVER(inode);
struct nfs_client *clp = server->nfs_client;
struct nfs_lockt_args arg = {
.fh = NFS_FH(inode),
.fl = request,
};
struct nfs_lockt_res ... | 287,670,831,035,370,260,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,387 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name)
{
struct nfs_server *server = NFS_SERVER(inode);
struct nfs4_link_arg arg = {
.fh = NFS_FH(inode),
.dir_fh = NFS_FH(dir),
.name = name,
.bitmask = server->attr_bitmask,
};
struct nfs_fattr fattr, dir_attr;
struct nf... | 325,827,423,132,656,950,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,388 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_lookup(struct inode *dir, const struct qstr *name,
struct nfs_fh *fhandle, struct nfs_fattr *fattr)
{
int status;
dprintk("NFS call lookup %s\n", name->name);
status = _nfs4_proc_lookupfh(NFS_SERVER(dir), NFS_FH(dir), name, fhandle, fattr);
if (status == -NFS4ERR_MOVED)
status = nfs4_ge... | 158,109,668,370,397,460,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,389 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_lookupfh(struct nfs_server *server, const struct nfs_fh *dirfh,
const struct qstr *name, struct nfs_fh *fhandle,
struct nfs_fattr *fattr)
{
int status;
struct nfs4_lookup_arg args = {
.bitmask = server->attr_bitmask,
.dir_fh = dirfh,
.name = name,
};
struct nfs4_lookup_res re... | 313,675,029,311,775,770,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,390 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_open(struct nfs4_opendata *data)
{
struct inode *dir = data->dir->d_inode;
struct nfs_server *server = NFS_SERVER(dir);
struct nfs_openargs *o_arg = &data->o_arg;
struct nfs_openres *o_res = &data->o_res;
struct rpc_task *task;
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPRO... | 252,308,746,313,887,740,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,391 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle,
struct nfs_pathconf *pathconf)
{
struct nfs4_pathconf_arg args = {
.fh = fhandle,
.bitmask = server->attr_bitmask,
};
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_PATHCONF],
.rpc_argp = &args,
.rpc_... | 149,210,725,359,025,660,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,392 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
u64 cookie, struct page *page, unsigned int count, int plus)
{
struct inode *dir = dentry->d_inode;
struct nfs4_readdir_arg args = {
.fh = NFS_FH(dir),
.pages = &page,
.pgbase = 0,
.count = count,
.bitmask = NFS_S... | 259,671,215,542,203,200,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,393 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_readlink(struct inode *inode, struct page *page,
unsigned int pgbase, unsigned int pglen)
{
struct nfs4_readlink args = {
.fh = NFS_FH(inode),
.pgbase = pgbase,
.pglen = pglen,
.pages = &page,
};
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_REA... | 294,541,291,349,886,760,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,394 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_remove(struct inode *dir, struct qstr *name)
{
struct nfs_server *server = NFS_SERVER(dir);
struct nfs_removeargs args = {
.fh = NFS_FH(dir),
.name.len = name->len,
.name.name = name->name,
.bitmask = server->attr_bitmask,
};
struct nfs_removeres res = {
.server = server,
};
struct... | 143,666,536,750,342,220,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,395 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_rename(struct inode *old_dir, struct qstr *old_name,
struct inode *new_dir, struct qstr *new_name)
{
struct nfs_server *server = NFS_SERVER(old_dir);
struct nfs4_rename_arg arg = {
.old_dir = NFS_FH(old_dir),
.new_dir = NFS_FH(new_dir),
.old_name = old_name,
.new_name = new_name,
.bi... | 284,030,271,017,991,370,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,396 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct rpc_cred *cred)
{
struct nfs_fsinfo fsinfo;
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SETCLIENTID_CONFIRM],
.rpc_argp = clp,
.rpc_resp = &fsinfo,
.rpc_cred = cred,
};
unsigned long now;
int status;
now = ... | 140,510,909,327,880,600,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,397 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request)
{
struct nfs_inode *nfsi = NFS_I(state->inode);
unsigned char fl_flags = request->fl_flags;
int status;
/* Is this a delegated open? */
status = nfs4_set_lock_state(state, request);
if (status != 0)
goto out;
request->fl... | 72,416,465,916,565,330,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,398 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
struct nfs_fsstat *fsstat)
{
struct nfs4_statfs_arg args = {
.fh = fhandle,
.bitmask = server->attr_bitmask,
};
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_STATFS],
.rpc_argp = &args,
.rpc_resp = fs... | 322,888,264,546,303,460,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,399 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle)
{
struct nfs4_server_caps_res res = {};
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SERVER_CAPS],
.rpc_argp = fhandle,
.rpc_resp = &res,
};
int status;
status = rpc_call_sync(server->client, &ms... | 202,371,306,736,235,700,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,400 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static struct nfs4_lockdata *nfs4_alloc_lockdata(struct file_lock *fl,
struct nfs_open_context *ctx, struct nfs4_lock_state *lsp)
{
struct nfs4_lockdata *p;
struct inode *inode = lsp->ls_state->inode;
struct nfs_server *server = NFS_SERVER(inode);
p = kzalloc(sizeof(*p), GFP_KERNEL);
if (p == NULL)
return NUL... | 11,524,928,927,430,364,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,401 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static struct nfs4_unlockdata *nfs4_alloc_unlockdata(struct file_lock *fl,
struct nfs_open_context *ctx,
struct nfs4_lock_state *lsp,
struct nfs_seqid *seqid)
{
struct nfs4_unlockdata *p;
struct inode *inode = lsp->ls_state->inode;
p = kmalloc(sizeof(*p), GFP_KERNEL);
if (p == NULL)
return NULL;
p->arg.fh... | 191,147,844,201,121,040,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,402 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | nfs4_async_handle_error(struct rpc_task *task, const struct nfs_server *server, struct nfs4_state *state)
{
struct nfs_client *clp = server->nfs_client;
if (!clp || task->tk_status >= 0)
return 0;
switch(task->tk_status) {
case -NFS4ERR_ADMIN_REVOKED:
case -NFS4ERR_BAD_STATEID:
case -NFS4ERR_OPENMODE:
if... | 265,040,517,719,859,240,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,403 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_commit_done(struct rpc_task *task, struct nfs_write_data *data)
{
struct inode *inode = data->inode;
if (nfs4_async_handle_error(task, NFS_SERVER(inode), NULL) == -EAGAIN) {
rpc_restart_call(task);
return -EAGAIN;
}
nfs_refresh_inode(inode, data->res.fattr);
return 0;
}
| 240,849,106,049,342,600,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,404 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_delay(struct rpc_clnt *clnt, long *timeout)
{
int res = 0;
might_sleep();
if (*timeout <= 0)
*timeout = NFS4_POLL_RETRY_MIN;
if (*timeout > NFS4_POLL_RETRY_MAX)
*timeout = NFS4_POLL_RETRY_MAX;
schedule_timeout_killable(*timeout);
if (fatal_signal_pending(current))
res = -ERESTARTSYS;
*tim... | 35,017,336,106,676,417,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,405 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_delegreturn_done(struct rpc_task *task, void *calldata)
{
struct nfs4_delegreturndata *data = calldata;
data->rpc_status = task->tk_status;
if (data->rpc_status == 0)
renew_lease(data->res.server, data->timestamp);
}
| 284,188,868,137,360,800,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,406 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_do_create(struct inode *dir, struct dentry *dentry, struct nfs4_createdata *data)
{
int status = rpc_call_sync(NFS_CLIENT(dir), &data->msg, 0);
if (status == 0) {
update_changeattr(dir, &data->res.dir_cinfo);
nfs_post_op_update_inode(dir, data->res.dir_fattr);
status = nfs_instantiate(dentry, da... | 89,665,228,004,019,640,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,407 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred,
struct nfs_fattr *fattr, struct iattr *sattr,
struct nfs4_state *state)
{
struct nfs_server *server = NFS_SERVER(inode);
struct nfs4_exception exception = { };
int err;
do {
err = nfs4_handle_exception(server,
_nfs4_do_setattr(... | 143,607,011,198,172,810,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,408 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static struct rpc_task *nfs4_do_unlck(struct file_lock *fl,
struct nfs_open_context *ctx,
struct nfs4_lock_state *lsp,
struct nfs_seqid *seqid)
{
struct nfs4_unlockdata *data;
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_LOCKU],
.rpc_cred = ctx->cred,
};
struct rpc_task_setup task... | 284,537,296,363,610,140,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,409 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_get_referral(struct inode *dir, const struct qstr *name, struct nfs_fattr *fattr, struct nfs_fh *fhandle)
{
int status = -ENOMEM;
struct page *page = NULL;
struct nfs4_fs_locations *locations = NULL;
page = alloc_page(GFP_KERNEL);
if (page == NULL)
goto out;
locations = kmalloc(sizeof(struct nf... | 215,775,785,729,667,850,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,410 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_handle_exception(const struct nfs_server *server, int errorcode, struct nfs4_exception *exception)
{
struct nfs_client *clp = server->nfs_client;
struct nfs4_state *state = exception->state;
int ret = errorcode;
exception->retry = 0;
switch(errorcode) {
case 0:
return 0;
case -NFS4ERR_ADMIN... | 324,558,204,096,926,440,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,411 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_init_opendata_res(struct nfs4_opendata *p)
{
p->o_res.f_attr = &p->f_attr;
p->o_res.dir_attr = &p->dir_attr;
p->o_res.seqid = p->o_arg.seqid;
p->c_res.seqid = p->c_arg.seqid;
p->o_res.server = p->o_arg.server;
nfs_fattr_init(&p->f_attr);
nfs_fattr_init(&p->dir_attr);
}
| 259,687,255,854,663,600,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,412 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_lock_done(struct rpc_task *task, void *calldata)
{
struct nfs4_lockdata *data = calldata;
dprintk("%s: begin!\n", __func__);
data->rpc_status = task->tk_status;
if (RPC_ASSASSINATED(task))
goto out;
if (data->arg.new_lock_owner != 0) {
if (data->rpc_status == 0)
nfs_confirm_seqid(&data->l... | 201,352,093,169,045,520,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,413 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request)
{
struct nfs_server *server = NFS_SERVER(state->inode);
struct nfs4_exception exception = { };
int err;
err = nfs4_set_lock_state(state, request);
if (err != 0)
return err;
do {
if (test_bit(NFS_DELEGATED_STATE, &state->flags) ... | 162,035,162,584,159,800,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,414 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request)
{
struct nfs_server *server = NFS_SERVER(state->inode);
struct nfs4_exception exception = { };
int err;
do {
/* Cache the lock if possible... */
if (test_bit(NFS_DELEGATED_STATE, &state->flags) != 0)
return 0;
err = _nfs4_do... | 141,250,310,652,889,410,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,415 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_lock_release(void *calldata)
{
struct nfs4_lockdata *data = calldata;
dprintk("%s: begin!\n", __func__);
nfs_free_seqid(data->arg.open_seqid);
if (data->cancelled != 0) {
struct rpc_task *task;
task = nfs4_do_unlck(&data->fl, data->ctx, data->lsp,
data->arg.lock_seqid);
if (!IS_ERR(task)... | 120,545,725,676,852,070,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,416 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_locku_done(struct rpc_task *task, void *data)
{
struct nfs4_unlockdata *calldata = data;
if (RPC_ASSASSINATED(task))
return;
switch (task->tk_status) {
case 0:
memcpy(calldata->lsp->ls_stateid.data,
calldata->res.stateid.data,
sizeof(calldata->lsp->ls_stateid.data));
renew_lease... | 170,592,631,091,651,550,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,417 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_locku_prepare(struct rpc_task *task, void *data)
{
struct nfs4_unlockdata *calldata = data;
if (nfs_wait_on_sequence(calldata->arg.seqid, task) != 0)
return;
if ((calldata->lsp->ls_flags & NFS_LOCK_INITIALIZED) == 0) {
/* Note: exit _without_ running nfs4_locku_done */
task->tk_action = NULL;... | 243,951,261,542,048,680,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,418 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle,
struct nfs_fsinfo *info)
{
struct nfs4_exception exception = { };
int err;
do {
err = nfs4_handle_exception(server,
_nfs4_lookup_root(server, fhandle, info),
&exception);
} while (exception.retry);
return err;
}
| 309,238,741,749,267,500,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,419 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs4_map_errors(int err)
{
if (err < -1000) {
dprintk("%s could not handle NFSv4 error %d\n",
__func__, -err);
return -EIO;
}
return err;
}
| 133,980,787,776,473,570,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,420 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_open_confirm_done(struct rpc_task *task, void *calldata)
{
struct nfs4_opendata *data = calldata;
data->rpc_status = task->tk_status;
if (RPC_ASSASSINATED(task))
return;
if (data->rpc_status == 0) {
memcpy(data->o_res.stateid.data, data->c_res.stateid.data,
sizeof(data->o_res.stateid.data)... | 20,758,861,389,221,995,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,421 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid)
{
struct nfs4_exception exception = { };
struct nfs_server *server = NFS_SERVER(state->inode);
int err;
do {
err = _nfs4_open_delegation_recall(ctx, state, stateid);
switch (err) {
case 0:
... | 27,384,613,117,987,520,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,422 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_open_done(struct rpc_task *task, void *calldata)
{
struct nfs4_opendata *data = calldata;
data->rpc_status = task->tk_status;
if (RPC_ASSASSINATED(task))
return;
if (task->tk_status == 0) {
switch (data->o_res.f_attr->mode & S_IFMT) {
case S_IFREG:
break;
case S_IFLNK:
data->rpc_... | 91,584,473,791,782,400,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,423 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_open_recover(struct nfs4_opendata *opendata, struct nfs4_state *state)
{
struct nfs4_state *newstate;
int ret;
/* memory barrier prior to reading state->n_* */
clear_bit(NFS_DELEGATED_STATE, &state->flags);
smp_rmb();
if (state->n_rdwr != 0) {
ret = nfs4_open_recover_helper(opendata, FMODE_READ... | 302,550,954,146,038,060,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,424 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_opendata_free(struct kref *kref)
{
struct nfs4_opendata *p = container_of(kref,
struct nfs4_opendata, kref);
nfs_free_seqid(p->o_arg.seqid);
if (p->state != NULL)
nfs4_put_open_state(p->state);
nfs4_put_state_owner(p->owner);
dput(p->dir);
path_put(&p->path);
kfree(p);
}
| 119,156,399,688,311,670,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,425 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg)
{
struct nfs_server *server = NFS_SERVER(data->inode);
data->args.bitmask = server->attr_bitmask;
data->res.server = server;
msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_COMMIT];
}
| 97,591,569,128,056,650,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,426 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name,
struct nfs4_fs_locations *fs_locations, struct page *page)
{
struct nfs_server *server = NFS_SERVER(dir);
u32 bitmask[2] = {
[0] = FATTR4_WORD0_FSID | FATTR4_WORD0_FS_LOCATIONS,
[1] = FATTR4_WORD1_MOUNTED_ON_FILEID,
};
struct nfs4_fs_locat... | 291,613,172,026,801,200,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,427 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle,
struct nfs_fsinfo *info)
{
int status;
status = nfs4_lookup_root(server, fhandle, info);
if (status == 0)
status = nfs4_server_capabilities(server, fhandle);
if (status == 0)
status = nfs4_do_fsinfo(server, fhandle, info)... | 174,712,707,226,312,250,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,428 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | nfs4_proc_lock(struct file *filp, int cmd, struct file_lock *request)
{
struct nfs_open_context *ctx;
struct nfs4_state *state;
unsigned long timeout = NFS4_LOCK_MINTIMEOUT;
int status;
/* verify open state */
ctx = nfs_file_open_context(filp);
state = ctx->state;
if (request->fl_start < 0 || request->fl_end ... | 73,872,083,830,611,880,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,429 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr)
{
struct nfs4_exception exception = { };
int err;
do {
err = nfs4_handle_exception(NFS_SERVER(dir),
_nfs4_proc_lookup(dir, name, fhandle, fattr),
&exception);
} while (exception.retry);
retu... | 230,171,720,056,916,070,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,430 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_lookupfh(struct nfs_server *server, struct nfs_fh *dirfh,
struct qstr *name, struct nfs_fh *fhandle,
struct nfs_fattr *fattr)
{
struct nfs4_exception exception = { };
int err;
do {
err = _nfs4_proc_lookupfh(server, dirfh, name, fhandle, fattr);
/* FIXME: !!!! */
if (err =... | 72,569,093,369,068,310,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,431 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_mknod(struct inode *dir, struct dentry *dentry,
struct iattr *sattr, dev_t rdev)
{
struct nfs4_exception exception = { };
int err;
do {
err = nfs4_handle_exception(NFS_SERVER(dir),
_nfs4_proc_mknod(dir, dentry, sattr, rdev),
&exception);
} while (exception.retry);
return err;
}
| 187,767,056,621,965,740,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,432 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_proc_read_setup(struct nfs_read_data *data, struct rpc_message *msg)
{
data->timestamp = jiffies;
msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READ];
}
| 268,350,097,825,173,450,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,433 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
u64 cookie, struct page *page, unsigned int count, int plus)
{
struct nfs4_exception exception = { };
int err;
do {
err = nfs4_handle_exception(NFS_SERVER(dentry->d_inode),
_nfs4_proc_readdir(dentry, cred, cookie,
... | 232,742,458,649,723,160,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,434 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs4_proc_renew(struct nfs_client *clp, struct rpc_cred *cred)
{
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_RENEW],
.rpc_argp = clp,
.rpc_cred = cred,
};
unsigned long now = jiffies;
int status;
status = rpc_call_sync(clp->cl_rpcclient, &msg, 0);
if (status < 0)
return stat... | 75,748,108,734,381,480,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,435 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | nfs4_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
struct iattr *sattr)
{
struct inode *inode = dentry->d_inode;
struct rpc_cred *cred = NULL;
struct nfs4_state *state = NULL;
int status;
nfs_fattr_init(fattr);
/* Search for an existing open(O_WRITE) file */
if (sattr->ia_valid & ATTR_FILE)... | 244,028,961,165,190,430,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,436 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, struct rpc_cred *cred)
{
nfs4_verifier sc_verifier;
struct nfs4_setclientid setclientid = {
.sc_verifier = &sc_verifier,
.sc_prog = program,
};
struct rpc_message msg = {
.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SETCLIENTID]... | 185,019,296,278,861,360,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,437 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | int nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct rpc_cred *cred)
{
long timeout = 0;
int err;
do {
err = _nfs4_proc_setclientid_confirm(clp, cred);
switch (err) {
case 0:
return err;
case -NFS4ERR_RESOURCE:
/* The IBM lawyers misread another document! */
case -NFS4ERR_DELAY:
... | 251,979,150,120,885,070,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,438 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request)
{
struct nfs4_exception exception = { };
int err;
do {
err = nfs4_handle_exception(NFS_SERVER(state->inode),
_nfs4_proc_setlk(state, cmd, request),
&exception);
} while (exception.retry);
return err;
}
| 198,280,873,562,728,700,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,439 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request)
{
struct nfs_inode *nfsi = NFS_I(state->inode);
struct nfs_seqid *seqid;
struct nfs4_lock_state *lsp;
struct rpc_task *task;
int status = 0;
unsigned char fl_flags = request->fl_flags;
status = nfs4_set_lock_state(state, re... | 258,254,471,071,346,760,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,440 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_proc_unlink_done(struct rpc_task *task, struct inode *dir)
{
struct nfs_removeres *res = task->tk_msg.rpc_resp;
if (nfs4_async_handle_error(task, res->server, NULL) == -EAGAIN)
return 0;
update_changeattr(dir, &res->cinfo);
nfs_post_op_update_inode(dir, &res->dir_attr);
return 1;
}
| 128,927,311,634,824,300,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,441 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_proc_unlink_setup(struct rpc_message *msg, struct inode *dir)
{
struct nfs_server *server = NFS_SERVER(dir);
struct nfs_removeargs *args = msg->rpc_argp;
struct nfs_removeres *res = msg->rpc_resp;
args->bitmask = server->attr_bitmask;
res->server = server;
msg->rpc_proc = &nfs4_procedures[NFSPRO... | 243,568,510,506,377,850,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,442 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_proc_write_setup(struct nfs_write_data *data, struct rpc_message *msg)
{
struct nfs_server *server = NFS_SERVER(data->inode);
data->args.bitmask = server->attr_bitmask;
data->res.server = server;
data->timestamp = jiffies;
msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_WRITE];
}
| 229,884,329,822,013,580,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,443 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_read_done(struct rpc_task *task, struct nfs_read_data *data)
{
struct nfs_server *server = NFS_SERVER(data->inode);
if (nfs4_async_handle_error(task, server, data->args.context->state) == -EAGAIN) {
rpc_restart_call(task);
return -EAGAIN;
}
nfs_invalidate_atime(data->inode);
if (task->tk_stat... | 256,313,354,050,178,470,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,444 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static int nfs4_recover_expired_lease(struct nfs_server *server)
{
struct nfs_client *clp = server->nfs_client;
int ret;
for (;;) {
ret = nfs4_wait_clnt_recover(clp);
if (ret != 0)
return ret;
if (!test_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state) &&
!test_bit(NFS4CLNT_CHECK_LEASE,&clp->cl_state))
... | 266,488,301,573,339,600,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,445 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_renew_done(struct rpc_task *task, void *data)
{
struct nfs_client *clp = (struct nfs_client *)task->tk_msg.rpc_argp;
unsigned long timestamp = (unsigned long)data;
if (task->tk_status < 0) {
switch (task->tk_status) {
case -NFS4ERR_STALE_CLIENTID:
case -NFS4ERR_EXPIRED:
case -NFS4ERR_CB_... | 286,495,444,497,583,240,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,446 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | nfs4_set_lock_task_retry(unsigned long timeout)
{
schedule_timeout_killable(timeout);
timeout <<= 1;
if (timeout > NFS4_LOCK_MAXTIMEOUT)
return NFS4_LOCK_MAXTIMEOUT;
return timeout;
}
| 72,918,113,256,805,970,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
25,447 | linux | dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9 | NFSv4: Convert the open and close ops to use fmode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> | 0 | static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dentry,
struct nfs4_readdir_arg *readdir)
{
__be32 *start, *p;
BUG_ON(readdir->count < 80);
if (cookie > 2) {
readdir->cookie = cookie;
memcpy(&readdir->verifier, verifier, sizeof(readdir->verifier));
return;
}
readdir->cookie = ... | 88,025,479,736,512,720,000,000,000,000,000,000,000 | nfs4proc.c | 163,538,799,766,705,700,000,000,000,000,000,000,000 | [
"CWE-703"
] | CVE-2011-4324 | The encode_share_access function in fs/nfs/nfs4xdr.c in the Linux kernel before 2.6.29 allows local users to cause a denial of service (BUG and system crash) by using the mknod system call with a pathname on an NFSv4 filesystem. | https://nvd.nist.gov/vuln/detail/CVE-2011-4324 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.