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
36,374
linux
8909c9ad8ff03611c9c96c9a92656213e4bb495b
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/8909c9ad8ff03611c9c96c9a92656213e4bb495b
net: don't allow CAP_NET_ADMIN to load non-netdev kernel modules Since a8f80e8ff94ecba629542d9b4b5f5a8ee3eb565c any process with CAP_NET_ADMIN may load any module from /lib/modules/. This doesn't mean that CAP_NET_ADMIN is a superset of CAP_SYS_MODULE as modules are limited to /lib/modules/**. However, CAP_NET_ADMIN...
0
static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) { struct ip_tunnel *tunnel = netdev_priv(dev); struct pcpu_tstats *tstats; struct iphdr *tiph = &tunnel->parms.iph; struct ipv6hdr *iph6 = ipv6_hdr(skb); u8 tos = tunnel->parms.iph.tos; __be16 df = tiph->frag_off; str...
247,949,410,182,115,400,000,000,000,000,000,000,000
None
null
[ "CWE-264" ]
CVE-2011-1019
The dev_load function in net/core/dev.c in the Linux kernel before 2.6.38 allows local users to bypass an intended CAP_SYS_MODULE capability requirement and load arbitrary modules by leveraging the CAP_NET_ADMIN capability.
https://nvd.nist.gov/vuln/detail/CVE-2011-1019
36,375
linux
8909c9ad8ff03611c9c96c9a92656213e4bb495b
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/8909c9ad8ff03611c9c96c9a92656213e4bb495b
net: don't allow CAP_NET_ADMIN to load non-netdev kernel modules Since a8f80e8ff94ecba629542d9b4b5f5a8ee3eb565c any process with CAP_NET_ADMIN may load any module from /lib/modules/. This doesn't mean that CAP_NET_ADMIN is a superset of CAP_SYS_MODULE as modules are limited to /lib/modules/**. However, CAP_NET_ADMIN...
0
static int __init sit_init(void) { int err; printk(KERN_INFO "IPv6 over IPv4 tunneling driver\n"); err = register_pernet_device(&sit_net_ops); if (err < 0) return err; err = xfrm4_tunnel_register(&sit_handler, AF_INET6); if (err < 0) { unregister_pernet_device(&sit_net_ops); printk(KERN_INFO "sit init: Ca...
189,045,598,063,022,940,000,000,000,000,000,000,000
None
null
[ "CWE-264" ]
CVE-2011-1019
The dev_load function in net/core/dev.c in the Linux kernel before 2.6.38 allows local users to bypass an intended CAP_SYS_MODULE capability requirement and load arbitrary modules by leveraging the CAP_NET_ADMIN capability.
https://nvd.nist.gov/vuln/detail/CVE-2011-1019
36,376
linux
8909c9ad8ff03611c9c96c9a92656213e4bb495b
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/8909c9ad8ff03611c9c96c9a92656213e4bb495b
net: don't allow CAP_NET_ADMIN to load non-netdev kernel modules Since a8f80e8ff94ecba629542d9b4b5f5a8ee3eb565c any process with CAP_NET_ADMIN may load any module from /lib/modules/. This doesn't mean that CAP_NET_ADMIN is a superset of CAP_SYS_MODULE as modules are limited to /lib/modules/**. However, CAP_NET_ADMIN...
0
static int __net_init sit_init_net(struct net *net) { struct sit_net *sitn = net_generic(net, sit_net_id); int err; sitn->tunnels[0] = sitn->tunnels_wc; sitn->tunnels[1] = sitn->tunnels_l; sitn->tunnels[2] = sitn->tunnels_r; sitn->tunnels[3] = sitn->tunnels_r_l; sitn->fb_tunnel_dev = alloc_netdev(sizeof(struct...
120,252,460,618,773,830,000,000,000,000,000,000,000
None
null
[ "CWE-264" ]
CVE-2011-1019
The dev_load function in net/core/dev.c in the Linux kernel before 2.6.38 allows local users to bypass an intended CAP_SYS_MODULE capability requirement and load arbitrary modules by leveraging the CAP_NET_ADMIN capability.
https://nvd.nist.gov/vuln/detail/CVE-2011-1019
36,377
linux
8909c9ad8ff03611c9c96c9a92656213e4bb495b
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/8909c9ad8ff03611c9c96c9a92656213e4bb495b
net: don't allow CAP_NET_ADMIN to load non-netdev kernel modules Since a8f80e8ff94ecba629542d9b4b5f5a8ee3eb565c any process with CAP_NET_ADMIN may load any module from /lib/modules/. This doesn't mean that CAP_NET_ADMIN is a superset of CAP_SYS_MODULE as modules are limited to /lib/modules/**. However, CAP_NET_ADMIN...
0
__be32 try_6rd(struct in6_addr *v6dst, struct ip_tunnel *tunnel) { __be32 dst = 0; #ifdef CONFIG_IPV6_SIT_6RD if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, tunnel->ip6rd.prefixlen)) { unsigned int pbw0, pbi0; int pbi1; u32 d; pbw0 = tunnel->ip6rd.prefixlen >> 5; pbi0 = tunnel->ip6rd.prefixl...
109,552,893,225,630,200,000,000,000,000,000,000,000
None
null
[ "CWE-264" ]
CVE-2011-1019
The dev_load function in net/core/dev.c in the Linux kernel before 2.6.38 allows local users to bypass an intended CAP_SYS_MODULE capability requirement and load arbitrary modules by leveraging the CAP_NET_ADMIN capability.
https://nvd.nist.gov/vuln/detail/CVE-2011-1019
36,378
krb5
cf1a0c411b2668c57c41e9c4efd15ba17b6b322c
https://github.com/krb5/krb5
https://github.com/krb5/krb5/commit/cf1a0c411b2668c57c41e9c4efd15ba17b6b322c
Fix kpasswd UDP ping-pong [CVE-2002-2443] The kpasswd service provided by kadmind was vulnerable to a UDP "ping-pong" attack [CVE-2002-2443]. Don't respond to packets unless they pass some basic validation, and don't respond to our own error packets. Some authors use CVE-1999-0103 to refer to the kpasswd UDP ping-po...
0
dispatch(void *handle, struct sockaddr *local_saddr, const krb5_fulladdr *remote_faddr, krb5_data *request, int is_tcp, verto_ctx *vctx, loop_respond_fn respond, void *arg) { krb5_error_code ret; krb5_keytab kt = NULL; kadm5_server_handle_t server_handle = (kadm5_server_handle_t)handle; ...
65,794,295,564,159,670,000,000,000,000,000,000,000
schpw.c
67,582,437,934,358,280,000,000,000,000,000,000,000
[ "CWE-20" ]
CVE-2002-2443
schpw.c in the kpasswd service in kadmind in MIT Kerberos 5 (aka krb5) before 1.11.3 does not properly validate UDP packets before sending responses, which allows remote attackers to cause a denial of service (CPU and bandwidth consumption) via a forged packet that triggers a communication loop, as demonstrated by krb_...
https://nvd.nist.gov/vuln/detail/CVE-2002-2443
36,379
linux
f54e18f1b831c92f6512d2eedb224cd63d607d3d
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f54e18f1b831c92f6512d2eedb224cd63d607d3d
isofs: Fix infinite looping over CE entries Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Corrupted isofs image can contain arbitrarily long chain of these, including a one containing loop and thus causing kernel to end in an infinite loop wh...
0
static int check_sp(struct rock_ridge *rr, struct inode *inode) { if (rr->u.SP.magic[0] != 0xbe) return -1; if (rr->u.SP.magic[1] != 0xef) return -1; ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; return 0; }
239,138,960,500,654,800,000,000,000,000,000,000,000
rock.c
282,024,907,067,004,600,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-9420
The rock_continue function in fs/isofs/rock.c in the Linux kernel through 3.18.1 does not restrict the number of Rock Ridge continuation entries, which allows local users to cause a denial of service (infinite loop, and system crash or hang) via a crafted iso9660 image.
https://nvd.nist.gov/vuln/detail/CVE-2014-9420
36,380
linux
f54e18f1b831c92f6512d2eedb224cd63d607d3d
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f54e18f1b831c92f6512d2eedb224cd63d607d3d
isofs: Fix infinite looping over CE entries Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Corrupted isofs image can contain arbitrarily long chain of these, including a one containing loop and thus causing kernel to end in an infinite loop wh...
0
static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr, char *plimit) { int slen; int rootflag; struct SL_component *oldslp; struct SL_component *slp; slen = rr->len - 5; slp = &rr->u.SL.link; while (slen > 1) { rootflag = 0; switch (slp->flags & ~1) { case 0: if (slp->len > plimit - rpnt) ...
261,647,538,931,933,840,000,000,000,000,000,000,000
rock.c
282,024,907,067,004,600,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-9420
The rock_continue function in fs/isofs/rock.c in the Linux kernel through 3.18.1 does not restrict the number of Rock Ridge continuation entries, which allows local users to cause a denial of service (infinite loop, and system crash or hang) via a crafted iso9660 image.
https://nvd.nist.gov/vuln/detail/CVE-2014-9420
36,381
linux
f54e18f1b831c92f6512d2eedb224cd63d607d3d
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f54e18f1b831c92f6512d2eedb224cd63d607d3d
isofs: Fix infinite looping over CE entries Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Corrupted isofs image can contain arbitrarily long chain of these, including a one containing loop and thus causing kernel to end in an infinite loop wh...
0
static void init_rock_state(struct rock_state *rs, struct inode *inode) { memset(rs, 0, sizeof(*rs)); rs->inode = inode; }
164,801,544,876,258,250,000,000,000,000,000,000,000
rock.c
282,024,907,067,004,600,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-9420
The rock_continue function in fs/isofs/rock.c in the Linux kernel through 3.18.1 does not restrict the number of Rock Ridge continuation entries, which allows local users to cause a denial of service (infinite loop, and system crash or hang) via a crafted iso9660 image.
https://nvd.nist.gov/vuln/detail/CVE-2014-9420
36,382
linux
f54e18f1b831c92f6512d2eedb224cd63d607d3d
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f54e18f1b831c92f6512d2eedb224cd63d607d3d
isofs: Fix infinite looping over CE entries Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Corrupted isofs image can contain arbitrarily long chain of these, including a one containing loop and thus causing kernel to end in an infinite loop wh...
0
int parse_rock_ridge_inode(struct iso_directory_record *de, struct inode *inode, int relocated) { int flags = relocated ? RR_RELOC_DE : 0; int result = parse_rock_ridge_inode_internal(de, inode, flags); /* * if rockridge flag was reset and we didn't look for attributes * behind eventual XA attributes, hav...
165,026,197,124,220,030,000,000,000,000,000,000,000
rock.c
282,024,907,067,004,600,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-9420
The rock_continue function in fs/isofs/rock.c in the Linux kernel through 3.18.1 does not restrict the number of Rock Ridge continuation entries, which allows local users to cause a denial of service (infinite loop, and system crash or hang) via a crafted iso9660 image.
https://nvd.nist.gov/vuln/detail/CVE-2014-9420
36,383
linux
f54e18f1b831c92f6512d2eedb224cd63d607d3d
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f54e18f1b831c92f6512d2eedb224cd63d607d3d
isofs: Fix infinite looping over CE entries Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Corrupted isofs image can contain arbitrarily long chain of these, including a one containing loop and thus causing kernel to end in an infinite loop wh...
0
static int rock_check_overflow(struct rock_state *rs, int sig) { int len; switch (sig) { case SIG('S', 'P'): len = sizeof(struct SU_SP_s); break; case SIG('C', 'E'): len = sizeof(struct SU_CE_s); break; case SIG('E', 'R'): len = sizeof(struct SU_ER_s); break; case SIG('R', 'R'): len = sizeof(struct...
39,659,827,220,669,290,000,000,000,000,000,000,000
rock.c
282,024,907,067,004,600,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-9420
The rock_continue function in fs/isofs/rock.c in the Linux kernel through 3.18.1 does not restrict the number of Rock Ridge continuation entries, which allows local users to cause a denial of service (infinite loop, and system crash or hang) via a crafted iso9660 image.
https://nvd.nist.gov/vuln/detail/CVE-2014-9420
36,384
linux
f54e18f1b831c92f6512d2eedb224cd63d607d3d
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f54e18f1b831c92f6512d2eedb224cd63d607d3d
isofs: Fix infinite looping over CE entries Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data. Corrupted isofs image can contain arbitrarily long chain of these, including a one containing loop and thus causing kernel to end in an infinite loop wh...
0
static int rock_ridge_symlink_readpage(struct file *file, struct page *page) { struct inode *inode = page->mapping->host; struct iso_inode_info *ei = ISOFS_I(inode); struct isofs_sb_info *sbi = ISOFS_SB(inode->i_sb); char *link = kmap(page); unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); struct buffer_head *bh...
260,986,684,282,683,000,000,000,000,000,000,000,000
rock.c
282,024,907,067,004,600,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-9420
The rock_continue function in fs/isofs/rock.c in the Linux kernel through 3.18.1 does not restrict the number of Rock Ridge continuation entries, which allows local users to cause a denial of service (infinite loop, and system crash or hang) via a crafted iso9660 image.
https://nvd.nist.gov/vuln/detail/CVE-2014-9420
36,385
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
unsigned long KSTK_ESP(struct task_struct *task) { return (test_tsk_thread_flag(task, TIF_IA32)) ? (task_pt_regs(task)->sp) : ((task)->thread.usersp); }
301,411,623,039,923,720,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,386
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
void __show_regs(struct pt_regs *regs, int all) { unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; unsigned long d0, d1, d2, d3, d6, d7; unsigned int fsindex, gsindex; unsigned int ds, cs, es; printk(KERN_DEFAULT "RIP: %04lx:[<%016lx>] ", regs->cs & 0xffff, regs->ip); printk_address(regs->...
301,790,302,953,969,000,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,387
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
int copy_thread(unsigned long clone_flags, unsigned long sp, unsigned long arg, struct task_struct *p) { int err; struct pt_regs *childregs; struct task_struct *me = current; p->thread.sp0 = (unsigned long)task_stack_page(p) + THREAD_SIZE; childregs = task_pt_regs(p); p->thread.sp = (unsigned long) childregs; ...
125,573,244,258,768,080,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,388
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
long do_arch_prctl(struct task_struct *task, int code, unsigned long addr) { int ret = 0; int doit = task == current; int cpu; switch (code) { case ARCH_SET_GS: if (addr >= TASK_SIZE_OF(task)) return -EPERM; cpu = get_cpu(); /* handle small bases via the GDT because that's faster to switch. */ if ...
337,796,702,963,629,760,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,389
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr) { struct user_desc ud = { .base_addr = addr, .limit = 0xfffff, .seg_32bit = 1, .limit_in_pages = 1, .useable = 1, }; struct desc_struct *desc = t->thread.tls_array; desc += tls; fill_ldt(desc, &ud); }
270,076,258,973,124,370,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,390
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
void set_personality_64bit(void) { /* inherit personality from parent */ /* Make sure to be in 64bit mode */ clear_thread_flag(TIF_IA32); clear_thread_flag(TIF_ADDR32); clear_thread_flag(TIF_X32); /* Ensure the corresponding mm is not marked. */ if (current->mm) current->mm->context.ia32_compat = 0; /* TBD...
87,561,036,015,298,630,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,391
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
void set_personality_ia32(bool x32) { /* inherit personality from parent */ /* Make sure to be in 32bit mode */ set_thread_flag(TIF_ADDR32); /* Mark the associated mm as containing 32-bit tasks. */ if (x32) { clear_thread_flag(TIF_IA32); set_thread_flag(TIF_X32); if (current->mm) current->mm->context.ia...
74,242,876,822,411,160,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,392
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) { start_thread_common(regs, new_ip, new_sp, __USER_CS, __USER_DS, 0); }
134,402,328,041,422,870,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,393
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
start_thread_common(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp, unsigned int _cs, unsigned int _ss, unsigned int _ds) { loadsegment(fs, 0); loadsegment(es, _ds); loadsegment(ds, _ds); load_gs_index(0); current->thread.usersp = new_sp; regs->ip = new_ip; regs->sp = new_sp; thi...
111,293,465,213,641,420,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,394
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
void start_thread_ia32(struct pt_regs *regs, u32 new_ip, u32 new_sp) { start_thread_common(regs, new_ip, new_sp, test_thread_flag(TIF_X32) ? __USER_CS : __USER32_CS, __USER_DS, __USER_DS); }
167,734,265,172,328,300,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,395
linux
f647d7c155f069c1a068030255c300663516420e
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f647d7c155f069c1a068030255c300663516420e
x86_64, switch_to(): Load TLS descriptors before switching DS and ES Otherwise, if buggy user code points DS or ES into the TLS array, they would be corrupted after a context switch. This also significantly improves the comments and documents some gotchas in the code. Before this patch, the both tests below failed. ...
0
long sys_arch_prctl(int code, unsigned long addr) { return do_arch_prctl(current, code, addr); }
273,789,152,327,244,600,000,000,000,000,000,000,000
process_64.c
183,843,207,748,752,320,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-9419
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel through 3.18.1 does not ensure that Thread Local Storage (TLS) descriptors are loaded before proceeding with other steps, which makes it easier for local users to bypass the ASLR protection mechanism via a crafted application that reads a TLS ...
https://nvd.nist.gov/vuln/detail/CVE-2014-9419
36,424
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
handle_bap(netdissect_options *ndo _U_, const u_char *p _U_, int length _U_) { /* XXX: to be supported!! */ }
310,206,552,799,633,740,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,425
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
handle_chap(netdissect_options *ndo, const u_char *p, int length) { u_int code, len; int val_size, name_size, msg_size; const u_char *p0; int i; p0 = p; if (length < 1) { ND_PRINT((ndo, "[|chap]")); return; } else if (length < 4) { ND_TCHECK(*p); ND_PRINT((ndo, "[|chap 0x%02x]", *p)); retu...
205,632,474,001,752,600,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,426
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
handle_ctrl_proto(netdissect_options *ndo, u_int proto, const u_char *pptr, int length) { const char *typestr; u_int code, len; int (*pfunc)(netdissect_options *, const u_char *, int); int x, j; const u_char *tptr; tptr=pptr; typestr = tok2str(ppptype2str, "unknown ctrl-p...
86,368,174,119,890,770,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,427
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
ppp_bsdos_if_print(netdissect_options *ndo _U_, const struct pcap_pkthdr *h _U_, register const u_char *p _U_) { register int hdrlength; #ifdef __bsdi__ register u_int length = h->len; register u_int caplen = h->caplen; uint16_t ptype; const u_char *q; int i; if (caplen < PPP_BSDI_HDRLEN) { ...
320,063,523,045,822,970,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,428
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
ppp_hdlc_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) { register u_int length = h->len; register u_int caplen = h->caplen; u_int proto; u_int hdrlen = 0; if (caplen < 2) { ND_PRINT((ndo, "[|ppp]")); return (caplen); } switch (p[0]) { case PPP_...
42,766,854,757,741,900,000,000,000,000,000,000,000
print-ppp.c
310,064,798,232,925,050,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,429
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
ppp_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) { register u_int length = h->len; register u_int caplen = h->caplen; if (caplen < PPP_HDRLEN) { ND_PRINT((ndo, "[|ppp]")); return (caplen); } #if 0 /* * XXX: seems to assume that there are 2 octets pre...
77,953,651,155,252,850,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,430
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
ppp_print(netdissect_options *ndo, register const u_char *p, u_int length) { u_int proto,ppp_header; u_int olen = length; /* _o_riginal length */ u_int hdr_len = 0; /* * Here, we assume that p points to the Address and Control * field (if they present). */ if (length < 2) goto trunc; ND_...
274,190,923,409,841,850,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,431
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
print_ccp_config_options(netdissect_options *ndo, const u_char *p, int length) { int len, opt; if (length < 2) return 0; ND_TCHECK2(*p, 2); len = p[1]; opt = p[0]; if (length < len) return 0; if (len < 2) { ND_PRINT((ndo, "\n\t %s Option (0x%02x), length %u (length bogus, should ...
239,815,532,696,494,200,000,000,000,000,000,000,000
print-ppp.c
310,064,798,232,925,050,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,432
tcpdump
0f95d441e4b5d7512cc5c326c8668a120e048eda
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/0f95d441e4b5d7512cc5c326c8668a120e048eda
Do bounds checking when unescaping PPP. Clean up a const issue while we're at it.
0
print_ip6cp_config_options(netdissect_options *ndo, const u_char *p, int length) { int len, opt; if (length < 2) return 0; ND_TCHECK2(*p, 2); len = p[1]; opt = p[0]; if (length < len) return 0; if (len < 2) { ND_PRINT((ndo, "\n\t %s Option (0x%02x), length %u (length bogus, sho...
117,535,335,028,923,060,000,000,000,000,000,000,000
print-ppp.c
59,187,760,187,939,720,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-9140
Buffer overflow in the ppp_hdlc function in print-ppp.c in tcpdump 4.6.2 and earlier allows remote attackers to cause a denial of service (crash) cia a crafted PPP packet.
https://nvd.nist.gov/vuln/detail/CVE-2014-9140
36,433
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
struct dvb_frontend* ttusbdecfe_dvbs_attach(const struct ttusbdecfe_config* config) { struct ttusbdecfe_state* state = NULL; /* allocate memory for the internal state */ state = kmalloc(sizeof(struct ttusbdecfe_state), GFP_KERNEL); if (state == NULL) return NULL; /* setup the state */ state->config = config; ...
208,331,396,039,556,100,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,434
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbs_read_status(struct dvb_frontend *fe, fe_status_t *status) { *status = FE_HAS_SIGNAL | FE_HAS_VITERBI | FE_HAS_SYNC | FE_HAS_CARRIER | FE_HAS_LOCK; return 0; }
58,977,633,693,214,630,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,435
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbs_set_frontend(struct dvb_frontend *fe) { struct dtv_frontend_properties *p = &fe->dtv_property_cache; struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; u8 b[] = { 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x...
187,091,163,751,735,230,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,436
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbs_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) { struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; state->hi_band = (SEC_TONE_ON == tone); return 0; }
310,005,372,890,801,640,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,437
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbs_set_voltage(struct dvb_frontend* fe, fe_sec_voltage_t voltage) { struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; switch (voltage) { case SEC_VOLTAGE_13: state->voltage = 13; break; case SEC_VOLTAGE_18: state->voltage = 18; break; default: retu...
144,686,212,186,335,600,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,438
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
struct dvb_frontend* ttusbdecfe_dvbt_attach(const struct ttusbdecfe_config* config) { struct ttusbdecfe_state* state = NULL; /* allocate memory for the internal state */ state = kmalloc(sizeof(struct ttusbdecfe_state), GFP_KERNEL); if (state == NULL) return NULL; /* setup the state */ state->config = config; ...
276,301,214,133,668,600,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,439
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbt_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) { fesettings->min_delay_ms = 1500; /* Drift compensation makes no sense for DVB-T */ fesettings->step_size = 0; fesettings->max_drift = 0; return 0; }
320,950,559,238,739,470,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,440
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbt_read_status(struct dvb_frontend *fe, fe_status_t *status) { struct ttusbdecfe_state* state = fe->demodulator_priv; u8 b[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; u8 result[4]; int len, ret; *status=0; ret=state->config->send_command(fe, 0x73, sizeof(b), b, &len, re...
321,005,636,457,056,150,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,441
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static int ttusbdecfe_dvbt_set_frontend(struct dvb_frontend *fe) { struct dtv_frontend_properties *p = &fe->dtv_property_cache; struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; u8 b[] = { 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x0...
338,806,825,871,163,000,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,442
linux
f2e323ec96077642d397bb1c355def536d489d16
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f2e323ec96077642d397bb1c355def536d489d16
[media] ttusb-dec: buffer overflow in ioctl We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
0
static void ttusbdecfe_release(struct dvb_frontend* fe) { struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; kfree(state); }
155,700,215,985,779,650,000,000,000,000,000,000,000
ttusbdecfe.c
218,785,497,703,789,900,000,000,000,000,000,000,000
[ "CWE-119" ]
CVE-2014-8884
Stack-based buffer overflow in the ttusbdecfe_dvbs_diseqc_send_master_cmd function in drivers/media/usb/ttusb-dec/ttusbdecfe.c in the Linux kernel before 3.17.4 allows local users to cause a denial of service (system crash) or possibly gain privileges via a large message length in an ioctl call.
https://nvd.nist.gov/vuln/detail/CVE-2014-8884
36,443
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static void __ieee80211_beacon_add_tim(struct ieee80211_sub_if_data *sdata, struct ps_data *ps, struct sk_buff *skb) { u8 *pos, *tim; int aid0 = 0; int i, have_bits = 0, n1, n2; /* Generate bitmap for TIM only if there are any STAs in power save * mode. */ if (atomic_read(&ps->num_sta_ps) > 0) /* i...
83,454,664,506,105,560,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,444
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static bool __ieee80211_tx(struct ieee80211_local *local, struct sk_buff_head *skbs, int led_len, struct sta_info *sta, bool txpending) { struct ieee80211_tx_info *info; struct ieee80211_sub_if_data *sdata; struct ieee80211_vif *vif; struct ieee80211_sta *pubsta; struct sk_buff *skb; bool result = tru...
165,172,775,896,649,350,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,445
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
void __ieee80211_tx_skb_tid_band(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, int tid, enum ieee80211_band band) { int ac = ieee802_1d_to_ac[tid & 7]; skb_set_mac_header(skb, 0); skb_set_network_header(skb, 0); skb_set_transport_header(skb, 0); skb_set_queue_mapping(skb, ac); skb->priorit...
196,517,159,315,695,730,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,446
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static int ieee80211_beacon_add_tim(struct ieee80211_sub_if_data *sdata, struct ps_data *ps, struct sk_buff *skb) { struct ieee80211_local *local = sdata->local; /* * Not very nice, but we want to allow the driver to call * ieee80211_beacon_get() as a response to the set_tim() * callback. That, however...
118,465,706,006,208,800,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,447
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 *tim_offset, u16 *tim_length) { struct ieee80211_local *local = hw_to_local(hw); struct sk_buff *skb = NULL; struct ieee80211_tx_info *info; struct ieee80211_sub_if_data *sdata = NULL; enum ieee80211_band b...
257,189,615,193,108,600,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,448
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
void ieee80211_clear_tx_pending(struct ieee80211_local *local) { struct sk_buff *skb; int i; for (i = 0; i < local->hw.queues; i++) { while ((skb = skb_dequeue(&local->pending[i])) != NULL) ieee80211_free_txskb(&local->hw, skb); } }
24,749,890,135,594,880,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,449
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
void ieee80211_csa_finish(struct ieee80211_vif *vif) { struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); ieee80211_queue_work(&sdata->local->hw, &sdata->csa_finalize_work); }
112,306,418,937,292,730,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,450
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
bool ieee80211_csa_is_complete(struct ieee80211_vif *vif) { struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); struct beacon_data *beacon = NULL; u8 *beacon_data; size_t beacon_data_len; int counter_beacon = sdata->csa_counter_offset_beacon; int ret = false; if (!ieee80211_sdata_running(sdata)) return f...
82,266,280,925,175,900,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,451
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, struct sk_buff *skb, int group_addr, int next_frag_len) { int rate, mrate, erp, dur, i, shift = 0; struct ieee80211_rate *txrate; struct ieee80211_local *local = tx->local; struct ieee80211_supported_band *sband; struct ieee80211_hdr *hdr; s...
309,328,237,907,511,640,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,452
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_get_buffered_bc(struct ieee80211_hw *hw, struct ieee80211_vif *vif) { struct ieee80211_local *local = hw_to_local(hw); struct sk_buff *skb = NULL; struct ieee80211_tx_data tx; struct ieee80211_sub_if_data *sdata; struct ps_data *ps; struct ieee80211_tx_info *info; struct ieee80211_chanctx_conf *ch...
283,588,475,600,777,760,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,453
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
netdev_tx_t ieee80211_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); struct ieee80211_chanctx_conf *chanctx_conf; struct ieee80211_channel *chan; struct ieee80211_radiotap_header *prthdr = (struct ieee80211_radiotap_header *)s...
28,365,340,028,253,710,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,454
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) { struct ieee80211_hdr_3addr *nullfunc; struct ieee80211_sub_if_data *sdata; struct ieee80211_if_managed *ifmgd; struct ieee80211_local *local; struct sk_buff *skb; if (WARN_ON(vif->type != NL80211_IFTYPE_STATIO...
331,824,590,080,485,500,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,455
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
struct sk_buff *ieee80211_proberesp_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) { struct ieee80211_if_ap *ap = NULL; struct sk_buff *skb = NULL; struct probe_resp *presp = NULL; struct ieee80211_hdr *hdr; struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); if (sdata->vif.type != NL80211_IFT...
104,663,330,940,417,020,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,456
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
struct sk_buff *ieee80211_pspoll_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) { struct ieee80211_sub_if_data *sdata; struct ieee80211_if_managed *ifmgd; struct ieee80211_pspoll *pspoll; struct ieee80211_local *local; struct sk_buff *skb; if (WARN_ON(vif->type != NL80211_IFTYPE_STATION)) ret...
191,776,665,070,504,600,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,457
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
void ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_rts *rts) { const struct ieee80211_hdr *hdr = frame; rts->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | IEE...
47,135,242,265,042,440,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,458
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); struct ieee80211_local *local = sdata->local; struct ieee80211_tx_info *info; int head_need; u16 ethertype, hdrlen, meshhdrlen = 0; __le16 fc; struct ...
139,538,361,087,330,360,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,459
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static bool ieee80211_tx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool txpending, enum ieee80211_band band) { struct ieee80211_local *local = sdata->local; struct ieee80211_tx_data tx; ieee80211_tx_result res_prepare; struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); bool result = tr...
36,438,688,891,298,950,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,460
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static bool ieee80211_tx_frags(struct ieee80211_local *local, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct sk_buff_head *skbs, bool txpending) { struct ieee80211_tx_control control; struct sk_buff *skb, *tmp; unsigned long flags; skb_queue_walk_safe(skbs, skb...
121,757,041,743,434,680,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,461
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_calculate_duration(struct ieee80211_tx_data *tx) { struct sk_buff *skb; struct ieee80211_hdr *hdr; int next_len; bool group_addr; skb_queue_walk(&tx->skbs, skb) { hdr = (void *) skb->data; if (unlikely(ieee80211_is_pspoll(hdr->frame_control))) break; /* must not overwrite AID */ if (!skb_q...
228,496,482,474,207,600,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,462
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx) { struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); bool assoc = false; if (unlikely(info->flags & IEEE80211_TX_CTL_INJECTED)) return TX_CONTINUE; if (unlikely(test_bit(SCAN_SW...
73,297,339,764,559,780,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,463
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_check_control_port_protocol(struct ieee80211_tx_data *tx) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); if (unlikely(tx->sdata->control_port_protocol == tx->skb->protocol)) { if (tx->sdata->control_port_no_encrypt) info->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT; info->control.fl...
262,947,044,876,425,040,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,464
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx) { struct ieee80211_local *local = tx->local; struct ieee80211_if_managed *ifmgd; /* driver doesn't support power save */ if (!(local->hw.flags & IEEE80211_HW_SUPPORTS_PS)) return TX_CONTINUE; /* hardware does dynamic power save */ if (local->hw.flags & I...
301,468,449,825,511,000,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,465
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_encrypt(struct ieee80211_tx_data *tx) { if (!tx->key) return TX_CONTINUE; switch (tx->key->conf.cipher) { case WLAN_CIPHER_SUITE_WEP40: case WLAN_CIPHER_SUITE_WEP104: return ieee80211_crypto_wep_encrypt(tx); case WLAN_CIPHER_SUITE_TKIP: return ieee80211_crypto_tkip_encrypt(tx); case WLAN_CIP...
162,504,309,621,983,750,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,466
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_fragment(struct ieee80211_tx_data *tx) { struct sk_buff *skb = tx->skb; struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct ieee80211_hdr *hdr = (void *)skb->data; int frag_threshold = tx->local->hw.wiphy->frag_threshold; int hdrlen; int fragnum; /* no matter what happens, tx->skb move...
122,333,341,104,729,300,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,467
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_multicast_ps_buf(struct ieee80211_tx_data *tx) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; struct ps_data *ps; /* * broadcast/multicast frame * * If any of the associated/peer stations is in power save mode, ...
87,942,064,988,486,500,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,468
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_ps_buf(struct ieee80211_tx_data *tx) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; if (unlikely(tx->flags & IEEE80211_TX_PS_BUFFERED)) return TX_CONTINUE; /* only deauth, disassoc and action are bufferable MMPDUs *...
32,040,253,722,774,154,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,469
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); struct ieee80211_hdr *hdr = (void *)tx->skb->data; struct ieee80211_supported_band *sband; u32 len; struct ieee80211_tx_rate_control txrc; struct ieee80211_sta_rates *ratetbl = NULL; bool assoc = ...
156,190,015,005,681,360,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,470
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx) { struct ieee80211_key *key; struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; if (unlikely(info->flags & IEEE80211_TX_INTFL_DONT_ENCRYPT)) tx->key = NULL; else if (tx->sta && ...
299,236,941,419,622,400,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,471
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; u16 *seq; u8 *qc; int tid; /* * Packet injection may want to control the sequence * number, if we have no matching interface t...
245,548,940,424,932,400,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,472
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_h_stats(struct ieee80211_tx_data *tx) { struct sk_buff *skb; int ac = -1; if (!tx->sta) return TX_CONTINUE; skb_queue_walk(&tx->skbs, skb) { ac = skb_get_queue_mapping(skb); tx->sta->tx_fragments++; tx->sta->tx_bytes[ac] += skb->len; } if (ac >= 0) tx->sta->tx_packets[ac]++; return TX_C...
173,850,775,583,433,160,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,473
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static void ieee80211_tx_latency_start_msrmnt(struct ieee80211_local *local, struct sk_buff *skb) { struct timespec skb_arv; struct ieee80211_tx_latency_bin_ranges *tx_latency; tx_latency = rcu_dereference(local->tx_latency); if (!tx_latency) return; ktime_get_ts(&skb_arv); skb->tstamp = ktime_set(...
184,288,418,381,905,930,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,474
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
void ieee80211_tx_pending(unsigned long data) { struct ieee80211_local *local = (struct ieee80211_local *)data; unsigned long flags; int i; bool txok; rcu_read_lock(); spin_lock_irqsave(&local->queue_stop_reason_lock, flags); for (i = 0; i < local->hw.queues; i++) { /* * If queue is stopped by something o...
263,561,621,527,564,900,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,475
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static bool ieee80211_tx_pending_skb(struct ieee80211_local *local, struct sk_buff *skb) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct ieee80211_sub_if_data *sdata; struct sta_info *sta; struct ieee80211_hdr *hdr; bool result; struct ieee80211_chanctx_conf *chanctx_conf; sdata = vif_...
174,345,415,818,375,700,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,476
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static bool ieee80211_tx_prep_agg(struct ieee80211_tx_data *tx, struct sk_buff *skb, struct ieee80211_tx_info *info, struct tid_ampdu_tx *tid_tx, int tid) { bool queued = false; bool reset_agg_timer = false; struct sk_buff *purge_skb = NULL; if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->s...
269,670,686,829,477,930,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,477
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata, struct ieee80211_tx_data *tx, struct sk_buff *skb) { struct ieee80211_local *local = sdata->local; struct ieee80211_hdr *hdr; struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); int tid; u8 *qc; memset(tx, 0, sizeof(*tx)); tx->skb = skb...
332,507,626,132,628,400,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,478
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
bool ieee80211_tx_prepare_skb(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct sk_buff *skb, int band, struct ieee80211_sta **sta) { struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct ieee80211_tx_data tx; if (ieee8021...
197,302,583,938,698,160,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,479
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, enum ieee80211_band band) { struct ieee80211_local *local = sdata->local; struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data; int headroom; bool may_encrypt; may...
47,301,504,087,635,480,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,480
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static int invoke_tx_handlers(struct ieee80211_tx_data *tx) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); ieee80211_tx_result res = TX_DROP; #define CALL_TXH(txh) \ do { \ res = txh(tx); \ if (res != TX_CONTINUE) \ goto txh_done; \ } while (0) CALL_TXH(ieee80211_tx_h_dynamic_ps); CALL...
192,220,156,649,146,050,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,481
linux
338f977f4eb441e69bb9a46eaa0ac715c931a67f
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/338f977f4eb441e69bb9a46eaa0ac715c931a67f
mac80211: fix fragmentation code, particularly for encryption The "new" fragmentation code (since my rewrite almost 5 years ago) erroneously sets skb->len rather than using skb_trim() to adjust the length of the first fragment after copying out all the others. This leaves the skb tail pointer pointing to after where t...
0
static void purge_old_ps_buffers(struct ieee80211_local *local) { int total = 0, purged = 0; struct sk_buff *skb; struct ieee80211_sub_if_data *sdata; struct sta_info *sta; list_for_each_entry_rcu(sdata, &local->interfaces, list) { struct ps_data *ps; if (sdata->vif.type == NL80211_IFTYPE_AP) ps = &sdata-...
159,504,443,300,410,980,000,000,000,000,000,000,000
tx.c
290,987,740,570,977,330,000,000,000,000,000,000,000
[ "CWE-200" ]
CVE-2014-8709
The ieee80211_fragment function in net/mac80211/tx.c in the Linux kernel before 3.13.5 does not properly maintain a certain tail pointer, which allows remote attackers to obtain sensitive cleartext information by reading packets.
https://nvd.nist.gov/vuln/detail/CVE-2014-8709
36,581
linux
a430c9166312e1aa3d80bce32374233bdbfeba32
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/a430c9166312e1aa3d80bce32374233bdbfeba32
KVM: emulate: avoid accessing NULL ctxt->memopp A failure to decode the instruction can cause a NULL pointer access. This is fixed simply by moving the "done" label as close as possible to the return. This fixes CVE-2014-8481. Reported-by: Andy Lutomirski <luto@amacapital.net> Cc: stable@vger.kernel.org Fixes: 41061...
0
int x86_emulate_insn(struct x86_emulate_ctxt *ctxt) { const struct x86_emulate_ops *ops = ctxt->ops; int rc = X86EMUL_CONTINUE; int saved_dst_type = ctxt->dst.type; ctxt->mem_read.pos = 0; /* LOCK prefix is allowed only with some instructions */ if (ctxt->lock_prefix && (!(ctxt->d & Lock) || ctxt->dst.type != O...
270,559,939,878,280,650,000,000,000,000,000,000,000
emulate.c
41,982,683,681,104,486,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8481
The instruction decoder in arch/x86/kvm/emulate.c in the KVM subsystem in the Linux kernel before 3.18-rc2 does not properly handle invalid instructions, which allows guest OS users to cause a denial of service (NULL pointer dereference and host OS crash) via a crafted application that triggers (1) an improperly fetche...
https://nvd.nist.gov/vuln/detail/CVE-2014-8481
36,598
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_badseek(struct magic_set *ms) { file_error(ms, errno, "error seeking"); }
295,401,510,385,130,300,000,000,000,000,000,000,000
funcs.c
157,823,946,646,046,020,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,599
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_buffer(struct magic_set *ms, int fd, const char *inname __attribute__ ((unused)), const void *buf, size_t nb) { int m = 0, rv = 0, looks_text = 0; int mime = ms->flags & MAGIC_MIME; const unsigned char *ubuf = CAST(const unsigned char *, buf); unichar *u8buf = NULL; size_t ulen; const char *code = NULL; ...
314,036,361,407,864,170,000,000,000,000,000,000,000
None
null
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,600
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_error(struct magic_set *ms, int error, const char *f, ...) { va_list va; va_start(va, f); file_error_core(ms, error, f, va, 0); va_end(va); }
170,680,918,129,289,370,000,000,000,000,000,000,000
funcs.c
157,823,946,646,046,020,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,601
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_error_core(struct magic_set *ms, int error, const char *f, va_list va, size_t lineno) { /* Only the first error is ok */ if (ms->event_flags & EVENT_HAD_ERR) return; if (lineno != 0) { free(ms->o.buf); ms->o.buf = NULL; file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno); } file_vprintf(ms, f, v...
338,716,843,755,691,050,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,602
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_getbuffer(struct magic_set *ms) { char *pbuf, *op, *np; size_t psize, len; if (ms->event_flags & EVENT_HAD_ERR) return NULL; if (ms->flags & MAGIC_RAW) return ms->o.buf; if (ms->o.buf == NULL) return NULL; /* * 4 is for octal representation, + 1 is for NUL */ len = strlen(ms->o.buf); if (len > (S...
35,263,019,879,109,100,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,603
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_magerror(struct magic_set *ms, const char *f, ...) { va_list va; va_start(va, f); file_error_core(ms, 0, f, va, ms->line); va_end(va); }
97,943,366,280,002,620,000,000,000,000,000,000,000
funcs.c
157,823,946,646,046,020,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,604
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_oomem(struct magic_set *ms, size_t len) { file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", len); }
36,766,923,764,354,497,000,000,000,000,000,000,000
funcs.c
157,823,946,646,046,020,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,605
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_printedlen(const struct magic_set *ms) { return ms->o.buf == NULL ? 0 : strlen(ms->o.buf); }
163,624,314,817,719,100,000,000,000,000,000,000,000
funcs.c
157,823,946,646,046,020,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,606
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_printf(struct magic_set *ms, const char *fmt, ...) { int rv; va_list ap; va_start(ap, fmt); rv = file_vprintf(ms, fmt, ap); va_end(ap); return rv; }
289,210,248,316,709,230,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,607
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_regerror(file_regex_t *rx, int rc, struct magic_set *ms) { char errmsg[512]; (void)regerror(rc, &rx->rx, errmsg, sizeof(errmsg)); file_magerror(ms, "regex error %d for `%s', (%s)", rc, rx->pat, errmsg); }
104,762,581,127,206,850,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,608
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_regexec(file_regex_t *rx, const char *str, size_t nmatch, regmatch_t* pmatch, int eflags) { assert(rx->rc == 0); return regexec(&rx->rx, str, nmatch, pmatch, eflags); }
284,186,237,600,431,570,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,609
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_regfree(file_regex_t *rx) { if (rx->rc == 0) regfree(&rx->rx); #ifdef USE_C_LOCALE (void)uselocale(rx->old_lc_ctype); freelocale(rx->c_lc_ctype); #endif }
237,447,602,188,360,600,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,610
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_reset(struct magic_set *ms) { if (ms->mlist[0] == NULL) { file_error(ms, 0, "no magic files loaded"); return -1; } if (ms->o.buf) { free(ms->o.buf); ms->o.buf = NULL; } if (ms->o.pbuf) { free(ms->o.pbuf); ms->o.pbuf = NULL; } ms->event_flags &= ~EVENT_HAD_ERR; ms->error = -1; return 0; }
79,514,234,258,381,050,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,611
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_vprintf(struct magic_set *ms, const char *fmt, va_list ap) { int len; char *buf, *newstr; if (ms->event_flags & EVENT_HAD_ERR) return 0; len = vasprintf(&buf, fmt, ap); if (len < 0) goto out; if (ms->o.buf != NULL) { len = asprintf(&newstr, "%s%s", ms->o.buf, buf); free(buf); if (len < 0) goto...
287,020,854,480,496,670,000,000,000,000,000,000,000
funcs.c
247,884,554,659,100,300,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,612
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
check_fmt(struct magic_set *ms, struct magic *m) { file_regex_t rx; int rc, rv = -1; if (strchr(m->desc, '%') == NULL) return 0; rc = file_regcomp(&rx, "%[-0-9\\.]*s", REG_EXTENDED|REG_NOSUB); if (rc) { file_regerror(&rx, rc, ms); } else { rc = file_regexec(&rx, m->desc, 0, 0, 0); rv = !rc; } file_reg...
4,664,674,248,691,342,500,000,000,000,000,000,000
softmagic.c
176,551,318,546,496,700,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,613
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_softmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, size_t level, 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, mod...
292,814,391,849,009,000,000,000,000,000,000,000,000
softmagic.c
176,551,318,546,496,700,000,000,000,000,000,000,000
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,614
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) { /* * Convert the source args to unsigned here so that (1) the * compare will be unsigned as it is in strncmp() and (2) so * the ctype functions will work correctly without extra * casting. */ const unsigned char *a = (const unsigned ...
287,132,924,287,608,360,000,000,000,000,000,000,000
None
null
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,615
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
file_strncmp16(const char *a, const char *b, size_t len, uint32_t flags) { /* * XXX - The 16-bit string compare probably needs to be done * differently, especially if the flags are to be supported. * At the moment, I am unsure. */ flags = 0; return file_strncmp(a, b, len, flags); }
191,655,457,876,982,840,000,000,000,000,000,000,000
None
null
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117
36,616
file
6f737ddfadb596d7d4a993f7ed2141ffd664a81c
https://github.com/file/file
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- reduce recursion level from 20 to 10 and make a symbolic constant for it. - pull out the guts of saving and restoring the output buffer into functions and take care not to overwrite the error message if an error happened.
0
handle_annotation(struct magic_set *ms, struct magic *m) { if (ms->flags & MAGIC_APPLE) { if (file_printf(ms, "%.8s", m->apple) == -1) return -1; return 1; } if ((ms->flags & MAGIC_MIME_TYPE) && m->mimetype[0]) { if (file_printf(ms, "%s", m->mimetype) == -1) return -1; return 1; } return 0; }
170,461,906,153,375,850,000,000,000,000,000,000,000
None
null
[ "CWE-399" ]
CVE-2014-8117
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
https://nvd.nist.gov/vuln/detail/CVE-2014-8117