Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1318320 > unrolled thread

UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2

Started byToralf Förster <toralf.foerster@gmx.de>
First post2016-01-26 20:50 +0100
Last post2016-01-26 22:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and UBSAN:  Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2 Toralf Förster <toralf.foerster@gmx.de> - 2016-01-26 20:50 +0100
    Re: UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and  UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2 Eric Dumazet <eric.dumazet@gmail.com> - 2016-01-26 22:40 +0100

#1318320 — UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2

FromToralf Förster <toralf.foerster@gmx.de>
Date2016-01-26 20:50 +0100
SubjectUBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2
Message-ID<qVhMK-qV-9@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

at a 32 nbit KVM image of a Gentoo Linux runniogn v4.5-rc1 - attached is /var/log/messages

-- 
Toralf, pgp: C4EACDDE 0076E94E

[toc] | [next] | [standalone]


#1318411 — Re: UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2

FromEric Dumazet <eric.dumazet@gmail.com>
Date2016-01-26 22:40 +0100
SubjectRe: UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22 and UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2
Message-ID<qVjvc-1Q5-7@gated-at.bofh.it>
In reply to#1318320
On Tue, 2016-01-26 at 20:45 +0100, Toralf Förster wrote:
> at a 32 nbit KVM image of a Gentoo Linux runniogn v4.5-rc1 - attached is /var/log/messages
> 

Jan 26 20:40:04 n22kvm-clone kernel: ================================================================================
Jan 26 20:40:04 n22kvm-clone kernel: UBSAN: Undefined behaviour in net/ipv4/fib_trie.c:1397:22
Jan 26 20:40:04 n22kvm-clone kernel: shift exponent 32 is too large for 32-bit type 'long unsigned int'
Jan 26 20:40:04 n22kvm-clone kernel: CPU: 1 PID: 2050 Comm: dhcpcd Not tainted 4.5.0-rc1 #1
Jan 26 20:40:04 n22kvm-clone kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014

Thanks for the report.

CC netdev and Alexander

Commit 79e5ad2ceb006
("fib_trie: Remove leaf_info ")

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web