Revision 1fb844961818ce94e782acf6a96b92dc2303553b authored by Alexey Dobriyan on 26 January 2007, 08:57:16 UTC, committed by Linus Torvalds on 26 January 2007, 21:51:00 UTC
Proposed patch to fix #5 in http://www.isec.pl/vulnerabilities/isec-0017-binfmt_elf.txt aka http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1073 To reproduce, do * grab poc at the end of advisory. * add line "eph.p_memsz = 4096;" after "eph.p_filesz = 4096;" where first "4096" is something equal to or greater than 4096. * ./poc /usr/bin/sudo && ls -l Here I get with 2.6.20-rc5: -rw------- 1 ad ad 102400 2007-01-15 19:17 core ---s--x--x 2 root root 101820 2007-01-15 19:15 /usr/bin/sudo Check for MAY_READ like binfmt_misc.c does. Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c20086d
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 524 bytes |
auth_gss.c | -rw-r--r-- | 32.5 KB |
gss_generic_token.c | -rw-r--r-- | 6.1 KB |
gss_krb5_crypto.c | -rw-r--r-- | 7.9 KB |
gss_krb5_mech.c | -rw-r--r-- | 6.9 KB |
gss_krb5_seal.c | -rw-r--r-- | 4.3 KB |
gss_krb5_seqnum.c | -rw-r--r-- | 2.6 KB |
gss_krb5_unseal.c | -rw-r--r-- | 4.5 KB |
gss_krb5_wrap.c | -rw-r--r-- | 8.4 KB |
gss_mech_switch.c | -rw-r--r-- | 7.6 KB |
gss_spkm3_mech.c | -rw-r--r-- | 6.4 KB |
gss_spkm3_seal.c | -rw-r--r-- | 5.5 KB |
gss_spkm3_token.c | -rw-r--r-- | 6.8 KB |
gss_spkm3_unseal.c | -rw-r--r-- | 3.7 KB |
svcauth_gss.c | -rw-r--r-- | 33.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...