public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+c16daba279a1161acfb0@syzkaller.appspotmail.com>
To: dmantipov@yandex.ru, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [ocfs2?] kernel BUG in ocfs2_commit_truncate
Date: Fri, 24 Oct 2025 03:24:02 -0700	[thread overview]
Message-ID: <68fb53c2.a70a0220.3bf6c6.0192.GAE@google.com> (raw)
In-Reply-To: <20251024071156.J2MZa%dmantipov@yandex.ru>

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
UBSAN: signed-integer-overflow in ip_idents_reserve

================================================================================
UBSAN: signed-integer-overflow in ./arch/x86/include/asm/atomic.h:165:11
-498696627 + -2117033276 cannot be represented in type 'int'
CPU: 1 PID: 33 Comm: kworker/u4:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker
Call Trace:
 <IRQ>
 dump_stack+0xfd/0x16e lib/dump_stack.c:118
 ubsan_epilogue+0xa/0x30 lib/ubsan.c:148
 handle_overflow+0x192/0x1b0 lib/ubsan.c:180
 arch_atomic_add_return arch/x86/include/asm/atomic.h:165 [inline]
 atomic_add_return include/asm-generic/atomic-instrumented.h:73 [inline]
 ip_idents_reserve+0x14a/0x170 net/ipv4/route.c:521
 __ip_select_ident+0xe4/0x1c0 net/ipv4/route.c:538
 ip_select_ident_segs include/net/ip.h:525 [inline]
 ip_select_ident include/net/ip.h:532 [inline]
 __ip_make_skb+0xf78/0x19b0 net/ipv4/ip_output.c:1551
 ip_finish_skb include/net/ip.h:244 [inline]
 ip_push_pending_frames+0x2c/0x150 net/ipv4/ip_output.c:1606
 __icmp_send+0xc22/0xf70 net/ipv4/icmp.c:776
 icmp_send include/net/icmp.h:43 [inline]
 __udp4_lib_rcv+0x14e9/0x2070 net/ipv4/udp.c:2438
 ip_protocol_deliver_rcu+0x405/0x7e0 net/ipv4/ip_input.c:204
 ip_local_deliver_finish+0x1d5/0x330 net/ipv4/ip_input.c:231
 NF_HOOK+0x25a/0x2c0 include/linux/netfilter.h:296
 NF_HOOK+0x25a/0x2c0 include/linux/netfilter.h:296
 __netif_receive_skb_one_core net/core/dev.c:5395 [inline]
 __netif_receive_skb+0x144/0x380 net/core/dev.c:5509
 process_backlog+0x4ef/0x6e0 net/core/dev.c:6416
 napi_poll net/core/dev.c:6867 [inline]
 net_rx_action+0x4b1/0xc30 net/core/dev.c:6937
 __do_softirq+0x267/0x92e kernel/softirq.c:298
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0x9b/0xe0 arch/x86/kernel/irq_64.c:77
 do_softirq+0xc4/0x100 kernel/softirq.c:343
 __local_bh_enable_ip+0x121/0x160 kernel/softirq.c:195
 wg_socket_send_skb_to_peer+0x167/0x1c0 drivers/net/wireguard/socket.c:184
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0x16b/0x280 drivers/net/wireguard/send.c:51
 process_one_work+0x85b/0xfe0 kernel/workqueue.c:2282
 worker_thread+0xa9b/0x1430 kernel/workqueue.c:2428
 kthread+0x384/0x410 kernel/kthread.c:328
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
================================================================================


Tested on:

commit:         d3d0b4e2 Linux 5.10.245
git tree:       https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.10.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10f19be2580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=e1734393bfd41d2b
dashboard link: https://syzkaller.appspot.com/bug?extid=c16daba279a1161acfb0
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
patch:          https://syzkaller.appspot.com/x/patch.diff?x=151d0be2580000


       reply	other threads:[~2025-10-24 10:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20251024071156.J2MZa%dmantipov@yandex.ru>
2025-10-24 10:24 ` syzbot [this message]
     [not found] <20251029062744.Dt_0Z%dmantipov@yandex.ru>
2025-10-29 16:40 ` [syzbot] [ocfs2?] kernel BUG in ocfs2_commit_truncate syzbot
     [not found] <20251029062550.DPi_g%dmantipov@yandex.ru>
2025-10-29 15:13 ` syzbot
     [not found] <20251029062155.3faRf%dmantipov@yandex.ru>
2025-10-29  9:59 ` syzbot
     [not found] <20251028182302.s5LSI%dmantipov@yandex.ru>
2025-10-28 22:18 ` syzbot
     [not found] <20251028182112.Uxb09%dmantipov@yandex.ru>
2025-10-28 20:58 ` syzbot
     [not found] <20251028181942.Oxouk%dmantipov@yandex.ru>
2025-10-28 20:10 ` syzbot
     [not found] <20251028104201.d8y_T%dmantipov@yandex.ru>
2025-10-28 10:51 ` syzbot
     [not found] <20251028104122.AvpFW%dmantipov@yandex.ru>
2025-10-28 10:46 ` syzbot
     [not found] <20251028104008.88VPQ%dmantipov@yandex.ru>
2025-10-28 10:45 ` syzbot
     [not found] <20251024071535.FSE50%dmantipov@yandex.ru>
2025-10-24 14:26 ` syzbot
     [not found] <20251024071523.DLZkR%dmantipov@yandex.ru>
2025-10-24 13:03 ` syzbot
     [not found] <20251023133603.ZNEGS%dmantipov@yandex.ru>
2025-10-23 13:57 ` syzbot
     [not found] <20251023113536.hzwsv%dmantipov@yandex.ru>
2025-10-23 12:02 ` syzbot
     [not found] <20251022150507.AgqUs%dmantipov@yandex.ru>
2025-10-22 19:51 ` syzbot
     [not found] <20241216164356.v_RSK%dmantipov@yandex.ru>
2024-12-16 17:09 ` syzbot
     [not found] <20241216105219.nV527%dmantipov@yandex.ru>
2024-12-16 14:45 ` syzbot
2024-12-15  4:45 syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68fb53c2.a70a0220.3bf6c6.0192.GAE@google.com \
    --to=syzbot+c16daba279a1161acfb0@syzkaller.appspotmail.com \
    --cc=dmantipov@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox