syzbot


panic: runtime error: floating point error [recovered] (2)

Status: upstream: reported syz repro on 2024/12/22 14:57
Reported-by: syzbot+4fb57f15e8c895a21973@syzkaller.appspotmail.com
First crash: 526d, last: 442d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
6240c1e2-b418-40fd-a238-c1e7f95f33b9 assessment-security 💥 panic: runtime error: floating point error [recovered] (2) 2026/05/24 01:25 2026/05/24 01:25 2026/05/24 01:55 c69befb30ac10e158cc9d1557b508ee3f0eca1de failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/82afa5da2ae55d713e08231dd0b0d513aec0721d" "-s" "bzImage" "compile_commands.json"]: exit status 2 Root cause: ld.lld: error: undefined symbol: wcslen * * Restart config... * * * General architecture-dependent options * Kprobes (KPROBES) [N/y/?] n Optimize very unlikely/likely branches (JUMP_LABEL) [Y/n/?] y Static key selftest (STATIC_KEYS_SELFTEST) [N/y/?] n Static call selftest (STATIC_CALL_SELFTEST) [N/y/?] n Enable seccomp to safely execute untrusted bytecode (SECCOMP) [Y/n/?] y Show seccomp filter cache status in /proc/pid/seccomp_cache (SECCOMP_CACHE_DEBUG) [N/y/?] n Stack Protector buffer overflow detection (STACKPROTECTOR) [Y/n/?] y Strong Stack Protector (STACKPROTECTOR_STRONG) [Y/n/?] y Link Time Optimization (LTO) > 1. None (LTO_NONE) choice[1]: 1 Enable Clang's AutoFDO build (EXPERIMENTAL) (AUTOFDO_CLANG) [N/y/?] (NEW) Error in reading or end of file. Enable Clang's Propeller build (PROPELLER_CLANG) [N/y/?] (NEW) Error in reading or end of file. Use Clang's Control Flow Integrity (CFI) (CFI_CLANG) [N/y/?] (NEW) Error in reading or end of file. Number of bits to use for ASLR of mmap base address (ARCH_MMAP_RND_BITS) [28] 28 Number of bits to use for ASLR of mmap base address for compatible applications (ARCH_MMAP_RND_COMPAT_BITS) [8] 8 MMU page size > 1. 4KiB pages (PAGE_SIZE_4KB) choice[1]: 1 Provide system calls for 32-bit time_t (COMPAT_32BIT_TIME) [Y/n/?] y Use a virtually-mapped stack (VMAP_STACK) [Y/n/?] y Support for randomizing kernel stack offset on syscall entry (RANDOMIZE_KSTACK_OFFSET) [Y/n/?] y Default state of kernel stack offset randomization (RANDOMIZE_KSTACK_OFFSET_DEFAULT) [N/y/?] n Locking event counts collection (LOCK_EVENT_COUNTS) [N/y/?] n * * Kernel hardening options * Randomize layout of sensitive kernel structures > 1. Disable structure layout randomization (RANDSTRUCT_NONE) 2. Fully randomize structure layout (RANDSTRUCT_FULL) (NEW) choice[1-2?]: Error in reading or end of file. * * Compile-time checks and compiler options * Debug information 1. Disable debug information (DEBUG_INFO_NONE) 2. Rely on the toolchain's implicit default DWARF version (DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT) > 3. Generate DWARF Version 4 debuginfo (DEBUG_INFO_DWARF4) 4. Generate DWARF Version 5 debuginfo (DEBUG_INFO_DWARF5) choice[1-4?]: 3 Reduce debugging information (DEBUG_INFO_REDUCED) [N/y/?] n Compressed Debug information > 1. Don't compress debug information (DEBUG_INFO_COMPRESSED_NONE) 2. Compress debugging information with zlib (DEBUG_INFO_COMPRESSED_ZLIB) 3. Compress debugging information with zstd (DEBUG_INFO_COMPRESSED_ZSTD) (NEW) choice[1-3?]: Error in reading or end of file. Produce split debuginfo in .dwo files (DEBUG_INFO_SPLIT) [N/y/?] n Generate BTF type information (DEBUG_INFO_BTF) [N/y/?] n Provide GDB scripts for kernel debugging (GDB_SCRIPTS) [N/y/?] n Warn for stack frames larger than (FRAME_WARN) [2048] 2048 Strip assembler-generated symbols during link (STRIP_ASM_SYMS) [N/y/?] n Install uapi headers to usr/include (HEADERS_INSTALL) [N/y/?] n Make section mismatch errors non-fatal (SECTION_MISMATCH_WARN_ONLY) [Y/n/?] y Force all function address 64B aligned (DEBUG_FORCE_FUNCTION_ALIGN_64B) [N/y/?] n Generate vmlinux.map file when linking (VMLINUX_MAP) [N/y/?] n Force weak per-cpu definitions (DEBUG_FORCE_WEAK_PER_CPU) [N/y/?] n In file included from /app/workdir/cache/src/1759e1d00dea78c23836510cfd25d6c126623b99/net/socket.c:108: In file included from /app/workdir/cache/src/1759e1d00dea78c23836510cfd25d6c126623b99/include/net/busy_poll.h:18: /app/workdir/cache/src/1759e1d00dea78c23836510cfd25d6c126623b99/include/net/ip.h:481:14: warning: default initialization of an object of type 'typeof (rt->dst.expires)' (aka 'const unsigned long') leaves the object uninitialized [-Wdefault-const-init-var-unsafe] 481 | if (mtu && time_before(jiffies, rt->dst.expires)) |
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] panic: runtime error: floating point error [recovered] (2) 0 (1) 2024/12/22 14:57
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 panic: runtime error: floating point error [recovered] 2 1 774d 774d 0/2 auto-obsoleted due to no activity on 2024/07/13 09:12
android-5-15 panic: runtime error: floating point error [recovered] (2) 2 1 792d 792d 0/2 auto-obsoleted due to no activity on 2024/06/25 05:19
android-6-1 panic: runtime error: floating point error [recovered] 2 3 788d 805d 0/2 auto-obsoleted due to no activity on 2024/06/29 09:32
upstream panic: runtime error: floating point error [recovered] 2 2 774d 791d 0/29 auto-obsoleted due to no activity on 2024/07/13 03:37
android-5-15 panic: runtime error: floating point error [recovered] 2 1 1260d 1260d 0/2 auto-obsoleted due to no activity on 2023/04/11 07:35
Last patch testing requests (8)
Created Duration User Patch Repo Result
2026/05/06 19:44 19m retest repro upstream log
2026/02/25 18:45 14m retest repro upstream report log
2025/12/17 17:54 12m retest repro upstream report log
2025/10/08 17:35 15m retest repro upstream report log
2025/07/30 16:59 20m retest repro upstream log
2025/05/21 15:45 13m retest repro upstream report log
2025/03/12 15:24 13m retest repro upstream report log
2025/01/01 14:50 12m retest repro upstream report log

Sample crash report:
panic: runtime error: floating point error [recovered]
	panic: bytes.Buffer: too large
[signal SIGFPE: floating-point exception code=0x80 addr=0x0 pc=0x474d52]

goroutine 7 [running]:
bytes.growSlice.func1()
	/usr/local/go/src/bytes/buffer.go:232 +0x45
panic({0x128f240?, 0x297a930?})
	/usr/local/go/src/runtime/panic.go:770 +0x132
bytes.growSlice({0xc007442800, 0x200, 0x1?}, 0x800?)
	/usr/local/go/src/bytes/buffer.go:249 +0xb9
bytes.(*Buffer).grow(0xc001b1c5a0, 0x1)
	/usr/local/go/src/bytes/buffer.go:151 +0x13d
bytes.(*Buffer).Write(0xc001b1c5a0, {0xc001e70800, 0x1, 0x0?})
	/usr/local/go/src/bytes/buffer.go:179 +0x59
fmt.Fprintf({0x1c7d9c0, 0xc001b1c5a0}, {0x1c1a3b0, 0x1}, {0x0, 0x0, 0x0})
	/usr/local/go/src/fmt/print.go:225 +0x97
github.com/google/syzkaller/prog.(*serializer).printf(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:64
github.com/google/syzkaller/prog.(*PointerArg).serialize(0xc001d8a990, 0xc001b1c600)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:142 +0x271
github.com/google/syzkaller/prog.(*serializer).arg(0x1c7d9c0?, {0x1c9c180?, 0xc001d8a990?})
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:125 +0x29
github.com/google/syzkaller/prog.(*GroupArg).serialize(0xc001d70f20, 0xc001b1c600)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:203 +0x26d
github.com/google/syzkaller/prog.(*serializer).arg(0x1c7d9c0?, {0x1c9c240?, 0xc001d70f20?})
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:125 +0x29
github.com/google/syzkaller/prog.(*PointerArg).serialize(0xc001d8ac30, 0xc001b1c600)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:146 +0x38e
github.com/google/syzkaller/prog.(*serializer).arg(0x1c7d9c0?, {0x1c9c180?, 0xc001d8ac30?})
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:125 +0x29
github.com/google/syzkaller/prog.(*serializer).call(0xc001b1c600, 0xc0007b6190)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:86 +0x216
github.com/google/syzkaller/prog.(*Prog).serialize(0xc000ca7280, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:46 +0xd8
github.com/google/syzkaller/prog.(*Prog).Serialize(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:30
github.com/google/syzkaller/pkg/rpcserver.(*Runner).handleExecutingMessage(0xc0002746c0, 0xc007431308)
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpcserver/runner.go:371 +0x217
github.com/google/syzkaller/pkg/rpcserver.(*Runner).ConnectionLoop(0xc0002746c0)
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpcserver/runner.go:201 +0x4b9
github.com/google/syzkaller/pkg/rpcserver.(*server).connectionLoop(0xc0016da300, 0xc0002746c0)
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpcserver/rpcserver.go:356 +0x105
github.com/google/syzkaller/pkg/rpcserver.(*server).handleRunnerConn(0xc0016da300, 0xc0002746c0, 0xc00193e140)
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpcserver/rpcserver.go:294 +0x411
github.com/google/syzkaller/pkg/rpcserver.(*server).handleConn(0xc0016da300, 0xc00193e140)
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpcserver/rpcserver.go:261 +0x2b6
github.com/google/syzkaller/pkg/flatrpc.ListenAndServe.func1.1()
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/flatrpc/conn.go:55 +0x122
created by github.com/google/syzkaller/pkg/flatrpc.ListenAndServe.func1 in goroutine 53
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/flatrpc/conn.go:52 +0xb1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/18 14:49 upstream aef25be35d23 1432fc84 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream panic: runtime error: floating point error [recovered]
* Struck through repros no longer work on HEAD.