Commit Graph

5495 Commits (2021.7)
 

Author SHA1 Message Date
edrikk e5b0bc52ba mtd: phram: fix memory leak
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=f17f12ce9dd6ec0a8e1f415ecdbaebfce0207464

Commit 4f678a58 (mtd: fix memory leaks in phram_setup) missed two cases where the memory allocated for name would be leaked. This commit frees the memory when register_device() fails and on unregister_devices().
10 years ago
edrikk bd668a943f netfilter: nf_conntrack: fix sysctl memory leak
Cherry Picking:  http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=fe8f661f2c2bb058822f13f6f232e121bde1338f

Message in log because sysctl table was not empty at netns exit
 WARNING: at net/sysctl_net.c:84 sysctl_net_exit+0x2a/0x2c()

Instrumenting showed that the nf_conntrack_timestamp was the entry
that was being created but not cleared.
10 years ago
edrikk 490e0f66d1 fix cdev leak on O_PATH final fput()
__fput doesn't need a cdev_put() for O_PATH handles.

Cherry picking:  http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=60ed8cf78f886753e454b671841c0a3a0e55e915
10 years ago
edrikk 7b271c1c66 drivers/misc/atmel_tclib.c: fix a memory leak
Cherry Picked:  http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=a844b43ca078d7dd8f0cd13c6f030ec62a996975

request_mem_region() will call kzalloc to allocate memory for struct
resource.  release_resource() unregisters the resource but does not free
the allocated memory, thus use release_mem_region() instead to fix the
memory leak.
10 years ago
edrikk 0a141073f8 proc: disable mem_write after exec
Cherry Picking:  http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=26947f8c8f9598209001cdcd31bb2162a2e54691

This change makes mem_write() observe the same constraints as mem_read().  This
is particularly important for mem_write as an accidental leak of the fd across
an exec could result in arbitrary modification of the target process' memory.
IOW, /proc/pid/mem is implicitly close-on-exec.
10 years ago
edrikk f3af29636e proc: protect mm start_code/end_code in /proc/pid/stat
Cherry picking:  http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=5883f57ca0008ffc93e09cbb9847a1928e50c6f3


While mm->start_stack was protected from cross-uid viewing (commit
f83ce3e6b02d5 ("proc: avoid information leaks to non-privileged
processes")), the start_code and end_code values were not.  This would
allow the text location of a PIE binary to leak, defeating ASLR.

Addresses CVE-2011-0726
10 years ago
edrikk 6e43135ef3 char/tpm: Fix unitialized usage of data buffer
This patch fixes information leakage to the userspace by initializing
the data buffer to zero.

http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=1309d7afbed112f0e8e90be9af975550caa0076b
10 years ago
edrikk 0bec91ed18 genirq: Fix cpumask leak in __setup_irq()
The allocated cpumask should be freed in __setup_irq().

http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=4f5058c3b71ed5930bb2b478c4d5dbc799dd9ad1
10 years ago
edrikk f2b7a146ab netfilter_dscp_ipv6_mangle.patch from openwrt, which is backport upstream Kernel commit 1ed2f73d90fb49bcf5704aee7e9084adb882bfc5 (netfilter: IPv6: fix DSCP mangle code).
netfilter: IPv6: fix DSCP mangle code

The mask indicates the bits one wants to zero out, so it needs to be inverted before applying to the original TOS field.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
10 years ago
Shibby 5a24a5b60f switch4g: lot of improvements 10 years ago
Shibby 6b81c60bc5 4G: backport cdc_ether module from Oleg 10 years ago
tsynik c4090b397f long boot fix 10 years ago
Shibby cc4b317011 Merged in ksanderson/tomato-arm/layer7 (pull request #19)
Conflicts:
	release/src-rt-6.x.4708/linux/linux-2.6.36/net/netfilter/Kconfig
10 years ago
pl_shibby 5ca50da9b0 Merged in edrikk/tomato-arm-minor-asp-fix (pull request #18)
www fixes (asp, css)
10 years ago
pl_shibby f397ebd975 Merged in edrikk/tomato-arm-layer7-patch-for-linux-2.6.35 (pull request #17)
Update xt_layer7 to version 2.23, adding patch to make it work with kernel 2.6.35 and above.
10 years ago
pl_shibby 9e237a26a4 Merged in edrikk/tomato-arm-dnsmasq-performance-options (pull request #15)
Couple of dnsmasq performance optimization options
10 years ago
pl_shibby b10e94e7d7 Merged in edrikk/tomato-arm-netfilter-fixes (pull request #16)
One netfilter memory leak fix, and one backport
10 years ago
Tvlz b4f19bb91b Re-enable IPv6 Debug Logging
by setting debug_ipv6=1 in nvram

REVERT: WIDE-DHCPV6: reduce size by disabling debug logging at compile time
Tomato Git Commit:54859dca1f85a97261b7d6e70b1247e0ca1ad3c5
10 years ago
edrikk 1e89d94e9b add missing semicolons. 10 years ago
edrikk 0f5ce1bb4a Delete duplicated function ymText(yr, mo) 10 years ago
edrikk a7c045b9c5 Fixed cosmetics of check() procedure -- indentations. 10 years ago
edrikk 004bc00a22 Since NF_CT_ACCT is gone, Accounting has to be enabled in code...
Setting nf_ct_set_acct(par->net, true)
10 years ago
edrikk 8d53a98257 Adding some semi-colons 10 years ago
edrikk 2eb4a7ce93 Add missing semi-colon. 10 years ago
edrikk 9b0486d6e3 Add missing semi-colon 10 years ago
edrikk b665ff5887 Fix missing semi-colon for ip6 lan stats. 10 years ago
Tvlz 688f65c62e Merge branch 'shibby-arm' of https://bitbucket.org/pl_shibby/tomato-arm into shibby-arm 10 years ago
edrikk 22cf3e008a Added a couple of divs to get rid of dangling /divs 10 years ago
edrikk 26b3e8b615 Added div to account for dangling /div 10 years ago
edrikk e9627486e4 Adding opening div as /div was dangling. Didn't want to remove it... 10 years ago
edrikk c2e04bd0bd Fixed typo "blanc" which should be "blank". Removed close font when it wasn't opened. Added open divs in two places because the close ones were dangling. 10 years ago
edrikk 40d7d0860a Added missing tag closures 10 years ago
edrikk b43faf2274 Add a number of missing closing html tags 10 years ago
edrikk a53efe608f Fix typo. "tyle" -> "type" 10 years ago
edrikk de3a14abb1 Fix typo. "tyle" -> "type" 10 years ago
edrikk 3e911c624d Fix typo. "tyle" -> "type" 10 years ago
edrikk 40a37b0091 Removing extra "," which resulted in broken CSS/ruleset being dropped. The CSS now passes W3C check. 10 years ago
edrikk e1e365b3eb Removed NF_CT_ACCT from NETFILTER_XT_MATCH_LAYER7 as per Kyle Sanderson's finding that it is causing module not to compile. 10 years ago
Kyle Sanderson 78d407bbd7 Permit NETFILTER_XT_MATCH_LAYER7 to be built. 10 years ago
edrikk 5612d69a25 Incorporating patch for .36 found at: This aligns with other code in Tomato as well, so it seems sane...
https://lists.openwrt.org/pipermail/openwrt-devel/2014-May/025280.html
10 years ago
edrikk 2f25907d1c Merged pl_shibby/tomato-arm into shibby-arm 10 years ago
edrikk 334adac009 added missing ";" 10 years ago
edrikk 0e0346aeb1 Implementing patch for kernel 2.6.35+, as per: 0224fec05b 10 years ago
edrikk baac61dab5 Implementing patch for kernel 2.6.35+, as per: 0224fec05b 10 years ago
edrikk dbbf7a38a7 Implementing patch for kernel 2.6.35+, as per: 0224fec05b 10 years ago
edrikk 0698d803fa Implementing patch for kernel 2.6.35+, as per: 0224fec05b 10 years ago
edrikk 937446b08d handle negation correctly. backported from 0354b48f63 10 years ago
edrikk b467fee530 Small memory leak fix. 10 years ago
Shibby eeadb01947 GUI: Allow users to decide which NTFS driver they want to use cd ..
fix paragon driver definition
10 years ago
edrikk 1b58d09991 services.c edited online with Bitbucket 10 years ago