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
39,183
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static __net_init int dccp_net_init(struct net *net) { int ret = 0; ret = nf_ct_l4proto_pernet_register(net, &dccp_proto4); if (ret < 0) { pr_err("nf_conntrack_dccp4: pernet registration failed.\n"); goto out; } ret = nf_ct_l4proto_pernet_register(net, &dccp_proto6); if (ret < 0) { pr_err("nf_conntrack_dccp...
260,840,399,834,850,700,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,184
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static int dccp_nlattr_size(void) { return nla_total_size(0) /* CTA_PROTOINFO_DCCP */ + nla_policy_len(dccp_nla_policy, CTA_PROTOINFO_DCCP_MAX + 1); }
44,287,876,705,035,320,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,185
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static inline struct dccp_net *dccp_pernet(struct net *net) { return net_generic(net, dccp_net_id); }
51,568,860,606,028,630,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,186
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static bool dccp_pkt_to_tuple(const struct sk_buff *skb, unsigned int dataoff, struct nf_conntrack_tuple *tuple) { struct dccp_hdr _hdr, *dh; dh = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); if (dh == NULL) return false; tuple->src.u.dccp.port = dh->dccph_sport; tuple->dst.u.dccp.port = dh-...
195,890,227,514,182,800,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,187
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static int dccp_print_conntrack(struct seq_file *s, struct nf_conn *ct) { return seq_printf(s, "%s ", dccp_state_names[ct->proto.dccp.state]); }
329,450,690,762,046,840,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,188
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static int dccp_print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple) { return seq_printf(s, "sport=%hu dport=%hu ", ntohs(tuple->src.u.dccp.port), ntohs(tuple->dst.u.dccp.port)); }
138,524,100,240,900,100,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,189
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static int dccp_timeout_nlattr_to_obj(struct nlattr *tb[], struct net *net, void *data) { struct dccp_net *dn = dccp_pernet(net); unsigned int *timeouts = data; int i; /* set default DCCP timeouts. */ for (i=0; i<CT_DCCP_MAX; i++) timeouts[i] = dn->dccp_timeout[i]; /* there's a 1:1 mapping between a...
166,177,806,125,891,610,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,190
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
dccp_timeout_obj_to_nlattr(struct sk_buff *skb, const void *data) { const unsigned int *timeouts = data; int i; for (i=CTA_TIMEOUT_DCCP_UNSPEC+1; i<CTA_TIMEOUT_DCCP_MAX+1; i++) { if (nla_put_be32(skb, i, htonl(timeouts[i] / HZ))) goto nla_put_failure; } return 0; nla_put_failure: return -ENOSPC; }
47,167,111,824,460,240,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,191
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static int dccp_to_nlattr(struct sk_buff *skb, struct nlattr *nla, struct nf_conn *ct) { struct nlattr *nest_parms; spin_lock_bh(&ct->lock); nest_parms = nla_nest_start(skb, CTA_PROTOINFO_DCCP | NLA_F_NESTED); if (!nest_parms) goto nla_put_failure; if (nla_put_u8(skb, CTA_PROTOINFO_DCCP_STATE, ct->proto.dc...
63,094,062,275,742,600,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,192
linux
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh; ... skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); ... where dh itself is a pointer that is being passed as the copy buffer. Ins...
0
static void __exit nf_conntrack_proto_dccp_fini(void) { nf_ct_l4proto_unregister(&dccp_proto6); nf_ct_l4proto_unregister(&dccp_proto4); unregister_pernet_subsys(&dccp_net_ops); }
178,382,865,078,981,500,000,000,000,000,000,000,000
nf_conntrack_proto_dccp.c
265,751,526,435,664,000,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2523
net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows remote attackers to cause a denial of service (system crash) or possibly execute arbitrary code via a DCCP packet that triggers a call to the (1) dccp_new, (2) dccp_packet, or (3) dccp_error f...
https://nvd.nist.gov/vuln/detail/CVE-2014-2523
39,193
file
447558595a3650db2886cd2f416ad0beba965801
https://github.com/file/file
https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801
PR/313: Aaron Reffett: Check properly for exceeding the offset.
0
check_fmt(struct magic_set *ms, struct magic *m) { regex_t rx; int rc, rv = -1; if (strchr(m->desc, '%') == NULL) return 0; (void)setlocale(LC_CTYPE, "C"); rc = regcomp(&rx, "%[-0-9\\.]*s", REG_EXTENDED|REG_NOSUB); if (rc) { char errmsg[512]; (void)regerror(rc, &rx, errmsg, sizeof(errmsg)); file_magerro...
182,474,326,142,723,700,000,000,000,000,000,000,000
softmagic.c
136,342,056,179,164,680,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-2270
softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access and crash) via crafted offsets in the softmagic of a PE executable.
https://nvd.nist.gov/vuln/detail/CVE-2014-2270
39,194
file
447558595a3650db2886cd2f416ad0beba965801
https://github.com/file/file
https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801
PR/313: Aaron Reffett: Check properly for exceeding the offset.
0
file_softmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, int mode, int text) { struct mlist *ml; int rv, printed_something = 0, need_separator = 0; for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode, text, ...
58,365,925,700,329,410,000,000,000,000,000,000,000
softmagic.c
85,344,002,697,898,590,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-2270
softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access and crash) via crafted offsets in the softmagic of a PE executable.
https://nvd.nist.gov/vuln/detail/CVE-2014-2270
39,195
file
447558595a3650db2886cd2f416ad0beba965801
https://github.com/file/file
https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801
PR/313: Aaron Reffett: Check properly for exceeding the offset.
0
magiccheck(struct magic_set *ms, struct magic *m) { uint64_t l = m->value.q; uint64_t v; float fl, fv; double dl, dv; int matched; union VALUETYPE *p = &ms->ms_value; switch (m->type) { case FILE_BYTE: v = p->b; break; case FILE_SHORT: case FILE_BESHORT: case FILE_LESHORT: v = p->h; break; case F...
322,359,794,135,718,540,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-2270
softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access and crash) via crafted offsets in the softmagic of a PE executable.
https://nvd.nist.gov/vuln/detail/CVE-2014-2270
39,196
file
447558595a3650db2886cd2f416ad0beba965801
https://github.com/file/file
https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801
PR/313: Aaron Reffett: Check properly for exceeding the offset.
0
match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, const unsigned char *s, size_t nbytes, size_t offset, int mode, int text, int flip, int recursion_level, int *printed_something, int *need_separator, int *returnval) { uint32_t magindex = 0; unsigned int cont_level = 0; int returnvalv = 0,...
48,089,417,341,018,040,000,000,000,000,000,000,000
softmagic.c
136,342,056,179,164,680,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-2270
softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access and crash) via crafted offsets in the softmagic of a PE executable.
https://nvd.nist.gov/vuln/detail/CVE-2014-2270
39,197
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int flush_task_priority(int how) { switch (how & (FLUSH_HIGHPRI|FLUSH_LOWPRI)) { case FLUSH_HIGHPRI: return RPC_PRIORITY_HIGH; case FLUSH_LOWPRI: return RPC_PRIORITY_LOW; } return RPC_PRIORITY_NORMAL; }
34,153,542,102,550,477,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,198
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_clear_page_commit(struct page *page) { dec_zone_page_state(page, NR_UNSTABLE_NFS); dec_bdi_stat(page_file_mapping(page)->backing_dev_info, BDI_RECLAIMABLE); }
23,512,093,396,978,910,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,199
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_clear_request_commit(struct nfs_page *req) { if (test_bit(PG_CLEAN, &req->wb_flags)) { struct inode *inode = req->wb_context->dentry->d_inode; struct nfs_commit_info cinfo; nfs_init_cinfo_from_inode(&cinfo, inode); if (!pnfs_clear_request_commit(req, &cinfo)) { spin_lock(cinfo.lock); nfs_request_rem...
250,806,015,562,586,900,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,200
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_clear_request_commit(struct nfs_page *req) { }
276,464,269,053,956,830,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,201
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_commit_clear_lock(struct nfs_inode *nfsi) { clear_bit(NFS_INO_COMMIT, &nfsi->flags); smp_mb__after_clear_bit(); wake_up_bit(&nfsi->flags, NFS_INO_COMMIT); }
246,593,344,476,416,470,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,202
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_commit_inode(struct inode *inode, int how) { LIST_HEAD(head); struct nfs_commit_info cinfo; int may_wait = how & FLUSH_SYNC; int res; res = nfs_commit_set_lock(NFS_I(inode), may_wait); if (res <= 0) goto out_mark_dirty; nfs_init_cinfo_from_inode(&cinfo, inode); res = nfs_scan_commit(inode, &head, &ci...
28,625,787,775,180,070,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,203
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_commit_list(struct inode *inode, struct list_head *head, int how, struct nfs_commit_info *cinfo) { struct nfs_commit_data *data; data = nfs_commitdata_alloc(); if (!data) goto out_bad; /* Set up the argument struct */ nfs_init_commit(data, head, NULL, cinfo); atomic_inc(&cinfo->mds->rpcs_out); return ...
193,309,890,507,895,130,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,204
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_commit_prepare(struct rpc_task *task, void *calldata) { struct nfs_commit_data *data = calldata; NFS_PROTO(data->inode)->commit_rpc_prepare(task, data); }
255,489,182,167,674,200,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,205
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_commit_release(void *calldata) { struct nfs_commit_data *data = calldata; data->completion_ops->completion(data); nfs_commitdata_release(calldata); }
100,292,548,507,014,030,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,206
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_commit_release_pages(struct nfs_commit_data *data) { struct nfs_page *req; int status = data->task.tk_status; struct nfs_commit_info cinfo; while (!list_empty(&data->pages)) { req = nfs_list_entry(data->pages.next); nfs_list_remove_request(req); nfs_clear_page_commit(req->wb_page); dprintk...
145,576,524,900,927,770,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,207
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_commit_set_lock(struct nfs_inode *nfsi, int may_wait) { int ret; if (!test_and_set_bit(NFS_INO_COMMIT, &nfsi->flags)) return 1; if (!may_wait) return 0; ret = out_of_line_wait_on_bit_lock(&nfsi->flags, NFS_INO_COMMIT, nfs_wait_bit_killable, TASK_KILLABLE); return (ret < 0) ? ret : 1...
123,298,835,756,401,250,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,208
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_commit_unstable_pages(struct inode *inode, struct writeback_control *wbc) { struct nfs_inode *nfsi = NFS_I(inode); int flags = FLUSH_SYNC; int ret = 0; /* no commits means nothing needs to be done */ if (!nfsi->commit_info.ncommit) return ret; if (wbc->sync_mode == WB_SYNC_NONE) { /* Don't co...
276,072,554,891,626,900,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,209
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_commit_unstable_pages(struct inode *inode, struct writeback_control *wbc) { return 0; }
288,508,346,026,410,200,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,210
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
struct nfs_commit_data *nfs_commitdata_alloc(void) { struct nfs_commit_data *p = mempool_alloc(nfs_commit_mempool, GFP_NOIO); if (p) { memset(p, 0, sizeof(*p)); INIT_LIST_HEAD(&p->pages); } return p; }
78,705,972,843,411,430,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,211
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_commitdata_release(struct nfs_commit_data *data) { put_nfs_open_context(data->context); nfs_commit_free(data); }
151,306,787,292,255,510,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,212
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_context_set_write_error(struct nfs_open_context *ctx, int error) { ctx->error = error; smp_wmb(); set_bit(NFS_CONTEXT_ERROR_WRITE, &ctx->flags); }
65,472,170,991,697,385,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,213
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_destroy_writepagecache(void) { mempool_destroy(nfs_commit_mempool); kmem_cache_destroy(nfs_cdata_cachep); mempool_destroy(nfs_wdata_mempool); kmem_cache_destroy(nfs_wdata_cachep); }
175,721,836,788,664,580,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,214
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_do_multiple_writes(struct list_head *head, const struct rpc_call_ops *call_ops, int how) { struct nfs_write_data *data; int ret = 0; while (!list_empty(head)) { int ret2; data = list_first_entry(head, struct nfs_write_data, list); list_del_init(&data->list); ret2 = nfs_do_write(data, ...
106,456,159,633,960,500,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,215
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_do_write(struct nfs_write_data *data, const struct rpc_call_ops *call_ops, int how) { struct inode *inode = data->header->inode; return nfs_initiate_write(NFS_CLIENT(inode), data, call_ops, how, 0); }
216,061,523,893,093,600,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,216
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_do_writepage(struct page *page, struct writeback_control *wbc, struct nfs_pageio_descriptor *pgio) { struct inode *inode = page_file_mapping(page)->host; int ret; nfs_inc_stats(inode, NFSIOS_VFSWRITEPAGE); nfs_add_stats(inode, NFSIOS_WRITEPAGES, 1); nfs_pageio_cond_complete(pgio, page_file_index(p...
220,264,728,018,370,430,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,217
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_end_page_writeback(struct page *page) { struct inode *inode = page_file_mapping(page)->host; struct nfs_server *nfss = NFS_SERVER(inode); end_page_writeback(page); if (atomic_long_dec_return(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) clear_bdi_congested(&nfss->backing_dev_info, BLK_RW_ASYNC);...
260,277,348,364,818,770,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,218
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static struct nfs_page *nfs_find_and_lock_request(struct page *page, bool nonblock) { struct inode *inode = page_file_mapping(page)->host; struct nfs_page *req; int ret; spin_lock(&inode->i_lock); for (;;) { req = nfs_page_find_request_locked(NFS_I(inode), page); if (req == NULL) break; if (nfs_lock_requ...
147,016,824,123,134,340,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,219
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_flush_incompatible(struct file *file, struct page *page) { struct nfs_open_context *ctx = nfs_file_open_context(file); struct nfs_lock_context *l_ctx; struct nfs_page *req; int do_flush, status; /* * Look for a request corresponding to this page. If there * is one, and it belongs to another file, we fl...
106,174,658,945,643,120,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,220
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_flush_multi(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr) { struct nfs_page *req = hdr->req; struct page *page = req->wb_page; struct nfs_write_data *data; size_t wsize = desc->pg_bsize, nbytes; unsigned int offset; int requests = 0; struct nfs_commit_info cinfo; nfs_ini...
268,016,146,096,606,870,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,221
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_flush_one(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr) { struct nfs_page *req; struct page **pages; struct nfs_write_data *data; struct list_head *head = &desc->pg_list; struct nfs_commit_info cinfo; data = nfs_writedata_alloc(hdr, nfs_page_array_len(desc->pg_base, ...
112,913,942,472,924,610,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,222
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_generic_commit_list(struct inode *inode, struct list_head *head, int how, struct nfs_commit_info *cinfo) { int status; status = pnfs_commit_list(inode, head, how, cinfo); if (status == PNFS_NOT_ATTEMPTED) status = nfs_commit_list(inode, head, how, cinfo); return status; }
151,906,954,241,192,710,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,223
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_generic_flush(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr) { if (desc->pg_bsize < PAGE_CACHE_SIZE) return nfs_flush_multi(desc, hdr); return nfs_flush_one(desc, hdr); }
98,387,424,503,920,460,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,224
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_generic_pg_writepages(struct nfs_pageio_descriptor *desc) { struct nfs_write_header *whdr; struct nfs_pgio_header *hdr; int ret; whdr = nfs_writehdr_alloc(); if (!whdr) { desc->pg_completion_ops->error_cleanup(&desc->pg_list); return -ENOMEM; } hdr = &whdr->header; nfs_pgheader_init(desc, hd...
162,630,990,551,070,850,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,225
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_grow_file(struct page *page, unsigned int offset, unsigned int count) { struct inode *inode = page_file_mapping(page)->host; loff_t end, i_size; pgoff_t end_index; spin_lock(&inode->i_lock); i_size = i_size_read(inode); end_index = (i_size - 1) >> PAGE_CACHE_SHIFT; if (i_size > 0 && page_file_in...
55,683,506,172,224,220,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,226
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_init_cinfo(struct nfs_commit_info *cinfo, struct inode *inode, struct nfs_direct_req *dreq) { if (dreq) nfs_init_cinfo_from_dreq(cinfo, dreq); else nfs_init_cinfo_from_inode(cinfo, inode); }
176,498,069,900,830,600,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,227
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_init_cinfo(struct nfs_commit_info *cinfo, struct inode *inode, struct nfs_direct_req *dreq) { }
4,730,278,064,084,961,400,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,228
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo, struct inode *inode) { cinfo->lock = &inode->i_lock; cinfo->mds = &NFS_I(inode)->commit_info; cinfo->ds = pnfs_get_ds_info(inode); cinfo->dreq = NULL; cinfo->completion_ops = &nfs_commit_completion_ops; }
265,493,902,030,392,470,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,229
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo, struct inode *inode) { }
11,335,112,954,514,558,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,230
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_init_commit(struct nfs_commit_data *data, struct list_head *head, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) { struct nfs_page *first = nfs_list_entry(head->next); struct inode *inode = first->wb_context->dentry->d_inode; /* Set up the RPC argument and reply struc...
288,814,559,202,920,500,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,231
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int __init nfs_init_writepagecache(void) { nfs_wdata_cachep = kmem_cache_create("nfs_write_data", sizeof(struct nfs_write_header), 0, SLAB_HWCACHE_ALIGN, NULL); if (nfs_wdata_cachep == NULL) return -ENOMEM; nfs_wdata_mempool = mempool_create_slab_pool(MIN_POOL_WRITE, nfs_w...
244,898,601,661,808,600,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,232
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_initiate_commit(struct rpc_clnt *clnt, struct nfs_commit_data *data, const struct rpc_call_ops *call_ops, int how, int flags) { struct rpc_task *task; int priority = flush_task_priority(how); struct rpc_message msg = { .rpc_argp = &data->args, .rpc_resp = &data->res, .rpc_cred = data->cred, }; ...
155,457,673,434,829,680,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,233
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_initiate_write(struct rpc_clnt *clnt, struct nfs_write_data *data, const struct rpc_call_ops *call_ops, int how, int flags) { struct inode *inode = data->header->inode; int priority = flush_task_priority(how); struct rpc_task *task; struct rpc_message msg = { .rpc_argp = &data->...
224,133,705,999,106,530,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,234
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_inode_add_request(struct inode *inode, struct nfs_page *req) { struct nfs_inode *nfsi = NFS_I(inode); /* Lock the request! */ nfs_lock_request(req); spin_lock(&inode->i_lock); if (!nfsi->npages && NFS_PROTO(inode)->have_delegation(inode, FMODE_WRITE)) inode->i_version++; /* * Swap-space shou...
257,594,221,015,439,630,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,235
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_inode_remove_request(struct nfs_page *req) { struct inode *inode = req->wb_context->dentry->d_inode; struct nfs_inode *nfsi = NFS_I(inode); spin_lock(&inode->i_lock); if (likely(!PageSwapCache(req->wb_page))) { set_page_private(req->wb_page, 0); ClearPagePrivate(req->wb_page); clear_bit(PG_MA...
166,850,733,282,833,190,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,236
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) { if (pnfs_mark_request_commit(req, lseg, cinfo)) return; nfs_request_add_commit_list(req, &cinfo->mds->list, cinfo); }
307,436,036,748,488,270,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,237
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_mark_request_dirty(struct nfs_page *req) { __set_page_dirty_nobuffers(req->wb_page); }
160,291,811,414,548,350,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,238
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_mark_uptodate(struct page *page, unsigned int base, unsigned int count) { if (PageUptodate(page)) return; if (base != 0) return; if (count != nfs_page_length(page)) return; SetPageUptodate(page); }
272,820,884,980,245,860,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,239
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_migrate_page(struct address_space *mapping, struct page *newpage, struct page *page, enum migrate_mode mode) { /* * If PagePrivate is set, then the page is currently associated with * an in-progress read or write request. Don't try to migrate it. * * FIXME: we could do this in principle, but we'll ne...
106,450,082,860,586,410,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,240
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_page_async_flush(struct nfs_pageio_descriptor *pgio, struct page *page, bool nonblock) { struct nfs_page *req; int ret = 0; req = nfs_find_and_lock_request(page, nonblock); if (!req) goto out; ret = PTR_ERR(req); if (IS_ERR(req)) goto out; nfs_set_page_writeback(page); WARN_ON_ONCE(test...
18,928,632,067,460,727,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,241
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static struct nfs_page *nfs_page_find_request(struct page *page) { struct inode *inode = page_file_mapping(page)->host; struct nfs_page *req = NULL; spin_lock(&inode->i_lock); req = nfs_page_find_request_locked(NFS_I(inode), page); spin_unlock(&inode->i_lock); return req; }
131,491,946,422,178,830,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,242
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_page_find_request_locked(struct nfs_inode *nfsi, struct page *page) { struct nfs_page *req = NULL; if (PagePrivate(page)) req = (struct nfs_page *)page_private(page); else if (unlikely(PageSwapCache(page))) { struct nfs_page *freq, *t; /* Linearly search the commit list for the correct req */ list_for_...
317,947,273,918,494,120,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,243
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags, const struct nfs_pgio_completion_ops *compl_ops) { nfs_pageio_init(pgio, inode, &nfs_pageio_write_ops, compl_ops, NFS_SERVER(inode)->wsize, ioflags); }
136,483,007,394,250,820,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,244
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio) { pgio->pg_ops = &nfs_pageio_write_ops; pgio->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; }
288,387,471,513,547,530,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,245
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_redirty_request(struct nfs_page *req) { nfs_mark_request_dirty(req); nfs_unlock_request(req); nfs_end_page_writeback(req->wb_page); nfs_release_request(req); }
234,574,113,559,302,420,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,246
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_reqs_to_commit(struct nfs_commit_info *cinfo) { return cinfo->mds->ncommit; }
320,898,510,458,862,100,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,247
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static unsigned long nfs_reqs_to_commit(struct nfs_commit_info *cinfo) { return 0; }
207,602,253,385,639,140,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,248
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_request_add_commit_list(struct nfs_page *req, struct list_head *dst, struct nfs_commit_info *cinfo) { set_bit(PG_CLEAN, &(req)->wb_flags); spin_lock(cinfo->lock); nfs_list_add_request(req, dst); cinfo->mds->ncommit++; spin_unlock(cinfo->lock); if (!cinfo->dreq) { inc_zone_page_state(req->wb_page, NR_...
322,793,996,215,463,100,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,249
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_request_remove_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo) { if (!test_and_clear_bit(PG_CLEAN, &(req)->wb_flags)) return; nfs_list_remove_request(req); cinfo->mds->ncommit--; }
253,602,489,493,155,080,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,250
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_retry_commit(struct list_head *page_list, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) { struct nfs_page *req; while (!list_empty(page_list)) { req = nfs_list_entry(page_list->next); nfs_list_remove_request(req); nfs_mark_request_commit(req, lseg, cinfo); if (!cin...
175,602,039,341,571,870,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,251
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_scan_commit(struct inode *inode, struct list_head *dst, struct nfs_commit_info *cinfo) { int ret = 0; spin_lock(cinfo->lock); if (cinfo->mds->ncommit > 0) { const int max = INT_MAX; ret = nfs_scan_commit_list(&cinfo->mds->list, dst, cinfo, max); ret += pnfs_scan_commit_lists(inode, cinfo, max -...
7,872,960,164,099,791,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,252
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_scan_commit(struct inode *inode, struct list_head *dst, struct nfs_commit_info *cinfo) { return 0; }
310,431,345,568,784,280,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,253
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
nfs_scan_commit_list(struct list_head *src, struct list_head *dst, struct nfs_commit_info *cinfo, int max) { struct nfs_page *req, *tmp; int ret = 0; list_for_each_entry_safe(req, tmp, src, wb_list) { if (!nfs_lock_request(req)) continue; kref_get(&req->wb_kref); if (cond_resched_lock(cinfo->lock)) ...
191,461,153,311,635,500,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,254
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_set_page_writeback(struct page *page) { struct nfs_server *nfss = NFS_SERVER(page_file_mapping(page)->host); int ret = test_set_page_writeback(page); WARN_ON_ONCE(ret != 0); if (atomic_long_inc_return(&nfss->writeback) > NFS_CONGESTION_ON_THRESH) { set_bdi_congested(&nfss->backing_dev_info, ...
155,986,859,654,544,940,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,255
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_set_pageerror(struct page *page) { nfs_zap_mapping(page_file_mapping(page)->host, page_file_mapping(page)); }
61,133,163,607,103,730,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,256
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static struct nfs_page * nfs_setup_write_request(struct nfs_open_context* ctx, struct page *page, unsigned int offset, unsigned int bytes) { struct inode *inode = page_file_mapping(page)->host; struct nfs_page *req; req = nfs_try_to_update_request(inode, page, offset, bytes); if (req != NULL) goto out; req = ...
227,466,088,402,606,800,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,257
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static struct nfs_page *nfs_try_to_update_request(struct inode *inode, struct page *page, unsigned int offset, unsigned int bytes) { struct nfs_page *req; unsigned int rqend; unsigned int end; int error; if (!PagePrivate(page)) return NULL; end = offset + bytes; spin_lock(&inode->i_lock); for (;;) { ...
57,742,955,577,104,390,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,258
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_updatepage(struct file *file, struct page *page, unsigned int offset, unsigned int count) { struct nfs_open_context *ctx = nfs_file_open_context(file); struct inode *inode = page_file_mapping(page)->host; int status = 0; nfs_inc_stats(inode, NFSIOS_VFSUPDATEPAGE); dprintk("NFS: nfs_updatepage(%p...
314,280,696,537,459,400,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,259
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_wb_all(struct inode *inode) { struct writeback_control wbc = { .sync_mode = WB_SYNC_ALL, .nr_to_write = LONG_MAX, .range_start = 0, .range_end = LLONG_MAX, }; int ret; trace_nfs_writeback_inode_enter(inode); ret = sync_inode(inode, &wbc); trace_nfs_writeback_inode_exit(inode, ret); return ret;...
155,898,917,456,894,440,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,260
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_wb_page(struct inode *inode, struct page *page) { loff_t range_start = page_file_offset(page); loff_t range_end = range_start + (loff_t)(PAGE_CACHE_SIZE - 1); struct writeback_control wbc = { .sync_mode = WB_SYNC_ALL, .nr_to_write = 0, .range_start = range_start, .range_end = range_end, }; int ret;...
298,717,520,243,239,070,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,261
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_wb_page_cancel(struct inode *inode, struct page *page) { struct nfs_page *req; int ret = 0; for (;;) { wait_on_page_writeback(page); req = nfs_page_find_request(page); if (req == NULL) break; if (nfs_lock_request(req)) { nfs_clear_request_commit(req); nfs_inode_remove_request(req); /* ...
242,670,956,476,036,020,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,262
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_write_completion(struct nfs_pgio_header *hdr) { struct nfs_commit_info cinfo; unsigned long bytes = 0; if (test_bit(NFS_IOHDR_REDO, &hdr->flags)) goto out; nfs_init_cinfo_from_inode(&cinfo, hdr->inode); while (!list_empty(&hdr->pages)) { struct nfs_page *req = nfs_list_entry(hdr->pages.next); ...
323,708,571,244,387,830,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,263
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_write_inode(struct inode *inode, struct writeback_control *wbc) { return nfs_commit_unstable_pages(inode, wbc); }
42,417,267,701,199,215,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,264
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_write_need_commit(struct nfs_write_data *data) { return 0; }
11,231,364,245,208,770,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,265
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static bool nfs_write_pageuptodate(struct page *page, struct inode *inode) { if (nfs_have_delegated_attributes(inode)) goto out; if (NFS_I(inode)->cache_validity & (NFS_INO_INVALID_DATA|NFS_INO_REVAL_PAGECACHE)) return false; out: return PageUptodate(page) != 0; }
47,389,710,833,410,730,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,266
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_write_prepare(struct rpc_task *task, void *calldata) { struct nfs_write_data *data = calldata; int err; err = NFS_PROTO(data->header->inode)->write_rpc_prepare(task, data); if (err) rpc_exit(task, err); }
264,172,015,694,878,300,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,267
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_write_rpcsetup(struct nfs_write_data *data, unsigned int count, unsigned int offset, int how, struct nfs_commit_info *cinfo) { struct nfs_page *req = data->header->req; /* Set up the RPC argument and reply structs * NB: take care not to mess about with data->commit et al. */ data->args.fh ...
214,953,658,620,065,100,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,268
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_writeback_done(struct rpc_task *task, struct nfs_write_data *data) { struct nfs_writeargs *argp = &data->args; struct nfs_writeres *resp = &data->res; struct inode *inode = data->header->inode; int status; dprintk("NFS: %5u nfs_writeback_done (status %d)\n", task->tk_pid, task->tk_status); /* * ->...
126,724,874,832,435,080,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,269
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_writeback_done_common(struct rpc_task *task, void *calldata) { struct nfs_write_data *data = calldata; nfs_writeback_done(task, data); }
157,998,452,199,571,060,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,270
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static void nfs_writeback_release_common(void *calldata) { struct nfs_write_data *data = calldata; struct nfs_pgio_header *hdr = data->header; int status = data->task.tk_status; if ((status >= 0) && nfs_write_need_commit(data)) { spin_lock(&hdr->lock); if (test_bit(NFS_IOHDR_NEED_RESCHED, &hdr->flags)) ; /*...
195,490,827,341,017,540,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,271
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static struct nfs_write_data *nfs_writedata_alloc(struct nfs_pgio_header *hdr, unsigned int pagecount) { struct nfs_write_data *data, *prealloc; prealloc = &container_of(hdr, struct nfs_write_header, header)->rpc_data; if (prealloc->header == NULL) data = prealloc; else data = kzalloc(sizeof(*data), GF...
146,435,134,378,284,350,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,272
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_writedata_release(struct nfs_write_data *wdata) { struct nfs_pgio_header *hdr = wdata->header; struct nfs_write_header *write_header = container_of(hdr, struct nfs_write_header, header); put_nfs_open_context(wdata->args.context); if (wdata->pages.pagevec != wdata->pages.page_array) kfree(wdata->pages.pa...
275,293,032,917,764,050,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,273
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
struct nfs_write_header *nfs_writehdr_alloc(void) { struct nfs_write_header *p = mempool_alloc(nfs_wdata_mempool, GFP_NOIO); if (p) { struct nfs_pgio_header *hdr = &p->header; memset(p, 0, sizeof(*p)); INIT_LIST_HEAD(&hdr->pages); INIT_LIST_HEAD(&hdr->rpc_list); spin_lock_init(&hdr->lock); atomic_set(&h...
181,775,393,948,842,360,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,274
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
void nfs_writehdr_free(struct nfs_pgio_header *hdr) { struct nfs_write_header *whdr = container_of(hdr, struct nfs_write_header, header); mempool_free(whdr, nfs_wdata_mempool); }
178,711,328,724,375,900,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,275
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_writepage(struct page *page, struct writeback_control *wbc) { int ret; ret = nfs_writepage_locked(page, wbc); unlock_page(page); return ret; }
245,604,084,405,377,370,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,276
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_writepage_locked(struct page *page, struct writeback_control *wbc) { struct nfs_pageio_descriptor pgio; int err; NFS_PROTO(page_file_mapping(page)->host)->write_pageio_init(&pgio, page->mapping->host, wb_priority(wbc), &nfs_async_write_completion_ops); err = nfs_do_writepa...
93,624,994,343,573,230,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,277
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_writepage_setup(struct nfs_open_context *ctx, struct page *page, unsigned int offset, unsigned int count) { struct nfs_page *req; req = nfs_setup_write_request(ctx, page, offset, count); if (IS_ERR(req)) return PTR_ERR(req); /* Update file length */ nfs_grow_file(page, offset, count); nfs_mark...
257,567,473,538,106,240,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,278
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
int nfs_writepages(struct address_space *mapping, struct writeback_control *wbc) { struct inode *inode = mapping->host; unsigned long *bitlock = &NFS_I(inode)->flags; struct nfs_pageio_descriptor pgio; int err; /* Stop dirtying of new pages while we sync */ err = wait_on_bit_lock(bitlock, NFS_INO_FLUSHING, nf...
241,640,389,608,200,200,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,279
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int nfs_writepages_callback(struct page *page, struct writeback_control *wbc, void *data) { int ret; ret = nfs_do_writepage(page, wbc, data); unlock_page(page); return ret; }
282,598,014,740,730,950,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,280
linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24
nfs: always make sure page is up-to-date before extending a write to cover the entire page We should always make sure the cached page is up-to-date when we're determining whether we can extend a write to cover the full page -- even if we've received a write delegation from the server. Commit c7559663 added logic to s...
0
static int wb_priority(struct writeback_control *wbc) { if (wbc->for_reclaim) return FLUSH_HIGHPRI | FLUSH_STABLE; if (wbc->for_kupdate || wbc->for_background) return FLUSH_LOWPRI | FLUSH_COND_STABLE; return FLUSH_COND_STABLE; }
155,368,365,756,187,300,000,000,000,000,000,000,000
write.c
327,431,323,848,181,060,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-2038
The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a certain up-to-date verification, which allows local users to obtain sensitive information from kernel memory in opportunistic circumstances by writing to a file in an ...
https://nvd.nist.gov/vuln/detail/CVE-2014-2038
39,300
linux
2172fa709ab32ca60e86179dc67d0857be8e2c98
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2172fa709ab32ca60e86179dc67d0857be8e2c98
SELinux: Fix kernel BUG on empty security contexts. Setting an empty security context (length=0) on a file will lead to incorrectly dereferencing the type and other fields of the security context structure, yielding a kernel BUG. As a zero-length security context is never valid, just reject all such security contexts...
0
static int __init aurule_init(void) { int err; err = avc_add_callback(aurule_avc_callback, AVC_CALLBACK_RESET); if (err) panic("avc_add_callback() failed, error %d\n", err); return err; }
44,710,413,845,964,165,000,000,000,000,000,000,000
services.c
185,065,927,068,298,400,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-1874
The security_context_to_sid_core function in security/selinux/ss/services.c in the Linux kernel before 3.13.4 allows local users to cause a denial of service (system crash) by leveraging the CAP_MAC_ADMIN capability to set a zero-length security context.
https://nvd.nist.gov/vuln/detail/CVE-2014-1874
39,301
linux
2172fa709ab32ca60e86179dc67d0857be8e2c98
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2172fa709ab32ca60e86179dc67d0857be8e2c98
SELinux: Fix kernel BUG on empty security contexts. Setting an empty security context (length=0) on a file will lead to incorrectly dereferencing the type and other fields of the security context structure, yielding a kernel BUG. As a zero-length security context is never valid, just reject all such security contexts...
0
static int clone_sid(u32 sid, struct context *context, void *arg) { struct sidtab *s = arg; if (sid > SECINITSID_NUM) return sidtab_insert(s, sid, context); else return 0; }
47,341,132,829,978,250,000,000,000,000,000,000,000
services.c
185,065,927,068,298,400,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2014-1874
The security_context_to_sid_core function in security/selinux/ss/services.c in the Linux kernel before 3.13.4 allows local users to cause a denial of service (system crash) by leveraging the CAP_MAC_ADMIN capability to set a zero-length security context.
https://nvd.nist.gov/vuln/detail/CVE-2014-1874