Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UBSAN warning #2196

Closed
EvgeniiMekhanik opened this issue Aug 5, 2024 · 1 comment
Closed

UBSAN warning #2196

EvgeniiMekhanik opened this issue Aug 5, 2024 · 1 comment
Labels
Milestone

Comments

@EvgeniiMekhanik
Copy link
Contributor

EvgeniiMekhanik commented Aug 5, 2024

[ 3460.669245] UBSAN: invalid-load in ./include/net/mptcp.h:67:19
[ 3460.670334] load of value 100 is not a valid value for type '_Bool'
[ 3460.674435] UBSAN: invalid-load in ./include/net/mptcp.h:67:19
[ 3460.675420] load of value 100 is not a valid value for type '_Bool'
[ 3466.783075] BUG: unable to handle page fault for address: ffffffffffffffae
[ 3466.784469] #PF: supervisor read access in kernel mode
[ 3466.785371] #PF: error_code(0x0000) - not-present page
[ 3466.786324] PGD 236415067 P4D 236415067 PUD 236417067 PMD 0 
[ 3466.787279] Oops: 0000 [#1] SMP PTI
[ 3466.787941] CPU: 22 PID: 0 Comm: swapper/22 Tainted: G        W  OE     5.10.35+ #4
[ 3466.793957] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.15.0-1 04/01/2014
[ 3466.795349] RIP: 0010:__inet_lookup_established+0x5f/0x140
[ 3466.800903] Code: 45 89 cc 49 09 c2 48 83 ec 10 4d 89 d5 e8 a9 fe ff ff 41 89 c0 89 c1 48 8b 03 44 23 43 10 4e 8d 34 c0 49 8b 1e f6 c3 01 75 7c <39> 4b a0 75 6f 44 39 63 a4 75 69 4c 39 6b 98 75 63 8b 43 ac 3b 45
[ 3466.803944] RSP: 0018:ffffa703005c4d30 EFLAGS: 00010246
[ 3466.804857] RAX: ffff9a6422500000 RBX: 000000000000000e RCX: 00000000c6159f4c
[ 3466.806064] RDX: 0000000000000000 RSI: 00000000d69b5c97 RDI: ffffffffb90172c0
[ 3466.807228] RBP: ffffa703005c4d68 R08: 0000000000019f4c R09: 0000000001bb442f
[ 3466.807804] [tempesta fw] 79.117.245.240 "player-metrics.kinescope.io.vhost_main" "POST /v1/batch/gzip?referrer=https%3A%2F%2Fsportcast.online%2F HTTP/2.0" 200 0 "https://embed.new.video/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
[ 3466.808442] R10: 647aa8c0b552ad1f R11: 0000000000000001 R12: 0000000001bb442f
[ 3466.808444] R13: 647aa8c0b552ad1f R14: ffff9a64225cfa60 R15: ffffffffb90172c0
[ 3466.815261] FS:  0000000000000000(0000) GS:ffff9a676fb80000(0000) knlGS:0000000000000000**
[ 3466.816665] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3466.816669] CR2: ffffffffffffffae CR3: 00000001b2126006 CR4: 0000000000770ee0
[ 3466.826238] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 3466.826240] PKRU: 55555554
[ 3466.826240] Call Trace:
[ 3466.826244]  <IRQ>
[ 3466.836467]  tcp_v4_early_demux+0xb1/0x160
[ 3466.871617]  ip_rcv_finish+0x6d/0xa0
[ 3466.881947]  ip_rcv+0xce/0xe0
[ 3466.892628]  ? ip_rcv_finish_core.constprop.0+0x470/0x470
[ 3466.911838]  __netif_receive_skb_one_core+0x86/0xa0
[ 3466.922450]  __netif_receive_skb+0x18/0x60
[ 3466.939880]  process_backlog+0x9e/0x170
[ 3466.958326]  net_rx_action+0x13b/0x430
[ 3466.969528]  __do_softirq+0xe3/0x340
[ 3466.986780]  asm_call_irq_on_stack+0x12/0x20
[ 3467.004516]  </IRQ>
[ 3467.004523]  do_softirq_own_stack+0x3d/0x50
[ 3467.015592]  irq_exit_rcu+0xa2/0xe0
[ 3467.035076]  sysvec_call_function_single+0x3d/0x90
[ 3467.052653]  asm_sysvec_call_function_single+0x12/0x20
[ 3467.063899] RIP: 0010:native_safe_halt+0xe/0x10
[ 3467.082082] Code: 39 ff ff ff 4c 89 ee 48 c7 c7 a0 ba c5 b8 e8 89 64 91 ff e9 01 ff ff ff cc cc cc cc e9 07 00 00 00 0f 00 2d 96 55 47 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 86 55 47 00 f4 c3 cc cc 0f 1f 44 00
[ 3467.100749] RSP: 0018:ffffa70300133e88 EFLAGS: 00000206
[ 3467.126130] RAX: ffffffffb7d96750 RBX: 0000000000000016 RCX: ffff9a676fbacdc0
[ 3467.144698] RDX: 00000000005c0242 RSI: 0000000000000082 RDI: 0000000000000082
[ 3467.158606] RBP: ffffa70300133e90 R08: 000000cd42e4dffb R09: 0000000000000400
[ 3467.158607] R10: 00000327274ade1e R11: 0000000000000000 R12: ffff9a64203c1ec0
[ 3467.158608] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 3467.158615]  ? __sched_text_end+0x4/0x4
[ 3467.171811]  ? default_idle+0xe/0x20
[ 3467.192356]  arch_cpu_idle+0x15/0x20
[ 3467.192361]  default_idle_call+0x3d/0xc0
[ 3467.210116]  do_idle+0x215/0x2a0
[ 3467.221076]  cpu_startup_entry+0x20/0x30
[ 3467.238372]  start_secondary+0x145/0x1b0
[ 3467.238378]  secondary_startup_64_no_verify+0xc2/0xcb
[ 3468.071758] CR2: ffffffffffffffae
[ 3468.083852] ---[ end trace d76fd58eef6f92eb ]---
[ 3468.101153] RIP: 0010:__inet_lookup_established+0x5f/0x140
[ 3468.118532] Code: 45 89 cc 49 09 c2 48 83 ec 10 4d 89 d5 e8 a9 fe ff ff 41 89 c0 89 c1 48 8b 03 44 23 43 10 4e 8d 34 c0 49 8b 1e f6 c3 01 75 7c <39> 4b a0 75 6f 44 39 63 a4 75 69 4c 39 6b 98 75 63 8b 43 ac 3b 45
[ 3468.173801] RAX: ffff9a6422500000 RBX: 000000000000000e RCX: 00000000c6159f4c
[ 3468.173802] RDX: 0000000000000000 RSI: 00000000d69b5c97 RDI: ffffffffb90172c0
[ 3468.173803] RBP: ffffa703005c4d68 R08: 0000000000019f4c R09: 0000000001bb442f
[ 3468.173803] R10: 647aa8c0b552ad1f R11: 0000000000000001 R12: 0000000001bb442f
[ 3468.173804] R13: 647aa8c0b552ad1f R14: ffff9a64225cfa60 R15: ffffffffb90172c0
[ 3468.173805] FS:  0000000000000000(0000) GS:ffff9a676fb80000(0000) knlGS:0000000000000000
[ 3468.173807] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

@EvgeniiMekhanik
Copy link
Contributor Author

The problem was in memory corruption in hpack, which corrupt memory in random place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants