Candidate: CVE-2005-0530 References: FULLDISC:20050215 linux kernel 2.6 fun. windoze is a joke URL:http://marc.theaimsgroup.com/?l=full-disclosure&m=110846727602817&w=2 MISC:http://www.guninski.com/where_do_you_want_billg_to_go_today_3.html CONFIRM:http://linux.bkbits.net:8080/linux-2.6/cset@420181322LZmhPTewcCOLkubGwOL3w CONECTIVA:CLA-2005:930 URL:http://distro.conectiva.com.br/atualizacoes/index.php?id=a&anuncio=000930 SUSE:SUSE-SA:2005:018 URL:http://www.novell.com/linux/security/advisories/2005_18_kernel.html BUGTRAQ:20050315 [USN-95-1] Linux kernel vulnerabilities URL:http://marc.theaimsgroup.com/?l=bugtraq&m=111091402626556&w=2 Description: Signedness error in the copy_from_read_buf function in n_tty.c for Linux kernel 2.6.10 and 2.6.11rc1 allows local users to read kernel memory via a negative argument. Notes: dannf> This doesn't affect 2.4: marcello> v2.4 does not suffer from the issue mentioned by Guninski because marcello> the first argument of the arithmetic comparison is not casted marcello> to a "signed" value: . marcello> n = min((ssize_t)*nr, n); . marcello> That was the problem in v2.6, where an unsigned value bigger than marcello> 2^31 would be treated as a negative signed. Bugs: upstream: released (2.6.11) linux-2.6: N/A 2.6.8-sarge-security: released (2.6.8-14) [116-n_tty_copy_from_read_buf_signedness_fixes.dpatch] 2.4.27-sarge-security: N/A 2.4.19-woody-security: N/A 2.4.18-woody-security: N/A 2.4.17-woody-security: N/A 2.4.16-woody-security: N/A 2.4.17-woody-security-hppa: N/A 2.4.17-woody-security-ia64: N/A 2.4.18-woody-security-hppa: N/A