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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33,263 | linux | 604c499cbbcc3d5fe5fb8d53306aa0fae1990109 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109 | xen/blkback: Check device permissions before allowing OP_DISCARD
We need to make sure that the device is not RO or that
the request is not past the number of sectors we want to
issue the DISCARD operation for.
This fixes CVE-2013-2140.
Cc: stable@vger.kernel.org
Acked-by: Jan Beulich <JBeulich@suse.com>
Acked-by: Ia... | 0 | static int xen_vbd_translate(struct phys_req *req, struct xen_blkif *blkif,
int operation)
{
struct xen_vbd *vbd = &blkif->vbd;
int rc = -EACCES;
if ((operation != READ) && vbd->readonly)
goto out;
if (likely(req->nr_sects)) {
blkif_sector_t end = req->sector_number + req->nr_sects;
if (unlikely(en... | 247,473,088,775,990,280,000,000,000,000,000,000,000 | None | null | [
"CWE-20"
] | CVE-2013-2140 | The dispatch_discard_io function in drivers/block/xen-blkback/blkback.c in the Xen blkback implementation in the Linux kernel before 3.10.5 allows guest OS users to cause a denial of service (data loss) via filesystem write operations on a read-only disk that supports the (1) BLKIF_OP_DISCARD (aka discard or TRIM) or (... | https://nvd.nist.gov/vuln/detail/CVE-2013-2140 |
33,264 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | __tcp_alloc_md5sig_pool(struct sock *sk)
{
int cpu;
struct tcp_md5sig_pool * __percpu *pool;
pool = alloc_percpu(struct tcp_md5sig_pool *);
if (!pool)
return NULL;
for_each_possible_cpu(cpu) {
struct tcp_md5sig_pool *p;
struct crypto_hash *hash;
p = kzalloc(sizeof(*p), sk->sk_allocation);
if (!p)
g... | 212,033,081,205,950,800,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,265 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | struct tcp_md5sig_pool *__tcp_get_md5sig_pool(int cpu)
{
struct tcp_md5sig_pool * __percpu *p;
spin_lock_bh(&tcp_md5sig_pool_lock);
p = tcp_md5sig_pool;
if (p)
tcp_md5sig_users++;
spin_unlock_bh(&tcp_md5sig_pool_lock);
return (p ? *per_cpu_ptr(p, cpu) : NULL);
}
| 338,231,359,634,710,750,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,266 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void __tcp_put_md5sig_pool(void)
{
tcp_free_md5sig_pool();
}
| 251,223,448,193,119,400,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,267 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss)
{
/* Store TCP splice context information in read_descriptor_t. */
read_descriptor_t rd_desc = {
.arg.data = tss,
.count = tss->len,
};
return tcp_read_sock(sk, &rd_desc, tcp_splice_data_recv);
}
| 305,585,984,085,488,740,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,268 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int compat_tcp_getsockopt(struct sock *sk, int level, int optname,
char __user *optval, int __user *optlen)
{
if (level != SOL_TCP)
return inet_csk_compat_getsockopt(sk, level, optname,
optval, optlen);
return do_tcp_getsockopt(sk, level, optname, optval, optlen);
}
| 37,595,227,594,323,597,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,269 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int compat_tcp_setsockopt(struct sock *sk, int level, int optname,
char __user *optval, unsigned int optlen)
{
if (level != SOL_TCP)
return inet_csk_compat_setsockopt(sk, level, optname,
optval, optlen);
return do_tcp_setsockopt(sk, level, optname, optval, optlen);
}
| 119,821,195,314,901,100,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,270 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int do_tcp_setsockopt(struct sock *sk, int level,
int optname, char __user *optval, unsigned int optlen)
{
struct tcp_sock *tp = tcp_sk(sk);
struct inet_connection_sock *icsk = inet_csk(sk);
int val;
int err = 0;
/* These are data/string values, all the others are ints */
switch (optname) {
case TCP_CO... | 39,048,669,312,469,140,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,271 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int retrans_to_secs(u8 retrans, int timeout, int rto_max)
{
int period = 0;
if (retrans > 0) {
period = timeout;
while (--retrans) {
timeout <<= 1;
if (timeout > rto_max)
timeout = rto_max;
period += timeout;
}
}
return period;
}
| 8,576,372,379,484,421,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,272 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static u8 secs_to_retrans(int seconds, int timeout, int rto_max)
{
u8 res = 0;
if (seconds > 0) {
int period = timeout;
res = 1;
while (seconds > period && res < 255) {
res++;
timeout <<= 1;
if (timeout > rto_max)
timeout = rto_max;
period += timeout;
}
}
return res;
}
| 298,305,497,142,811,970,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,273 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline int select_size(struct sock *sk, int sg)
{
struct tcp_sock *tp = tcp_sk(sk);
int tmp = tp->mss_cache;
if (sg) {
if (sk_can_gso(sk))
tmp = 0;
else {
int pgbreak = SKB_MAX_HEAD(MAX_TCP_HEADER);
if (tmp >= pgbreak &&
tmp <= pgbreak + (MAX_SKB_FRAGS - 1) * PAGE_SIZE)
tmp = pgbreak... | 126,553,255,000,384,610,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,274 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int __init set_thash_entries(char *str)
{
if (!str)
return 0;
thash_entries = simple_strtoul(str, &str, 0);
return 1;
}
| 97,390,253,377,636,100,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,275 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline void skb_entail(struct sock *sk, struct sk_buff *skb)
{
struct tcp_sock *tp = tcp_sk(sk);
struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
skb->csum = 0;
tcb->seq = tcb->end_seq = tp->write_seq;
tcb->flags = TCPCB_FLAG_ACK;
tcb->sacked = 0;
skb_header_release(skb);
tcp_add_write_queue_tail(sk,... | 93,504,969,991,914,280,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,276 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_cleanup_rbuf(struct sock *sk, int copied)
{
struct tcp_sock *tp = tcp_sk(sk);
int time_to_ack = 0;
#if TCP_DEBUG
struct sk_buff *skb = skb_peek(&sk->sk_receive_queue);
WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq),
KERN_INFO "cleanup rbuf bug: copied %X seq %X rcvnxt %X\n",
tp... | 279,907,318,777,089,530,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,277 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_cookie_generator(u32 *bakery)
{
unsigned long jiffy = jiffies;
if (unlikely(time_after_eq(jiffy, tcp_secret_generating->expires))) {
spin_lock_bh(&tcp_secret_locker);
if (!time_after_eq(jiffy, tcp_secret_generating->expires)) {
/* refreshed by another */
memcpy(bakery,
&tcp_secret_generat... | 92,200,528,492,814,110,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,278 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline u32 tcp_cookie_work(const u32 *ws, const int n)
{
return ws[COOKIE_DIGEST_WORDS + ((COOKIE_MESSAGE_WORDS-1) & ws[n])];
}
| 236,090,044,135,303,120,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,279 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_done(struct sock *sk)
{
if (sk->sk_state == TCP_SYN_SENT || sk->sk_state == TCP_SYN_RECV)
TCP_INC_STATS_BH(sock_net(sk), TCP_MIB_ATTEMPTFAILS);
tcp_set_state(sk, TCP_CLOSE);
tcp_clear_xmit_timers(sk);
sk->sk_shutdown = SHUTDOWN_MASK;
if (!sock_flag(sk, SOCK_DEAD))
sk->sk_state_change(sk);
else
i... | 190,316,436,372,119,000,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,280 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_enter_memory_pressure(struct sock *sk)
{
if (!tcp_memory_pressure) {
NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMEMORYPRESSURES);
tcp_memory_pressure = 1;
}
}
| 44,491,995,351,759,380,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,281 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_free_md5sig_pool(void)
{
struct tcp_md5sig_pool * __percpu *pool = NULL;
spin_lock_bh(&tcp_md5sig_pool_lock);
if (--tcp_md5sig_users == 0) {
pool = tcp_md5sig_pool;
tcp_md5sig_pool = NULL;
}
spin_unlock_bh(&tcp_md5sig_pool_lock);
if (pool)
__tcp_free_md5sig_pool(pool);
}
| 123,981,842,198,052,740,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,282 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_get_info(struct sock *sk, struct tcp_info *info)
{
struct tcp_sock *tp = tcp_sk(sk);
const struct inet_connection_sock *icsk = inet_csk(sk);
u32 now = tcp_time_stamp;
memset(info, 0, sizeof(*info));
info->tcpi_state = sk->sk_state;
info->tcpi_ca_state = icsk->icsk_ca_state;
info->tcpi_retransmits = ic... | 208,707,801,629,501,300,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,283 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_getsockopt(struct sock *sk, int level, int optname, char __user *optval,
int __user *optlen)
{
struct inet_connection_sock *icsk = inet_csk(sk);
if (level != SOL_TCP)
return icsk->icsk_af_ops->getsockopt(sk, level, optname,
optval, optlen);
return do_tcp_getsockopt(sk, level, optname, optv... | 290,401,384,017,797,570,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,284 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_gro_complete(struct sk_buff *skb)
{
struct tcphdr *th = tcp_hdr(skb);
skb->csum_start = skb_transport_header(skb) - skb->head;
skb->csum_offset = offsetof(struct tcphdr, check);
skb->ip_summed = CHECKSUM_PARTIAL;
skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count;
if (th->cwr)
skb_shinfo(skb)->gso_t... | 150,785,987,530,733,610,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,285 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb)
{
struct sk_buff **pp = NULL;
struct sk_buff *p;
struct tcphdr *th;
struct tcphdr *th2;
unsigned int len;
unsigned int thlen;
unsigned int flags;
unsigned int mss = 1;
unsigned int hlen;
unsigned int off;
int flush = 1;
int i;
of... | 20,093,388,866,313,294,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,286 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void __init tcp_init(void)
{
struct sk_buff *skb = NULL;
unsigned long nr_pages, limit;
int order, i, max_share;
unsigned long jiffy = jiffies;
BUILD_BUG_ON(sizeof(struct tcp_skb_cb) > sizeof(skb->cb));
percpu_counter_init(&tcp_sockets_allocated, 0);
percpu_counter_init(&tcp_orphan_count, 0);
tcp_hashinfo.bin... | 261,109,204,908,436,800,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,287 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
{
struct tcp_sock *tp = tcp_sk(sk);
int answ;
switch (cmd) {
case SIOCINQ:
if (sk->sk_state == TCP_LISTEN)
return -EINVAL;
lock_sock(sk);
if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV))
answ = 0;
else if (sock_flag(sk, SOCK_URGINL... | 71,348,233,245,966,650,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,288 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline void tcp_mark_push(struct tcp_sock *tp, struct sk_buff *skb)
{
TCP_SKB_CB(skb)->flags |= TCPCB_FLAG_PSH;
tp->pushed_seq = tp->write_seq;
}
| 80,200,758,480,086,770,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,289 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline void tcp_mark_urg(struct tcp_sock *tp, int flags)
{
if (flags & MSG_OOB)
tp->snd_up = tp->write_seq;
}
| 283,418,183,045,849,900,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,290 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_md5_hash_header(struct tcp_md5sig_pool *hp,
struct tcphdr *th)
{
struct scatterlist sg;
int err;
__sum16 old_checksum = th->check;
th->check = 0;
/* options aren't included in the hash */
sg_init_one(&sg, th, sizeof(struct tcphdr));
err = crypto_hash_update(&hp->md5_desc, &sg, sizeof(struct tcphdr));... | 103,506,397,930,038,000,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,291 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_md5_hash_key(struct tcp_md5sig_pool *hp, struct tcp_md5sig_key *key)
{
struct scatterlist sg;
sg_init_one(&sg, key->key, key->keylen);
return crypto_hash_update(&hp->md5_desc, &sg, key->keylen);
}
| 228,086,537,227,304,200,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,292 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *hp,
struct sk_buff *skb, unsigned header_len)
{
struct scatterlist sg;
const struct tcphdr *tp = tcp_hdr(skb);
struct hash_desc *desc = &hp->md5_desc;
unsigned i;
const unsigned head_data_len = skb_headlen(skb) > header_len ?
skb_headlen(skb) - head... | 48,759,479,235,938,470,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,293 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline int tcp_need_reset(int state)
{
return (1 << state) &
(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT | TCPF_FIN_WAIT1 |
TCPF_FIN_WAIT2 | TCPF_SYN_RECV);
}
| 198,104,735,590,337,900,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,294 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static void tcp_prequeue_process(struct sock *sk)
{
struct sk_buff *skb;
struct tcp_sock *tp = tcp_sk(sk);
NET_INC_STATS_USER(sock_net(sk), LINUX_MIB_TCPPREQUEUED);
/* RX process wants to run with disabled BHs, though it is not
* necessary */
local_bh_disable();
while ((skb = __skb_dequeue(&tp->ucopy.prequeue... | 101,841,262,262,067,900,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,295 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static inline void tcp_push(struct sock *sk, int flags, int mss_now,
int nonagle)
{
if (tcp_send_head(sk)) {
struct tcp_sock *tp = tcp_sk(sk);
if (!(flags & MSG_MORE) || forced_push(tp))
tcp_mark_push(tp, tcp_write_queue_tail(sk));
tcp_mark_urg(tp, flags);
__tcp_push_pending_frames(sk, mss_now,
... | 216,230,602,863,418,270,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,296 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int tcp_recv_urg(struct sock *sk, struct msghdr *msg, int len, int flags)
{
struct tcp_sock *tp = tcp_sk(sk);
/* No URG data to read. */
if (sock_flag(sk, SOCK_URGINLINE) || !tp->urg_data ||
tp->urg_data == TCP_URG_READ)
return -EINVAL; /* Yes this is right ! */
if (sk->sk_state == TCP_CLOSE && !soc... | 66,751,303,928,627,770,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,297 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
size_t len, int nonblock, int flags, int *addr_len)
{
struct tcp_sock *tp = tcp_sk(sk);
int copied = 0;
u32 peek_seq;
u32 *seq;
unsigned long used;
int err;
int target; /* Read at least this many bytes */
long timeo;
struct task_struct... | 169,728,097,633,232,550,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,298 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int tcp_send_mss(struct sock *sk, int *size_goal, int flags)
{
int mss_now;
mss_now = tcp_current_mss(sk);
*size_goal = tcp_xmit_size_goal(sk, mss_now, !(flags & MSG_OOB));
return mss_now;
}
| 14,503,872,477,259,266,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,299 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
size_t size)
{
struct sock *sk = sock->sk;
struct iovec *iov;
struct tcp_sock *tp = tcp_sk(sk);
struct sk_buff *skb;
int iovlen, flags;
int mss_now, size_goal;
int sg, err, copied;
long timeo;
lock_sock(sk);
TCP_CHECK_TIMER(sk);
... | 63,760,750,197,134,410,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,300 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | ssize_t tcp_sendpage(struct socket *sock, struct page *page, int offset,
size_t size, int flags)
{
ssize_t res;
struct sock *sk = sock->sk;
if (!(sk->sk_route_caps & NETIF_F_SG) ||
!(sk->sk_route_caps & NETIF_F_ALL_CSUM))
return sock_no_sendpage(sock, page, offset, size, flags);
lock_sock(sk);
TCP_... | 240,442,879,228,385,830,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,301 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static void tcp_service_net_dma(struct sock *sk, bool wait)
{
dma_cookie_t done, used;
dma_cookie_t last_issued;
struct tcp_sock *tp = tcp_sk(sk);
if (!tp->ucopy.dma_chan)
return;
last_issued = tp->ucopy.dma_cookie;
dma_async_memcpy_issue_pending(tp->ucopy.dma_chan);
do {
if (dma_async_memcpy_complete(tp-... | 247,677,897,215,998,880,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,302 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_set_state(struct sock *sk, int state)
{
int oldstate = sk->sk_state;
switch (state) {
case TCP_ESTABLISHED:
if (oldstate != TCP_ESTABLISHED)
TCP_INC_STATS(sock_net(sk), TCP_MIB_CURRESTAB);
break;
case TCP_CLOSE:
if (oldstate == TCP_CLOSE_WAIT || oldstate == TCP_ESTABLISHED)
TCP_INC_STATS(sock... | 69,576,700,090,266,850,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,303 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | int tcp_setsockopt(struct sock *sk, int level, int optname, char __user *optval,
unsigned int optlen)
{
struct inet_connection_sock *icsk = inet_csk(sk);
if (level != SOL_TCP)
return icsk->icsk_af_ops->setsockopt(sk, level, optname,
optval, optlen);
return do_tcp_setsockopt(sk, level, optname, opt... | 11,285,524,558,422,974,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,304 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | void tcp_shutdown(struct sock *sk, int how)
{
/* We need to grab some memory, and put together a FIN,
* and then put it into the queue to be sent.
* Tim MacKenzie(tym@dibbler.cs.monash.edu.au) 4 Dec '92.
*/
if (!(how & SEND_SHUTDOWN))
return;
/* If we've already sent a FIN, or it's a closed state, skip thi... | 116,210,936,033,428,890,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,305 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
unsigned int offset, size_t len)
{
struct tcp_splice_state *tss = rd_desc->arg.data;
int ret;
ret = skb_splice_bits(skb, offset, tss->pipe, min(rd_desc->count, len),
tss->flags);
if (ret > 0)
rd_desc->count -= ret;
ret... | 138,864,321,327,019,400,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,306 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | ssize_t tcp_splice_read(struct socket *sock, loff_t *ppos,
struct pipe_inode_info *pipe, size_t len,
unsigned int flags)
{
struct sock *sk = sock->sk;
struct tcp_splice_state tss = {
.pipe = pipe,
.len = len,
.flags = flags,
};
long timeo;
ssize_t spliced;
int ret;
/*
* We can't seek on a socket i... | 272,968,927,598,512,760,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,307 | linux | baff42ab1494528907bf4d5870359e31711746ae | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/baff42ab1494528907bf4d5870359e31711746ae | net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.
A userspace program that splices data from a socket to either another
soc... | 0 | static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now,
int large_allowed)
{
struct tcp_sock *tp = tcp_sk(sk);
u32 xmit_size_goal, old_size_goal;
xmit_size_goal = mss_now;
if (large_allowed && sk_can_gso(sk)) {
xmit_size_goal = ((sk->sk_gso_max_size - 1) -
inet_csk(sk)->icsk_af_ops... | 132,343,427,121,324,780,000,000,000,000,000,000,000 | tcp.c | 163,710,130,416,565,710,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2128 | The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to cause a denial of service (system crash) via a crafted splice system call for a TCP socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2128 |
33,308 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | SYSCALL_DEFINE5(perf_event_open,
struct perf_event_attr __user *, attr_uptr,
pid_t, pid, int, cpu, int, group_fd, unsigned long, flags)
{
struct perf_event *group_leader = NULL, *output_event = NULL;
struct perf_event *event, *sibling;
struct perf_event_attr attr;
struct perf_event_context *ctx;
struct file *e... | 108,805,506,819,649,020,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,309 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void __perf_event_mark_enabled(struct perf_event *event)
{
struct perf_event *sub;
u64 tstamp = perf_event_time(event);
event->state = PERF_EVENT_STATE_INACTIVE;
event->tstamp_enabled = tstamp - event->total_time_enabled;
list_for_each_entry(sub, &event->sibling_list, group_entry) {
if (sub->state >= PER... | 164,861,115,700,487,150,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,310 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int __perf_event_overflow(struct perf_event *event,
int throttle, struct perf_sample_data *data,
struct pt_regs *regs)
{
int events = atomic_read(&event->event_limit);
struct hw_perf_event *hwc = &event->hw;
u64 seq;
int ret = 0;
/*
* Non-sampling counters might still use the PMI to fold sh... | 111,748,698,499,736,250,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,311 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void __perf_event_task_sched_in(struct task_struct *prev,
struct task_struct *task)
{
struct perf_event_context *ctx;
int ctxn;
for_each_task_context_nr(ctxn) {
ctx = task->perf_event_ctxp[ctxn];
if (likely(!ctx))
continue;
perf_event_context_sched_in(ctx, task);
}
/*
* if cgroup events exist on t... | 311,184,358,714,362,840,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,312 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void __perf_event_task_sched_out(struct task_struct *task,
struct task_struct *next)
{
int ctxn;
for_each_task_context_nr(ctxn)
perf_event_context_sched_out(task, ctxn, next);
/*
* if cgroup events exist on this CPU, then we need
* to check if we have to switch out PMU state.
* cgroup event are system... | 53,795,318,228,858,610,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,313 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void __perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
{
struct perf_sample_data data;
int rctx;
preempt_disable_notrace();
rctx = perf_swevent_get_recursion_context();
if (rctx < 0)
return;
perf_sample_data_init(&data, addr, 0);
do_perf_sw_event(PERF_TYPE_SOFTWARE, event_id, nr, &data, ... | 138,227,984,654,975,780,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,314 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void __weak arch_perf_update_userpage(struct perf_event_mmap_page *userpg, u64 now)
{
}
| 332,963,302,407,893,470,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,315 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int cpu_clock_event_init(struct perf_event *event)
{
if (event->attr.type != PERF_TYPE_SOFTWARE)
return -ENOENT;
if (event->attr.config != PERF_COUNT_SW_CPU_CLOCK)
return -ENOENT;
/*
* no branch sampling for software events
*/
if (has_branch_stack(event))
return -EOPNOTSUPP;
perf_swevent_init_h... | 253,590,395,695,951,620,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,316 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void do_perf_sw_event(enum perf_type_id type, u32 event_id,
u64 nr,
struct perf_sample_data *data,
struct pt_regs *regs)
{
struct swevent_htable *swhash = &__get_cpu_var(swevent_htable);
struct perf_event *event;
struct hlist_head *head;
rcu_read_lock();
head = find_swevent_head_rcu... | 217,373,400,895,338,630,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,317 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | event_sched_in(struct perf_event *event,
struct perf_cpu_context *cpuctx,
struct perf_event_context *ctx)
{
u64 tstamp = perf_event_time(event);
if (event->state <= PERF_EVENT_STATE_OFF)
return 0;
event->state = PERF_EVENT_STATE_ACTIVE;
event->oncpu = smp_processor_id();
/*
* Unthrottle events, since ... | 339,458,377,574,073,400,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,318 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | event_sched_out(struct perf_event *event,
struct perf_cpu_context *cpuctx,
struct perf_event_context *ctx)
{
u64 tstamp = perf_event_time(event);
u64 delta;
/*
* An event which could not be activated because of
* filter mismatch still needs to have its timings
* maintained, otherwise bogus information ... | 248,268,167,951,917,750,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,319 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void free_event(struct perf_event *event)
{
irq_work_sync(&event->pending);
if (!event->parent) {
if (event->attach_state & PERF_ATTACH_TASK)
static_key_slow_dec_deferred(&perf_sched_events);
if (event->attr.mmap || event->attr.mmap_data)
atomic_dec(&nr_mmap_events);
if (event->attr.comm)
atomi... | 94,063,019,068,350,800,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,320 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | inherit_event(struct perf_event *parent_event,
struct task_struct *parent,
struct perf_event_context *parent_ctx,
struct task_struct *child,
struct perf_event *group_leader,
struct perf_event_context *child_ctx)
{
struct perf_event *child_event;
unsigned long flags;
/*
* Instead... | 161,319,433,141,396,800,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,321 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | list_add_event(struct perf_event *event, struct perf_event_context *ctx)
{
WARN_ON_ONCE(event->attach_state & PERF_ATTACH_CONTEXT);
event->attach_state |= PERF_ATTACH_CONTEXT;
/*
* If we're a stand alone event or group leader, we go to the context
* list, group events are kept attached to the group so that
* ... | 134,547,798,976,737,710,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,322 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | list_del_event(struct perf_event *event, struct perf_event_context *ctx)
{
struct perf_cpu_context *cpuctx;
/*
* We can have double detach due to exit/hot-unplug + close.
*/
if (!(event->attach_state & PERF_ATTACH_CONTEXT))
return;
event->attach_state &= ~PERF_ATTACH_CONTEXT;
if (is_cgroup_event(event)) {
... | 18,479,981,283,805,848,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,323 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_adjust_freq_unthr_context(struct perf_event_context *ctx,
int needs_unthr)
{
struct perf_event *event;
struct hw_perf_event *hwc;
u64 now, period = TICK_NSEC;
s64 delta;
/*
* only need to iterate over all events iff:
* - context have events in frequency mode (needs freq adjust)
* - ... | 34,988,607,253,002,357,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,324 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_adjust_period(struct perf_event *event, u64 nsec, u64 count, bool disable)
{
struct hw_perf_event *hwc = &event->hw;
s64 period, sample_period;
s64 delta;
period = perf_calculate_period(event, nsec, count);
delta = (s64)(period - hwc->sample_period);
delta = (delta + 7) / 8; /* low pass filter ... | 246,275,761,542,519,900,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,325 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void perf_bp_event(struct perf_event *bp, void *data)
{
struct perf_sample_data sample;
struct pt_regs *regs = data;
perf_sample_data_init(&sample, bp->attr.bp_addr, 0);
if (!bp->hw.state && !perf_exclude_event(bp, regs))
perf_swevent_event(bp, 1, &sample, regs);
}
| 256,355,603,722,493,200,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,326 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_branch_stack_sched_in(struct task_struct *prev,
struct task_struct *task)
{
struct perf_cpu_context *cpuctx;
struct pmu *pmu;
unsigned long flags;
/* no need to flush branch stack if not changing task */
if (prev == task)
return;
local_irq_save(flags);
rcu_read_lock();
list_for... | 16,078,118,976,600,988,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,327 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_cgroup_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
{
struct task_struct *task;
cgroup_taskset_for_each(task, cgrp, tset)
task_function_call(task, __perf_cgroup_move, task);
}
| 200,339,364,064,894,440,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,328 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static inline int perf_cgroup_connect(int fd, struct perf_event *event,
struct perf_event_attr *attr,
struct perf_event *group_leader)
{
struct perf_cgroup *cgrp;
struct cgroup_subsys_state *css;
struct fd f = fdget(fd);
int ret = 0;
if (!f.file)
return -EBADF;
css = cgroup_css_from_dir(f.... | 288,430,098,971,333,700,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,329 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static struct cgroup_subsys_state *perf_cgroup_css_alloc(struct cgroup *cont)
{
struct perf_cgroup *jc;
jc = kzalloc(sizeof(*jc), GFP_KERNEL);
if (!jc)
return ERR_PTR(-ENOMEM);
jc->info = alloc_percpu(struct perf_cgroup_info);
if (!jc->info) {
kfree(jc);
return ERR_PTR(-ENOMEM);
}
return &jc->css;
}
| 279,337,687,203,027,180,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,330 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_cgroup_css_free(struct cgroup *cont)
{
struct perf_cgroup *jc;
jc = container_of(cgroup_subsys_state(cont, perf_subsys_id),
struct perf_cgroup, css);
free_percpu(jc->info);
kfree(jc);
}
| 238,495,050,984,680,330,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,331 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_cgroup_exit(struct cgroup *cgrp, struct cgroup *old_cgrp,
struct task_struct *task)
{
/*
* cgroup_exit() is called in the copy_process() failure path.
* Ignore this case since the task hasn't ran yet, this avoids
* trying to poke a half freed task state from generic code.
*/
if (!(tas... | 109,324,647,986,093,530,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,332 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static inline void perf_cgroup_sched_in(struct task_struct *prev,
struct task_struct *task)
{
}
| 283,713,876,370,394,700,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,333 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static inline void perf_cgroup_sched_out(struct task_struct *task,
struct task_struct *next)
{
struct perf_cgroup *cgrp1;
struct perf_cgroup *cgrp2 = NULL;
/*
* we come here when we know perf_cgroup_events > 0
*/
cgrp1 = perf_cgroup_from_task(task);
/*
* next is NULL when called from perf_event_enabl... | 74,599,024,466,483,300,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,334 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static inline void perf_cgroup_sched_out(struct task_struct *task,
struct task_struct *next)
{
}
| 53,358,746,643,754,320,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,335 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void perf_cgroup_switch(struct task_struct *task, int mode)
{
struct perf_cpu_context *cpuctx;
struct pmu *pmu;
unsigned long flags;
/*
* disable interrupts to avoid geting nr_cgroup
* changes via __perf_event_disable(). Also
* avoids preemption.
*/
local_irq_save(flags);
/*
* we reschedule only in th... | 57,007,555,717,707,510,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,336 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int perf_copy_attr(struct perf_event_attr __user *uattr,
struct perf_event_attr *attr)
{
u32 size;
int ret;
if (!access_ok(VERIFY_WRITE, uattr, PERF_ATTR_SIZE_VER0))
return -EFAULT;
/*
* zero the full structure, so that a short copy will be nice.
*/
memset(attr, 0, sizeof(*attr));
ret = get_u... | 329,521,415,400,001,550,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,337 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static inline void perf_event__state_init(struct perf_event *event)
{
event->state = event->attr.disabled ? PERF_EVENT_STATE_OFF :
PERF_EVENT_STATE_INACTIVE;
}
| 19,298,455,871,804,510,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,338 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | perf_event_alloc(struct perf_event_attr *attr, int cpu,
struct task_struct *task,
struct perf_event *group_leader,
struct perf_event *parent_event,
perf_overflow_handler_t overflow_handler,
void *context)
{
struct pmu *pmu;
struct perf_event *event;
struct hw_perf_event *hwc;
long err;
if ((unsigne... | 257,275,761,344,530,370,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,339 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_comm_event(struct perf_comm_event *comm_event)
{
struct perf_cpu_context *cpuctx;
struct perf_event_context *ctx;
char comm[TASK_COMM_LEN];
unsigned int size;
struct pmu *pmu;
int ctxn;
memset(comm, 0, sizeof(comm));
strlcpy(comm, comm_event->task->comm, sizeof(comm));
size = ALIGN(strl... | 11,419,825,139,446,906,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,340 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_comm_output(struct perf_event *event,
struct perf_comm_event *comm_event)
{
struct perf_output_handle handle;
struct perf_sample_data sample;
int size = comm_event->event_id.header.size;
int ret;
perf_event_header__init_id(&comm_event->event_id.header, &sample, event);
ret = perf_... | 120,774,614,615,981,820,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,341 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_context_sched_in(struct perf_event_context *ctx,
struct task_struct *task)
{
struct perf_cpu_context *cpuctx;
cpuctx = __get_cpu_context(ctx);
if (cpuctx->task_ctx == ctx)
return;
perf_ctx_lock(cpuctx, ctx);
perf_pmu_disable(ctx->pmu);
/*
* We want to keep the following priority ... | 104,343,627,565,970,850,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,342 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | perf_event_create_kernel_counter(struct perf_event_attr *attr, int cpu,
struct task_struct *task,
perf_overflow_handler_t overflow_handler,
void *context)
{
struct perf_event_context *ctx;
struct perf_event *event;
int err;
/*
* Get the target context (task or percpu):
*/
event = perf_event_al... | 306,739,080,642,374,140,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,343 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_enable_on_exec(struct perf_event_context *ctx)
{
struct perf_event *event;
unsigned long flags;
int enabled = 0;
int ret;
local_irq_save(flags);
if (!ctx || !ctx->nr_events)
goto out;
/*
* We must ctxsw out cgroup events to avoid conflict
* when invoking perf_task_event_sched_in() ... | 263,836,262,614,918,150,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,344 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_exit_task_context(struct task_struct *child, int ctxn)
{
struct perf_event *child_event, *tmp;
struct perf_event_context *child_ctx;
unsigned long flags;
if (likely(!child->perf_event_ctxp[ctxn])) {
perf_event_task(child, NULL, 0);
return;
}
local_irq_save(flags);
/*
* We can't res... | 323,356,766,264,476,300,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,345 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int perf_event_idx_default(struct perf_event *event)
{
return event->hw.idx + 1;
}
| 236,667,324,336,121,900,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,346 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int perf_event_index(struct perf_event *event)
{
if (event->hw.state & PERF_HES_STOPPED)
return 0;
if (event->state != PERF_EVENT_STATE_ACTIVE)
return 0;
return event->pmu->event_idx(event);
}
| 73,569,507,926,550,650,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,347 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void __init perf_event_init(void)
{
int ret;
idr_init(&pmu_idr);
perf_event_init_all_cpus();
init_srcu_struct(&pmus_srcu);
perf_pmu_register(&perf_swevent, "software", PERF_TYPE_SOFTWARE);
perf_pmu_register(&perf_cpu_clock, NULL, -1);
perf_pmu_register(&perf_task_clock, NULL, -1);
perf_tp_register();
perf_cp... | 23,645,552,061,472,405,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,348 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_mmap_output(struct perf_event *event,
struct perf_mmap_event *mmap_event)
{
struct perf_output_handle handle;
struct perf_sample_data sample;
int size = mmap_event->event_id.header.size;
int ret;
perf_event_header__init_id(&mmap_event->event_id.header, &sample, event);
ret = perf_... | 269,157,772,827,510,060,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,349 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_event_output(struct perf_event *event,
struct perf_sample_data *data,
struct pt_regs *regs)
{
struct perf_output_handle handle;
struct perf_event_header header;
/* protect the callchain buffers */
rcu_read_lock();
perf_prepare_sample(&header, data, event, regs);
if (perf_output_begin(&... | 144,971,119,616,230,170,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,350 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | int perf_event_overflow(struct perf_event *event,
struct perf_sample_data *data,
struct pt_regs *regs)
{
return __perf_event_overflow(event, 1, data, regs);
}
| 23,782,883,879,828,184,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,351 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | perf_event_read_event(struct perf_event *event,
struct task_struct *task)
{
struct perf_output_handle handle;
struct perf_sample_data sample;
struct perf_read_event read_event = {
.header = {
.type = PERF_RECORD_READ,
.misc = 0,
.size = sizeof(read_event) + event->read_size,
},
.pid = perf_event_pi... | 32,563,214,984,096,466,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,352 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | perf_event_set_output(struct perf_event *event, struct perf_event *output_event)
{
struct ring_buffer *rb = NULL, *old_rb = NULL;
int ret = -EINVAL;
if (!output_event)
goto set;
/* don't allow circular references */
if (event == output_event)
goto out;
/*
* Don't allow cross-cpu buffers
*/
if (output_... | 158,788,373,804,171,160,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,353 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void perf_event_task_tick(void)
{
struct list_head *head = &__get_cpu_var(rotation_list);
struct perf_cpu_context *cpuctx, *tmp;
struct perf_event_context *ctx;
int throttled;
WARN_ON(!irqs_disabled());
__this_cpu_inc(perf_throttled_seq);
throttled = __this_cpu_xchg(perf_throttled_count, 0);
list_for_each_en... | 101,669,943,426,353,680,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,354 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void perf_event_update_userpage(struct perf_event *event)
{
struct perf_event_mmap_page *userpg;
struct ring_buffer *rb;
u64 enabled, running, now;
rcu_read_lock();
/*
* compute total_time_enabled, total_time_running
* based on snapshot values taken when the event
* was last scheduled in.
*
* we cannot ... | 86,594,328,338,573,980,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,355 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | void perf_event_wakeup(struct perf_event *event)
{
ring_buffer_wakeup(event);
if (event->pending_kill) {
kill_fasync(&event->fasync, SIGIO, event->pending_kill);
event->pending_kill = 0;
}
}
| 153,639,439,522,412,270,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,356 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int perf_fasync(int fd, struct file *filp, int on)
{
struct inode *inode = file_inode(filp);
struct perf_event *event = filp->private_data;
int retval;
mutex_lock(&inode->i_mutex);
retval = fasync_helper(fd, filp, on, &event->fasync);
mutex_unlock(&inode->i_mutex);
if (retval < 0)
return retval;
ret... | 3,203,754,222,344,669,600,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,357 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_free_event(struct perf_event *event,
struct perf_event_context *ctx)
{
struct perf_event *parent = event->parent;
if (WARN_ON_ONCE(!parent))
return;
mutex_lock(&parent->child_mutex);
list_del_init(&event->child_list);
mutex_unlock(&parent->child_mutex);
put_event(parent);
perf_group... | 131,947,197,344,284,800,000,000,000,000,000,000,000 | core.c | 336,324,934,668,837,200,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,358 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | struct pmu *perf_init_event(struct perf_event *event)
{
struct pmu *pmu = NULL;
int idx;
int ret;
idx = srcu_read_lock(&pmus_srcu);
rcu_read_lock();
pmu = idr_find(&pmu_idr, event->attr.type);
rcu_read_unlock();
if (pmu) {
event->pmu = pmu;
ret = pmu->event_init(event);
if (ret)
pmu = ERR_PTR(ret);
... | 217,801,650,417,618,500,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,359 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | perf_install_in_context(struct perf_event_context *ctx,
struct perf_event *event,
int cpu)
{
struct task_struct *task = ctx->task;
lockdep_assert_held(&ctx->mutex);
event->ctx = ctx;
if (event->cpu != -1)
event->cpu = cpu;
if (!task) {
/*
* Per cpu events are installed via an smp call and
* the ... | 300,377,460,080,167,940,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,360 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static int perf_mmap(struct file *file, struct vm_area_struct *vma)
{
struct perf_event *event = file->private_data;
unsigned long user_locked, user_lock_limit;
struct user_struct *user = current_user();
unsigned long locked, lock_limit;
struct ring_buffer *rb;
unsigned long vma_size;
unsigned long nr_pages;
lo... | 121,174,207,406,180,890,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,361 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_mmap_close(struct vm_area_struct *vma)
{
struct perf_event *event = vma->vm_file->private_data;
if (atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) {
unsigned long size = perf_data_size(event->rb);
struct user_struct *user = event->mmap_user;
struct ring_buffer *rb = event->... | 325,857,731,538,979,800,000,000,000,000,000,000,000 | core.c | 11,140,413,320,282,108,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
33,362 | linux | 8176cced706b5e5d15887584150764894e94e02f | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f | perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().
Introduced in commit b0a873ebb ("perf: Register PMU
implementations").
Signed... | 0 | static void perf_output_read(struct perf_output_handle *handle,
struct perf_event *event)
{
u64 enabled = 0, running = 0, now;
u64 read_format = event->attr.read_format;
/*
* compute total_time_enabled, total_time_running
* based on snapshot values taken when the event
* was last scheduled in.
*
*... | 160,426,078,905,750,250,000,000,000,000,000,000,000 | core.c | 304,500,610,601,399,240,000,000,000,000,000,000,000 | [
"CWE-189"
] | CVE-2013-2094 | The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. | https://nvd.nist.gov/vuln/detail/CVE-2013-2094 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.