lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 14 Apr 2007 19:16:50 +0200
From:	Patrick McHardy <kaber@...sh.net>
To:	David Miller <davem@...emloft.net>
CC:	drraid@...il.com, linux-kernel@...r.kernel.org
Subject: Re: Kernel 2.6.20.4 Unaligned address

David Miller wrote:
> From: "doctor raid" <drraid@...il.com>
> Date: Tue, 10 Apr 2007 16:02:01 -0700
> 
> 
>>[1] kernel errors reporting unaligned access of memory
>>[2]  The following two lines iterate twice a piece, about once every 2 minutes:
>>
>>      Kernel unaligned access at TPC[79c344] arpt_do_table+0x3cc/0x640
>>       Kernel unaligned access at TPC[79c33c] arpt_do_table+0x3c4/0x640
> 
> 
> This patch below should fix this problem.
> 
> Patrick I'm going to push this to Linus.  Even if it doesn't
> fix this person's problem, either both the input device loop
> and the output device loop should use the "long" casting
> optimization or both should not :-)


Looks good, thanks Dave. On 64 bit both interfaces are unaligned
within struct arpt_arp:

char                       iniface[16];          /*    94    16 */
char                       outiface[16];         /*   110    16 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ