From: syzbot <syzbot+a49010a0e8fcdeea075f@syzkaller.appspotmail.com>
To: dmantipov@yandex.ru, linux-kernel@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [ocfs2?] KASAN: slab-use-after-free Read in ocfs2_fault
Date: Fri, 24 Oct 2025 05:02:04 -0700 [thread overview]
Message-ID: <68fb6abc.050a0220.346f24.00c9.GAE@google.com> (raw)
In-Reply-To: <20251024071157.OCQj0%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
1767536091 + 1282837187 cannot be represented in type 'int'
CPU: 0 PID: 7041 Comm: modprobe Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
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
iptunnel_xmit+0x466/0x7b0 net/ipv4/ip_tunnel_core.c:80
udp_tunnel_xmit_skb+0x1ba/0x290 net/ipv4/udp_tunnel_core.c:190
geneve_xmit_skb drivers/net/geneve.c:1004 [inline]
geneve_xmit+0x1d05/0x2140 drivers/net/geneve.c:1117
__netdev_start_xmit include/linux/netdevice.h:4824 [inline]
netdev_start_xmit include/linux/netdevice.h:4838 [inline]
xmit_one net/core/dev.c:3601 [inline]
dev_hard_start_xmit+0x294/0x780 net/core/dev.c:3617
__dev_queue_xmit+0x1678/0x28b0 net/core/dev.c:4203
neigh_output include/net/neighbour.h:509 [inline]
ip6_finish_output2+0x1020/0x1490 net/ipv6/ip6_output.c:130
NF_HOOK+0x45/0x2c0 include/linux/netfilter.h:297
mld_sendpack+0x5f9/0xa70 net/ipv6/mcast.c:1676
mld_send_cr net/ipv6/mcast.c:1972 [inline]
mld_ifc_timer_expire+0x7e1/0x990 net/ipv6/mcast.c:2471
call_timer_fn+0x105/0x440 kernel/time/timer.c:1444
expire_timers kernel/time/timer.c:1489 [inline]
__run_timers+0x5d8/0x7a0 kernel/time/timer.c:1783
run_timer_softirq+0x19/0x30 kernel/time/timer.c:1796
__do_softirq+0x23c/0x8ae 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+0x6d/0xb0 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:393 [inline]
__irq_exit_rcu+0x1e1/0x1f0 kernel/softirq.c:423
irq_exit_rcu+0x5/0x20 kernel/softirq.c:435
sysvec_apic_timer_interrupt+0x9d/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:218 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x32/0x90 kernel/kcov.c:270
Code: 14 ba 92 7e 65 8b 0d 19 ba 92 7e f7 c1 00 01 ff 00 74 11 f7 c1 00 01 00 00 74 5b 83 ba 8c 14 00 00 00 74 52 8b 8a 68 14 00 00 <83> f9 03 75 47 48 8b 8a 70 14 00 00 44 8b 8a 6c 14 00 00 49 c1 e1
RSP: 0000:ffffc90001bcfcc0 EFLAGS: 00000246
RAX: ffffffff8191dbec RBX: ffffea0002e49201 RCX: 0000000000000000
RDX: ffff88802fad0000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffea0002e49280 R08: dffffc0000000000 R09: fffff940005c9251
R10: fffff940005c9251 R11: 1ffffd40005c9250 R12: ffffea0002e49288
R13: dffffc0000000000 R14: ffffc90001bcfd18 R15: 0000000000000000
filemap_map_pages+0x59c/0xa30 mm/filemap.c:2877
do_fault_around mm/memory.c:4089 [inline]
do_read_fault mm/memory.c:4123 [inline]
do_fault mm/memory.c:4256 [inline]
handle_pte_fault mm/memory.c:4497 [inline]
__handle_mm_fault mm/memory.c:4632 [inline]
handle_mm_fault+0x16b8/0x2930 mm/memory.c:4730
do_user_addr_fault+0x468/0xa50 arch/x86/mm/fault.c:1345
handle_page_fault arch/x86/mm/fault.c:1402 [inline]
exc_page_fault+0x67/0x100 arch/x86/mm/fault.c:1458
asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571
RIP: 0033:0x7fca3eee22d0
Code: 48 89 05 f3 11 19 00 f0 48 83 0c 24 00 48 8b 0d de 11 19 00 4c 8b 5c 24 30 4c 8b 54 24 28 4c 01 f9 e9 60 fe ff ff 0f 1f 40 00 <40> 84 ff 74 3b 53 48 83 ec 40 48 8b 1d c7 eb 18 00 48 8b 83 28 03
RSP: 002b:00007ffdb7892c28 EFLAGS: 00010202
RAX: 0000000000000275 RBX: 0000000000000001 RCX: 00007fca3f177300
RDX: 00007fca3ef2ccd0 RSI: 00000000000013a8 RDI: 0000000000000001
RBP: 00007ffdb7892f00 R08: 00007fca3f1786a8 R09: 0000000000000000
R10: 00007ffdb7892c30 R11: 0000000000000246 R12: fffffffffffffff8
R13: 0000002adadffe44 R14: 0000000000000000 R15: 00007fca3f17a310
================================================================================
----------------
Code disassembly (best guess):
0: 14 ba adc $0xba,%al
2: 92 xchg %eax,%edx
3: 7e 65 jle 0x6a
5: 8b 0d 19 ba 92 7e mov 0x7e92ba19(%rip),%ecx # 0x7e92ba24
b: f7 c1 00 01 ff 00 test $0xff0100,%ecx
11: 74 11 je 0x24
13: f7 c1 00 01 00 00 test $0x100,%ecx
19: 74 5b je 0x76
1b: 83 ba 8c 14 00 00 00 cmpl $0x0,0x148c(%rdx)
22: 74 52 je 0x76
24: 8b 8a 68 14 00 00 mov 0x1468(%rdx),%ecx
* 2a: 83 f9 03 cmp $0x3,%ecx <-- trapping instruction
2d: 75 47 jne 0x76
2f: 48 8b 8a 70 14 00 00 mov 0x1470(%rdx),%rcx
36: 44 8b 8a 6c 14 00 00 mov 0x146c(%rdx),%r9d
3d: 49 rex.WB
3e: c1 .byte 0xc1
3f: e1 .byte 0xe1
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=12ef6d42580000
kernel config: https://syzkaller.appspot.com/x/.config?x=39182a54870857eb
dashboard link: https://syzkaller.appspot.com/bug?extid=a49010a0e8fcdeea075f
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=101a93e2580000
next parent reply other threads:[~2025-10-24 12:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20251024071157.OCQj0%dmantipov@yandex.ru>
2025-10-24 12:02 ` syzbot [this message]
[not found] <20251029062744.33bTD%dmantipov@yandex.ru>
2025-10-29 16:53 ` [syzbot] [ocfs2?] KASAN: slab-use-after-free Read in ocfs2_fault syzbot
[not found] <20251029062550.sAACz%dmantipov@yandex.ru>
2025-10-29 13:29 ` syzbot
[not found] <20251029062155.ZlWxZ%dmantipov@yandex.ru>
2025-10-29 11:35 ` syzbot
[not found] <20251028182304.-64lK%dmantipov@yandex.ru>
2025-10-28 22:52 ` syzbot
[not found] <20251028182114.wDf39%dmantipov@yandex.ru>
2025-10-28 21:03 ` syzbot
[not found] <20251028181943.j7Uu3%dmantipov@yandex.ru>
2025-10-28 20:38 ` syzbot
[not found] <20251028104201.w8D7a%dmantipov@yandex.ru>
2025-10-28 10:51 ` syzbot
[not found] <20251028104122.gAypg%dmantipov@yandex.ru>
2025-10-28 10:47 ` syzbot
[not found] <20251028104009.2mUGn%dmantipov@yandex.ru>
2025-10-28 10:45 ` syzbot
[not found] <20251024071535.JI8ba%dmantipov@yandex.ru>
2025-10-24 14:35 ` syzbot
[not found] <20251024071524.sGwkk%dmantipov@yandex.ru>
2025-10-24 13:27 ` syzbot
[not found] <20251022161344.c0bRW%dmantipov@yandex.ru>
2025-10-22 20:03 ` syzbot
[not found] <20251022150456.SU9Z4%dmantipov@yandex.ru>
2025-10-22 19:44 ` syzbot
2024-09-12 9:21 syzbot
2024-10-11 4:40 ` syzbot
2025-09-19 4:01 ` 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=68fb6abc.050a0220.346f24.00c9.GAE@google.com \
--to=syzbot+a49010a0e8fcdeea075f@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.