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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32,807 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_pcomp_init_tfm(struct crypto_tfm *tfm)
{
return 0;
}
| 23,597,881,063,107,410,000,000,000,000,000,000,000 | pcompress.c | 290,675,537,986,823,050,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,808 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_pcomp_report(struct sk_buff *skb, struct crypto_alg *alg)
{
return -ENOSYS;
}
| 297,148,789,718,711,600,000,000,000,000,000,000,000 | pcompress.c | 290,675,537,986,823,050,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,809 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static void crypto_pcomp_show(struct seq_file *m, struct crypto_alg *alg)
{
seq_printf(m, "type : pcomp\n");
}
| 329,049,742,212,359,840,000,000,000,000,000,000,000 | pcompress.c | 290,675,537,986,823,050,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,810 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_register_pcomp(struct pcomp_alg *alg)
{
struct crypto_alg *base = &alg->base;
base->cra_type = &crypto_pcomp_type;
base->cra_flags &= ~CRYPTO_ALG_TYPE_MASK;
base->cra_flags |= CRYPTO_ALG_TYPE_PCOMPRESS;
return crypto_register_alg(base);
}
| 9,358,763,578,815,004,000,000,000,000,000,000,000 | pcompress.c | 290,675,537,986,823,050,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,811 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_unregister_pcomp(struct pcomp_alg *alg)
{
return crypto_unregister_alg(&alg->base);
}
| 191,242,782,230,500,900,000,000,000,000,000,000,000 | pcompress.c | 290,675,537,986,823,050,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,812 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_get_default_rng(void)
{
struct crypto_rng *rng;
int err;
mutex_lock(&crypto_default_rng_lock);
if (!crypto_default_rng) {
rng = crypto_alloc_rng("stdrng", 0, 0);
err = PTR_ERR(rng);
if (IS_ERR(rng))
goto unlock;
err = crypto_rng_reset(rng, NULL, crypto_rng_seedsize(rng));
if (err) {
cry... | 224,648,065,378,615,650,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,813 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_init_rng_ops(struct crypto_tfm *tfm, u32 type, u32 mask)
{
struct rng_alg *alg = &tfm->__crt_alg->cra_rng;
struct rng_tfm *ops = &tfm->crt_rng;
ops->rng_gen_random = alg->rng_make_random;
ops->rng_reset = rngapi_reset;
return 0;
}
| 103,926,942,383,498,480,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,814 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | void crypto_put_default_rng(void)
{
mutex_lock(&crypto_default_rng_lock);
if (!--crypto_default_rng_refcnt) {
crypto_free_rng(crypto_default_rng);
crypto_default_rng = NULL;
}
mutex_unlock(&crypto_default_rng_lock);
}
| 290,716,107,826,646,400,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,815 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static unsigned int crypto_rng_ctxsize(struct crypto_alg *alg, u32 type,
u32 mask)
{
return alg->cra_ctxsize;
}
| 51,626,810,988,290,450,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,816 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg)
{
return -ENOSYS;
}
| 233,840,614,814,159,360,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,817 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
{
seq_printf(m, "type : rng\n");
seq_printf(m, "seedsize : %u\n", alg->cra_rng.seedsize);
}
| 327,329,431,919,378,300,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,818 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int rngapi_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen)
{
u8 *buf = NULL;
int err;
if (!seed && slen) {
buf = kmalloc(slen, GFP_KERNEL);
if (!buf)
return -ENOMEM;
get_random_bytes(buf, slen);
seed = buf;
}
err = crypto_rng_alg(tfm)->rng_reset(tfm, seed, slen);
kfree(buf);
retu... | 115,867,646,056,485,690,000,000,000,000,000,000,000 | rng.c | 134,315,677,226,765,070,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,819 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
u32 mask)
{
return crypto_alloc_tfm(alg_name, &crypto_shash_type, type, mask);
}
| 126,853,542,599,493,300,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,820 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static void crypto_exit_shash_ops_compat(struct crypto_tfm *tfm)
{
struct shash_desc **descp = crypto_tfm_ctx(tfm);
struct shash_desc *desc = *descp;
crypto_free_shash(desc->tfm);
kzfree(desc);
}
| 305,688,794,900,722,370,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,821 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_init_shash_ops(struct crypto_tfm *tfm, u32 type, u32 mask)
{
switch (mask & CRYPTO_ALG_TYPE_MASK) {
case CRYPTO_ALG_TYPE_HASH_MASK:
return crypto_init_shash_ops_compat(tfm);
}
return -EINVAL;
}
| 195,200,703,903,466,270,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,822 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_init_shash_ops_async(struct crypto_tfm *tfm)
{
struct crypto_alg *calg = tfm->__crt_alg;
struct shash_alg *alg = __crypto_shash_alg(calg);
struct crypto_ahash *crt = __crypto_ahash_cast(tfm);
struct crypto_shash **ctx = crypto_tfm_ctx(tfm);
struct crypto_shash *shash;
if (!crypto_mod_get(calg))
retu... | 328,381,735,958,364,300,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,823 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_init_shash_ops_compat(struct crypto_tfm *tfm)
{
struct hash_tfm *crt = &tfm->crt_hash;
struct crypto_alg *calg = tfm->__crt_alg;
struct shash_alg *alg = __crypto_shash_alg(calg);
struct shash_desc **descp = crypto_tfm_ctx(tfm);
struct crypto_shash *shash;
struct shash_desc *desc;
if (!crypto_m... | 281,197,483,426,297,500,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,824 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_register_shashes(struct shash_alg *algs, int count)
{
int i, ret;
for (i = 0; i < count; i++) {
ret = crypto_register_shash(&algs[i]);
if (ret)
goto err;
}
return 0;
err:
for (--i; i >= 0; --i)
crypto_unregister_shash(&algs[i]);
return ret;
}
| 115,531,461,986,457,100,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,825 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static unsigned int crypto_shash_ctxsize(struct crypto_alg *alg, u32 type,
u32 mask)
{
switch (mask & CRYPTO_ALG_TYPE_MASK) {
case CRYPTO_ALG_TYPE_HASH_MASK:
return sizeof(struct shash_desc *);
}
return 0;
}
| 258,293,579,873,400,200,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,826 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
unsigned int len, u8 *out)
{
struct crypto_shash *tfm = desc->tfm;
struct shash_alg *shash = crypto_shash_alg(tfm);
unsigned long alignmask = crypto_shash_alignmask(tfm);
if (((unsigned long)data | (unsigned long)out) & alignmask)
return shash_d... | 35,670,870,742,090,330,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,827 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static unsigned int crypto_shash_extsize(struct crypto_alg *alg)
{
return alg->cra_ctxsize;
}
| 162,752,460,108,789,960,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,828 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_shash_final(struct shash_desc *desc, u8 *out)
{
struct crypto_shash *tfm = desc->tfm;
struct shash_alg *shash = crypto_shash_alg(tfm);
unsigned long alignmask = crypto_shash_alignmask(tfm);
if ((unsigned long)out & alignmask)
return shash_final_unaligned(desc, out);
return shash->final(desc, out);
}... | 176,271,076,473,824,900,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,829 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
unsigned int len, u8 *out)
{
struct crypto_shash *tfm = desc->tfm;
struct shash_alg *shash = crypto_shash_alg(tfm);
unsigned long alignmask = crypto_shash_alignmask(tfm);
if (((unsigned long)data | (unsigned long)out) & alignmask)
return sh... | 289,883,352,205,523,130,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,830 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_shash_init_tfm(struct crypto_tfm *tfm)
{
struct crypto_shash *hash = __crypto_shash_cast(tfm);
hash->descsize = crypto_shash_alg(hash)->descsize;
return 0;
}
| 65,269,929,503,497,685,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,831 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg)
{
return -ENOSYS;
}
| 177,666,404,246,836,600,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,832 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
unsigned int keylen)
{
struct shash_alg *shash = crypto_shash_alg(tfm);
unsigned long alignmask = crypto_shash_alignmask(tfm);
if ((unsigned long)key & alignmask)
return shash_setkey_unaligned(tfm, key, keylen);
return shash->setkey(tfm, key, k... | 31,591,034,647,254,364,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,833 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
{
struct shash_alg *salg = __crypto_shash_alg(alg);
seq_printf(m, "type : shash\n");
seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
seq_printf(m, "digestsize : %u\n", salg->digestsize);
}
| 36,787,462,333,789,158,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,834 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int crypto_unregister_shashes(struct shash_alg *algs, int count)
{
int i, ret;
for (i = count - 1; i >= 0; --i) {
ret = crypto_unregister_shash(&algs[i]);
if (ret)
pr_err("Failed to unregister %s %s: %d\n",
algs[i].base.cra_driver_name,
algs[i].base.cra_name, ret);
}
return 0;
}
| 821,910,372,502,516,900,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,835 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc)
{
struct scatterlist *sg = req->src;
unsigned int offset = sg->offset;
unsigned int nbytes = req->nbytes;
int err;
if (nbytes < min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset)) {
void *data;
data = kmap_atomic(sg_page(sg));
er... | 289,366,816,770,676,000,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,836 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc)
{
struct crypto_hash_walk walk;
int nbytes;
for (nbytes = crypto_hash_walk_first(req, &walk); nbytes > 0;
nbytes = crypto_hash_walk_done(&walk, nbytes))
nbytes = crypto_shash_update(desc, walk.data, nbytes);
return nbytes;
}
| 149,507,539,839,198,450,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,837 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_digest(struct ahash_request *req)
{
struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
struct shash_desc *desc = ahash_request_ctx(req);
desc->tfm = *ctx;
desc->flags = req->base.flags;
return shash_ahash_digest(req, desc);
}
| 227,524,811,330,097,040,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,838 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_export(struct ahash_request *req, void *out)
{
return crypto_shash_export(ahash_request_ctx(req), out);
}
| 187,333,348,791,290,150,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,839 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_final(struct ahash_request *req)
{
return crypto_shash_final(ahash_request_ctx(req), req->result);
}
| 275,485,347,517,308,530,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,840 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_finup(struct ahash_request *req)
{
struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
struct shash_desc *desc = ahash_request_ctx(req);
desc->tfm = *ctx;
desc->flags = req->base.flags;
return shash_ahash_finup(req, desc);
}
| 144,426,662,671,190,800,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,841 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_import(struct ahash_request *req, const void *in)
{
struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
struct shash_desc *desc = ahash_request_ctx(req);
desc->tfm = *ctx;
desc->flags = req->base.flags;
return crypto_shash_import(desc, in);
}
| 19,543,384,002,913,505,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,842 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_init(struct ahash_request *req)
{
struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
struct shash_desc *desc = ahash_request_ctx(req);
desc->tfm = *ctx;
desc->flags = req->base.flags;
return crypto_shash_init(desc);
}
| 254,225,329,536,185,470,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,843 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key,
unsigned int keylen)
{
struct crypto_shash **ctx = crypto_ahash_ctx(tfm);
return crypto_shash_setkey(*ctx, key, keylen);
}
| 49,995,400,171,670,430,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,844 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_async_update(struct ahash_request *req)
{
return shash_ahash_update(req, ahash_request_ctx(req));
}
| 142,418,028,050,756,750,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,845 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask)
{
struct crypto_alg *alg;
alg = crypto_attr_alg2(rta, &crypto_shash_type, type, mask);
return IS_ERR(alg) ? ERR_CAST(alg) :
container_of(alg, struct shash_alg, base);
}
| 138,802,314,391,431,290,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,846 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_compat_update(struct hash_desc *hdesc, struct scatterlist *sg,
unsigned int len)
{
struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm);
struct shash_desc *desc = *descp;
struct crypto_hash_walk walk;
int nbytes;
for (nbytes = crypto_hash_walk_first_compat(hdesc, &walk, sg, len);
... | 28,051,267,980,690,070,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,847 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_default_export(struct shash_desc *desc, void *out)
{
memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm));
return 0;
}
| 126,101,846,244,755,650,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,848 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_default_import(struct shash_desc *desc, const void *in)
{
memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm));
return 0;
}
| 13,181,712,136,339,530,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,849 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data,
unsigned int len, u8 *out)
{
return crypto_shash_init(desc) ?:
crypto_shash_finup(desc, data, len, out);
}
| 255,143,467,339,846,220,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,850 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data,
unsigned int len, u8 *out)
{
return crypto_shash_update(desc, data, len) ?:
crypto_shash_final(desc, out);
}
| 25,793,877,222,135,610,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,851 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | void shash_free_instance(struct crypto_instance *inst)
{
crypto_drop_spawn(crypto_instance_ctx(inst));
kfree(shash_instance(inst));
}
| 313,103,404,682,482,370,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,852 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_prepare_alg(struct shash_alg *alg)
{
struct crypto_alg *base = &alg->base;
if (alg->digestsize > PAGE_SIZE / 8 ||
alg->descsize > PAGE_SIZE / 8 ||
alg->statesize > PAGE_SIZE / 8)
return -EINVAL;
base->cra_type = &crypto_shash_type;
base->cra_flags &= ~CRYPTO_ALG_TYPE_MASK;
base->cra_... | 329,707,572,414,059,800,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,853 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | int shash_register_instance(struct crypto_template *tmpl,
struct shash_instance *inst)
{
int err;
err = shash_prepare_alg(&inst->alg);
if (err)
return err;
return crypto_register_instance(tmpl, shash_crypto_instance(inst));
}
| 30,498,560,418,976,663,000,000,000,000,000,000,000 | shash.c | 210,269,858,128,258,900,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,854 | linux | 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 | crypto: user - fix info leaks in report API
Three errors resulting in kernel memory disclosure:
1/ The structures used for the netlink based crypto algorithm report API
are located on the stack. As snprintf() does not fill the remainder of
the buffer with null bytes, those stack bytes will be disclosed to users
of th... | 0 | static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key,
unsigned int keylen)
{
struct shash_alg *shash = crypto_shash_alg(tfm);
unsigned long alignmask = crypto_shash_alignmask(tfm);
unsigned long absize;
u8 *buffer, *alignbuffer;
int err;
absize = keylen + (alignmask & ~(crypto_tfm_ctx_... | 211,712,184,828,293,870,000,000,000,000,000,000,000 | shash.c | 282,854,531,650,067,500,000,000,000,000,000,000,000 | [
"CWE-310"
] | CVE-2013-2546 | The report API in the crypto user configuration API in the Linux kernel through 3.8.2 uses an incorrect C library function for copying strings, which allows local users to obtain sensitive information from kernel stack memory by leveraging the CAP_NET_ADMIN capability. | https://nvd.nist.gov/vuln/detail/CVE-2013-2546 |
32,855 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | __acquires(rcu)
{
struct net *net = seq_file_net(f);
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
rcu_read_lock();
return seq_hlist_start_head_rcu(&net_pfkey->table, *ppos);
}
| 95,859,007,484,644,350,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,856 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static struct sk_buff *__pfkey_xfrm_state2msg(const struct xfrm_state *x,
int add_keys, int hsc)
{
struct sk_buff *skb;
struct sadb_msg *hdr;
struct sadb_sa *sa;
struct sadb_lifetime *lifetime;
struct sadb_address *addr;
struct sadb_key *key;
struct sadb_x_sa2 *sa2;
struct sadb_x_sec_ctx *sec_ctx;
s... | 198,578,936,441,627,960,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,857 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | __releases(rcu)
{
rcu_read_unlock();
}
| 274,763,035,159,364,440,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,858 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline int aalg_tmpl_set(const struct xfrm_tmpl *t,
const struct xfrm_algo_desc *d)
{
unsigned int id = d->desc.sadb_alg_id;
if (id >= sizeof(t->aalgos) * 8)
return 0;
return (t->aalgos >> id) & 1;
}
| 93,726,272,550,927,160,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,859 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr)
{
int i;
u32 reqid = *(u32*)ptr;
for (i=0; i<xp->xfrm_nr; i++) {
if (xp->xfrm_vec[i].reqid == reqid)
return -EEXIST;
}
return 0;
}
| 25,334,749,601,761,860,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,860 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static struct sk_buff *compose_sadb_supported(const struct sadb_msg *orig,
gfp_t allocation)
{
struct sk_buff *skb;
struct sadb_msg *hdr;
int len, auth_len, enc_len, i;
auth_len = xfrm_count_pfkey_auth_supported();
if (auth_len) {
auth_len *= sizeof(struct sadb_alg);
auth_len += sizeof(struct sadb_... | 237,971,065,706,964,870,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,861 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int count_ah_combs(const struct xfrm_tmpl *t)
{
int i, sz = 0;
for (i = 0; ; i++) {
const struct xfrm_algo_desc *aalg = xfrm_aalg_get_byidx(i);
if (!aalg)
break;
if (!aalg->pfkey_supported)
continue;
if (aalg_tmpl_set(t, aalg) && aalg->available)
sz += sizeof(struct sadb_comb);
}
return sz ... | 227,321,757,270,766,300,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,862 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void dump_ah_combs(struct sk_buff *skb, const struct xfrm_tmpl *t)
{
struct sadb_prop *p;
int i;
p = (struct sadb_prop*)skb_put(skb, sizeof(struct sadb_prop));
p->sadb_prop_len = sizeof(struct sadb_prop)/8;
p->sadb_prop_exttype = SADB_EXT_PROPOSAL;
p->sadb_prop_replay = 32;
memset(p->sadb_prop_reserved, ... | 237,169,838,435,227,000,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,863 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void dump_esp_combs(struct sk_buff *skb, const struct xfrm_tmpl *t)
{
struct sadb_prop *p;
int i, k;
p = (struct sadb_prop*)skb_put(skb, sizeof(struct sadb_prop));
p->sadb_prop_len = sizeof(struct sadb_prop)/8;
p->sadb_prop_exttype = SADB_EXT_PROPOSAL;
p->sadb_prop_replay = 32;
memset(p->sadb_prop_reserv... | 113,481,026,317,860,240,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,864 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int dump_sa(struct xfrm_state *x, int count, void *ptr)
{
struct pfkey_sock *pfk = ptr;
struct sk_buff *out_skb;
struct sadb_msg *out_hdr;
if (!pfkey_can_dump(&pfk->sk))
return -ENOBUFS;
out_skb = pfkey_xfrm_state2msg(x);
if (IS_ERR(out_skb))
return PTR_ERR(out_skb);
out_hdr = (struct sadb_msg *) o... | 46,831,811,759,399,960,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,865 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr)
{
struct pfkey_sock *pfk = ptr;
struct sk_buff *out_skb;
struct sadb_msg *out_hdr;
int err;
if (!pfkey_can_dump(&pfk->sk))
return -ENOBUFS;
out_skb = pfkey_xfrm_policy2msg_prep(xp);
if (IS_ERR(out_skb))
return PTR_ERR(out_skb);
err... | 156,753,854,843,024,480,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,866 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline int ealg_tmpl_set(const struct xfrm_tmpl *t,
const struct xfrm_algo_desc *d)
{
unsigned int id = d->desc.sadb_alg_id;
if (id >= sizeof(t->ealgos) * 8)
return 0;
return (t->ealgos >> id) & 1;
}
| 192,668,493,000,534,340,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,867 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline int event2keytype(int event)
{
switch (event) {
case XFRM_MSG_DELSA:
return SADB_DELETE;
case XFRM_MSG_NEWSA:
return SADB_ADD;
case XFRM_MSG_UPDSA:
return SADB_UPDATE;
case XFRM_MSG_EXPIRE:
return SADB_EXPIRE;
default:
pr_err("pfkey: Unknown SA event %d\n", event);
break;
}
return 0;
... | 129,366,388,015,386,390,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,868 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static u32 gen_reqid(struct net *net)
{
struct xfrm_policy_walk walk;
u32 start;
int rc;
static u32 reqid = IPSEC_MANUAL_REQID_MAX;
start = reqid;
do {
++reqid;
if (reqid == 0)
reqid = IPSEC_MANUAL_REQID_MAX+1;
xfrm_policy_walk_init(&walk, XFRM_POLICY_TYPE_MAIN);
rc = xfrm_policy_walk(net, &walk, chec... | 199,179,783,025,743,920,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,869 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static u32 get_acqseq(void)
{
u32 res;
static atomic_t acqseq;
do {
res = atomic_inc_return(&acqseq);
} while (!res);
return res;
}
| 277,749,666,467,136,700,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,870 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void __exit ipsec_pfkey_exit(void)
{
xfrm_unregister_km(&pfkeyv2_mgr);
sock_unregister(PF_KEY);
unregister_pernet_subsys(&pfkey_net_ops);
proto_unregister(&key_proto);
}
| 71,194,174,219,349,920,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,871 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len,
struct xfrm_migrate *m)
{
int err;
struct sadb_x_ipsecrequest *rq2;
int mode;
if (len <= sizeof(struct sadb_x_ipsecrequest) ||
len < rq1->sadb_x_ipsecrequest_len)
return -EINVAL;
/* old endoints */
err = parse_sockaddr_... | 257,557,353,209,940,880,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,872 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int key_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c)
{
struct sk_buff *out_skb;
struct sadb_msg *out_hdr;
int err;
out_skb = pfkey_xfrm_policy2msg_prep(xp);
if (IS_ERR(out_skb))
return PTR_ERR(out_skb);
err = pfkey_xfrm_policy2msg(out_skb, xp, dir);
if (err < 0)
return er... | 318,265,235,847,945,870,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,873 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int key_notify_policy_expire(struct xfrm_policy *xp, const struct km_event *c)
{
return 0;
}
| 207,820,798,353,886,250,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,874 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int key_notify_sa(struct xfrm_state *x, const struct km_event *c)
{
struct sk_buff *skb;
struct sadb_msg *hdr;
skb = pfkey_xfrm_state2msg(x);
if (IS_ERR(skb))
return PTR_ERR(skb);
hdr = (struct sadb_msg *) skb->data;
hdr->sadb_msg_version = PF_KEY_V2;
hdr->sadb_msg_type = event2keytype(c->event);
hd... | 81,596,400,491,402,490,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,875 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int key_notify_sa_expire(struct xfrm_state *x, const struct km_event *c)
{
struct sk_buff *out_skb;
struct sadb_msg *out_hdr;
int hard;
int hsc;
hard = c->data.hard;
if (hard)
hsc = 2;
else
hsc = 1;
out_skb = pfkey_xfrm_state2msg_expire(x, hsc);
if (IS_ERR(out_skb))
return PTR_ERR(out_skb);
ou... | 35,439,311,769,584,154,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,876 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int parse_exthdrs(struct sk_buff *skb, const struct sadb_msg *hdr, void **ext_hdrs)
{
const char *p = (char *) hdr;
int len = skb->len;
len -= sizeof(*hdr);
p += sizeof(*hdr);
while (len > 0) {
const struct sadb_ext *ehdr = (const struct sadb_ext *) p;
uint16_t ext_type;
int ext_len;
ext_len = eh... | 286,790,981,507,525,760,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,877 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq)
{
struct net *net = xp_net(xp);
struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr;
int mode;
if (xp->xfrm_nr >= XFRM_MAX_DEPTH)
return -ELOOP;
if (rq->sadb_x_ipsecrequest_mode == 0)
return -EINVAL;
t->id.proto = rq->sadb_x_ipsecreque... | 201,533,123,962,448,600,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,878 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_acquire(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
{
struct net *net = sock_net(sk);
struct xfrm_state *x;
if (hdr->sadb_msg_len != sizeof(struct sadb_msg)/8)
return -EOPNOTSUPP;
if (hdr->sadb_msg_seq == 0 || hdr->sadb_msg_errno == 0)
return 0;
... | 249,432,286,534,599,970,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,879 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_add(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
{
struct net *net = sock_net(sk);
struct xfrm_state *x;
int err;
struct km_event c;
x = pfkey_msg2xfrm_state(net, hdr, ext_hdrs);
if (IS_ERR(x))
return PTR_ERR(x);
xfrm_state_hold(x);
if (hdr->sadb... | 174,419,001,894,340,300,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,880 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_broadcast(struct sk_buff *skb, gfp_t allocation,
int broadcast_flags, struct sock *one_sk,
struct net *net)
{
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
struct sock *sk;
struct hlist_node *node;
struct sk_buff *skb2 = NULL;
int err = -ESRCH;
/* XXX Do we need som... | 38,756,133,946,953,568,000,000,000,000,000,000,000 | af_key.c | 161,364,573,216,724,770,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,881 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_broadcast_one(struct sk_buff *skb, struct sk_buff **skb2,
gfp_t allocation, struct sock *sk)
{
int err = -ENOBUFS;
sock_hold(sk);
if (*skb2 == NULL) {
if (atomic_read(&skb->users) != 1) {
*skb2 = skb_clone(skb, allocation);
} else {
*skb2 = skb;
atomic_inc(&skb->users);
}
... | 279,704,905,351,680,300,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,882 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_can_dump(const struct sock *sk)
{
if (3 * atomic_read(&sk->sk_rmem_alloc) <= 2 * sk->sk_rcvbuf)
return 1;
return 0;
}
| 82,237,560,635,001,010,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,883 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static struct xfrm_policy *pfkey_compile_policy(struct sock *sk, int opt,
u8 *data, int len, int *dir)
{
struct net *net = sock_net(sk);
struct xfrm_policy *xp;
struct sadb_x_policy *pol = (struct sadb_x_policy*)data;
struct sadb_x_sec_ctx *sec_ctx;
switch (sk->sk_family) {
case AF_INET:
if (opt != IP_IP... | 284,326,810,594,145,930,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,884 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_create(struct net *net, struct socket *sock, int protocol,
int kern)
{
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
struct sock *sk;
int err;
if (!ns_capable(net->user_ns, CAP_NET_ADMIN))
return -EPERM;
if (sock->type != SOCK_RAW)
return -ESOCKTNOSUPPORT;
if (protocol !... | 269,655,683,339,636,460,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,885 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_delete(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
{
struct net *net = sock_net(sk);
struct xfrm_state *x;
struct km_event c;
int err;
if (!ext_hdrs[SADB_EXT_SA-1] ||
!present_and_same_family(ext_hdrs[SADB_EXT_ADDRESS_SRC-1],
ext_hdrs[SA... | 322,258,498,081,876,140,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,886 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_do_dump(struct pfkey_sock *pfk)
{
struct sadb_msg *hdr;
int rc;
rc = pfk->dump.dump(pfk);
if (rc == -ENOBUFS)
return 0;
if (pfk->dump.skb) {
if (!pfkey_can_dump(&pfk->sk))
return 0;
hdr = (struct sadb_msg *) pfk->dump.skb->data;
hdr->sadb_msg_seq = 0;
hdr->sadb_msg_errno = rc;
pf... | 148,712,836,232,753,000,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,887 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_dump(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
{
u8 proto;
struct pfkey_sock *pfk = pfkey_sk(sk);
if (pfk->dump.dump != NULL)
return -EBUSY;
proto = pfkey_satype2proto(hdr->sadb_msg_satype);
if (proto == 0)
return -EINVAL;
pfk->dump.msg_versi... | 274,269,679,420,072,700,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,888 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_dump_sa(struct pfkey_sock *pfk)
{
struct net *net = sock_net(&pfk->sk);
return xfrm_state_walk(net, &pfk->dump.u.state, dump_sa, (void *) pfk);
}
| 323,737,528,178,285,260,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,889 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void pfkey_dump_sa_done(struct pfkey_sock *pfk)
{
xfrm_state_walk_done(&pfk->dump.u.state);
}
| 110,041,270,811,686,900,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,890 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_dump_sp(struct pfkey_sock *pfk)
{
struct net *net = sock_net(&pfk->sk);
return xfrm_policy_walk(net, &pfk->dump.u.policy, dump_sp, (void *) pfk);
}
| 175,104,617,223,193,800,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,891 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void pfkey_dump_sp_done(struct pfkey_sock *pfk)
{
xfrm_policy_walk_done(&pfk->dump.u.policy);
}
| 25,867,257,981,173,953,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,892 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void __net_exit pfkey_exit_proc(struct net *net)
{
remove_proc_entry("pfkey", net->proc_net);
}
| 263,798,431,874,998,240,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,893 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_get(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
{
struct net *net = sock_net(sk);
__u8 proto;
struct sk_buff *out_skb;
struct sadb_msg *out_hdr;
struct xfrm_state *x;
if (!ext_hdrs[SADB_EXT_SA-1] ||
!present_and_same_family(ext_hdrs[SADB_EXT_ADD... | 157,755,091,343,128,930,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,894 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static struct sadb_msg *pfkey_get_base_msg(struct sk_buff *skb, int *errp)
{
struct sadb_msg *hdr = NULL;
if (skb->len < sizeof(*hdr)) {
*errp = -EMSGSIZE;
} else {
hdr = (struct sadb_msg *) skb->data;
if (hdr->sadb_msg_version != PF_KEY_V2 ||
hdr->sadb_msg_reserved != 0 ||
(hdr->sadb_msg_type <= ... | 34,762,632,930,670,696,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,895 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_getspi(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
{
struct net *net = sock_net(sk);
struct sk_buff *resp_skb;
struct sadb_x_sa2 *sa2;
struct sadb_address *saddr, *daddr;
struct sadb_msg *out_hdr;
struct sadb_spirange *range;
struct xfrm_state *x = N... | 248,604,603,710,430,230,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,896 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline void pfkey_hdr_dup(struct sadb_msg *new,
const struct sadb_msg *orig)
{
*new = *orig;
}
| 280,281,978,162,738,970,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,897 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int __net_init pfkey_init_proc(struct net *net)
{
struct proc_dir_entry *e;
e = proc_create("pfkey", 0, net->proc_net, &pfkey_proc_ops);
if (e == NULL)
return -ENOMEM;
return 0;
}
| 46,634,714,056,995,040,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,898 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline int pfkey_init_proc(struct net *net)
{
return 0;
}
| 335,622,492,968,432,460,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,899 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void pfkey_insert(struct sock *sk)
{
struct net *net = sock_net(sk);
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
mutex_lock(&pfkey_mutex);
sk_add_node_rcu(sk, &net_pfkey->table);
mutex_unlock(&pfkey_mutex);
}
| 1,748,164,278,407,649,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,900 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
const struct sadb_msg *hdr, void * const *ext_hdrs)
{
int i, len, ret, err = -EINVAL;
u8 dir;
struct sadb_address *sa;
struct sadb_x_kmaddress *kma;
struct sadb_x_policy *pol;
struct sadb_x_ipsecrequest *rq;
struct xfrm_selector sel;
struct xfrm... | 238,927,376,486,867,600,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,901 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
const struct sadb_msg *hdr, void * const *ext_hdrs)
{
return -ENOPROTOOPT;
}
| 153,367,829,764,984,800,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,902 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline int pfkey_mode_from_xfrm(int mode)
{
switch(mode) {
case XFRM_MODE_TRANSPORT:
return IPSEC_MODE_TRANSPORT;
case XFRM_MODE_TUNNEL:
return IPSEC_MODE_TUNNEL;
case XFRM_MODE_BEET:
return IPSEC_MODE_BEET;
default:
return -1;
}
}
| 79,770,884,887,769,560,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,903 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static inline int pfkey_mode_to_xfrm(int mode)
{
switch(mode) {
case IPSEC_MODE_ANY: /*XXX*/
case IPSEC_MODE_TRANSPORT:
return XFRM_MODE_TRANSPORT;
case IPSEC_MODE_TUNNEL:
return XFRM_MODE_TUNNEL;
case IPSEC_MODE_BEET:
return XFRM_MODE_BEET;
default:
return -1;
}
}
| 134,524,147,563,353,280,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,904 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static struct xfrm_state * pfkey_msg2xfrm_state(struct net *net,
const struct sadb_msg *hdr,
void * const *ext_hdrs)
{
struct xfrm_state *x;
const struct sadb_lifetime *lifetime;
const struct sadb_sa *sa;
const struct sadb_key *key;
const struct sadb_x_sec_ctx *sec_ctx;
uint16_t proto;
int err;
sa... | 65,240,213,005,219,210,000,000,000,000,000,000,000 | af_key.c | 162,272,042,041,842,570,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,905 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static void __net_exit pfkey_net_exit(struct net *net)
{
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
pfkey_exit_proc(net);
BUG_ON(!hlist_empty(&net_pfkey->table));
}
| 239,865,374,171,577,160,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
32,906 | linux | 85dfb745ee40232876663ae206cba35f24ab2a40 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/85dfb745ee40232876663ae206cba35f24ab2a40 | af_key: initialize satype in key_notify_policy_flush()
This field was left uninitialized. Some user daemons perform check against this
field.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> | 0 | static int __net_init pfkey_net_init(struct net *net)
{
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
int rv;
INIT_HLIST_HEAD(&net_pfkey->table);
atomic_set(&net_pfkey->socks_nr, 0);
rv = pfkey_init_proc(net);
return rv;
}
| 200,985,979,297,301,430,000,000,000,000,000,000,000 | af_key.c | 279,431,052,992,845,940,000,000,000,000,000,000,000 | [
"CWE-119"
] | CVE-2013-2237 | The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notify_policy interface of an IPSec key_socket. | https://nvd.nist.gov/vuln/detail/CVE-2013-2237 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.