UBSAN: negation-overflow in seq_release soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. ------------[ cut here ]------------ UBSAN: negation-overflow in mm/memcontrol.c:3105:5 negation of 304 cannot be represented in type 'size_t' (aka 'unsigned long'): CPU: 0 UID: 0 PID: 6491 Comm: syz-executor Not tainted 6.15.0-rc2-syzkaller-00014-gc72692105976 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 ubsan_epilogue+0x14/0x48 lib/ubsan.c:231 __ubsan_handle_negate_overflow+0xd0/0xfc lib/ubsan.c:302 __memcg_slab_free_hook+0x8c/0x238 mm/memcontrol.c:3105 memcg_slab_free_hook mm/slub.c:2214 [inline] slab_free mm/slub.c:4643 [inline] kmem_cache_free+0x270/0x550 mm/slub.c:4748 seq_release+0x68/0x7c fs/seq_file.c:356 kernfs_fop_release+0x134/0x190 fs/kernfs/file.c:766 __fput+0x340/0x75c fs/file_table.c:465 fput_close_sync+0x160/0x1d4 fs/file_table.c:570 __do_sys_close fs/open.c:1581 [inline] __se_sys_close fs/open.c:1566 [inline] __arm64_sys_close+0x7c/0x118 fs/open.c:1566 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 ---[ end trace ]--- Warning: Permanently added '10.128.1.52' (ED25519) to the list of known hosts. 1970/01/01 00:00:39 ignoring optional flag "sandboxArg"="0" 1970/01/01 00:00:39 parsed 1 programs [ 42.940709][ T6475] cgroup: Unknown subsys name 'net' [ 43.147377][ T6475] cgroup: Unknown subsys name 'cpuset' [ 43.150961][ T6475] cgroup: Unknown subsys name 'rlimit' [ 43.441035][ T6475] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k SS [ 55.402675][ T6491] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 55.402796][ T6491] ------------[ cut here ]------------ [ 55.402815][ T6491] UBSAN: negation-overflow in mm/memcontrol.c:3105:5 [ 55.402837][ T6491] negation of 304 cannot be represented in type 'size_t' (aka 'unsigned long'): [ 55.402859][ T6491] CPU: 0 UID: 0 PID: 6491 Comm: syz-executor Not tainted 6.15.0-rc2-syzkaller-00014-gc72692105976 #0 PREEMPT [ 55.402873][ T6491] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 55.402881][ T6491] Call trace: [ 55.402884][ T6491] show_stack+0x2c/0x3c (C) [ 55.402904][ T6491] __dump_stack+0x30/0x40 [ 55.402918][ T6491] dump_stack_lvl+0xd8/0x12c [ 55.402938][ T6491] dump_stack+0x1c/0x28 [ 55.402950][ T6491] ubsan_epilogue+0x14/0x48 [ 55.402962][ T6491] __ubsan_handle_negate_overflow+0xd0/0xfc [ 55.402976][ T6491] __memcg_slab_free_hook+0x8c/0x238 [ 55.402991][ T6491] kmem_cache_free+0x270/0x550 [ 55.403004][ T6491] seq_release+0x68/0x7c [ 55.403015][ T6491] kernfs_fop_release+0x134/0x190 [ 55.403027][ T6491] __fput+0x340/0x75c [ 55.403040][ T6491] fput_close_sync+0x160/0x1d4 [ 55.403053][ T6491] __arm64_sys_close+0x7c/0x118 [ 55.403065][ T6491] invoke_syscall+0x98/0x2b8 [ 55.403077][ T6491] el0_svc_common+0x130/0x23c [ 55.403090][ T6491] do_el0_svc+0x48/0x58 [ 55.403102][ T6491] el0_svc+0x58/0x150 [ 55.403114][ T6491] el0t_64_sync_handler+0x78/0x108 [ 55.403125][ T6491] el0t_64_sync+0x198/0x19c [ 55.403139][ T6491] ---[ end trace ]--- [ 55.505519][ T6494] ------------[ cut here ]------------ [ 55.505584][ T6494] UBSAN: negation-overflow in mm/percpu.c:1665:4 [ 55.505601][ T6494] negation of 64 cannot be represented in type 'size_t' (aka 'unsigned long'): [ 55.505618][ T6494] CPU: 1 UID: 0 PID: 6494 Comm: syz.0.2 Not tainted 6.15.0-rc2-syzkaller-00014-gc72692105976 #0 PREEMPT [ 55.505632][ T6494] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 55.505639][ T6494] Call trace: [ 55.505642][ T6494] show_stack+0x2c/0x3c (C) [ 55.505662][ T6494] __dump_stack+0x30/0x40 [ 55.505676][ T6494] dump_stack_lvl+0xd8/0x12c [ 55.505688][ T6494] dump_stack+0x1c/0x28 [ 55.505700][ T6494] ubsan_epilogue+0x14/0x48 [ 55.505711][ T6494] __ubsan_handle_negate_overflow+0xd0/0xfc [ 55.505726][ T6494] free_percpu+0xe00/0xfe8 [ 55.505740][ T6494] percpu_counter_destroy_many+0x1fc/0x320 [ 55.505754][ T6494] __mmdrop+0x2b8/0x424 [ 55.505766][ T6494] __mmput+0x348/0x3dc [ 55.505787][ T6494] mmput+0x70/0xac [ 55.505798][ T6494] exit_mm+0x13c/0x200 [ 55.505820][ T6494] do_exit+0x470/0x1998 [ 55.505830][ T6494] do_group_exit+0x194/0x22c [ 55.505841][ T6494] pid_child_should_wake+0x0/0x1dc [ 55.505852][ T6494] invoke_syscall+0x98/0x2b8 [ 55.505865][ T6494] el0_svc_common+0x130/0x23c [ 55.505877][ T6494] do_el0_svc+0x48/0x58 [ 55.505889][ T6494] el0_svc+0x58/0x150 [ 55.505901][ T6494] el0t_64_sync_handler+0x78/0x108 [ 55.505912][ T6494] el0t_64_sync+0x198/0x19c [ 55.505923][ T6494] ---[ end trace ]--- [ 56.342851][ T6520] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 56.343557][ T55] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 56.343919][ T55] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 56.344536][ T55] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 56.345030][ T55] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 56.680419][ T45] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 56.683790][ T45] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 56.698757][ T628] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 56.698827][ T628] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 56.993963][ T6539] chnl_net:caif_netlink_parms(): no params data found [ 57.055155][ T6539] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.055282][ T6539] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.055393][ T6539] bridge_slave_0: entered allmulticast mode [ 57.056291][ T6539] bridge_slave_0: entered promiscuous mode [ 57.058313][ T6539] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.058398][ T6539] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.058492][ T6539] bridge_slave_1: entered allmulticast mode [ 57.059288][ T6539] bridge_slave_1: entered promiscuous mode [ 57.104454][ T6539] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 57.108896][ T6539] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 57.126376][ T6539] team0: Port device team_slave_0 added [ 57.129444][ T6539] team0: Port device team_slave_1 added [ 57.144489][ T6539] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 57.144544][ T6539] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 57.144572][ T6539] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 57.146141][ T6539] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 57.146168][ T6539] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 57.146195][ T6539] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 57.181314][ T6539] hsr_slave_0: entered promiscuous mode [ 57.181864][ T6539] hsr_slave_1: entered promiscuous mode [ 57.437209][ T6539] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 57.443254][ T6539] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 57.580742][ T6539] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 57.585033][ T6539] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 57.600479][ T6539] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.600594][ T6539] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.600941][ T6539] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.601005][ T6539] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.672889][ T6539] 8021q: adding VLAN 0 to HW filter on device bond0 [ 57.682060][ T45] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.684502][ T45] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.694102][ T6539] 8021q: adding VLAN 0 to HW filter on device team0 [ 57.698449][ T45] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.698516][ T45] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.766827][ T628] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.766922][ T628] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.856645][ T6539] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 57.881093][ T6539] veth0_vlan: entered promiscuous mode [ 57.886083][ T6539] veth1_vlan: entered promiscuous mode [ 57.900497][ T6539] veth0_macvtap: entered promiscuous mode [ 57.902346][ T6539] veth1_macvtap: entered promiscuous mode [ 57.910059][ T6539] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 57.911833][ T6539] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 57.913313][ T6539] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 57.913388][ T6539] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 57.913419][ T6539] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 57.913448][ T6539] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 58.308290][ T45] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 58.387103][ T45] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 58.476244][ T45] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 58.557060][ T45] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 1970/01/01 00:00:58 executed programs: 0 [ 59.160050][ T6043] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 59.161917][ T6043] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 59.162302][ T6043] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 59.162963][ T6043] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 59.163356][ T6043] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 59.250349][ T6581] chnl_net:caif_netlink_parms(): no params data found [ 59.288934][ T6581] bridge0: port 1(bridge_slave_0) entered blocking state [ 59.289032][ T6581] bridge0: port 1(bridge_slave_0) entered disabled state [ 59.289138][ T6581] bridge_slave_0: entered allmulticast mode [ 59.289991][ T6581] bridge_slave_0: entered promiscuous mode [ 59.291488][ T6581] bridge0: port 2(bridge_slave_1) entered blocking state [ 59.291559][ T6581] bridge0: port 2(bridge_slave_1) entered disabled state [ 59.291664][ T6581] bridge_slave_1: entered allmulticast mode [ 59.292483][ T6581] bridge_slave_1: entered promiscuous mode [ 59.316951][ T6581] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 59.318586][ T6581] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 59.335282][ T6581] team0: Port device team_slave_0 added [ 59.336843][ T6581] team0: Port device team_slave_1 added [ 59.351906][ T6581] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 59.351960][ T6581] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 59.351989][ T6581] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 59.353076][ T6581] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 59.353100][ T6581] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 59.353127][ T6581] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 59.390093][ T6581] hsr_slave_0: entered promiscuous mode [ 59.390651][ T6581] hsr_slave_1: entered promiscuous mode [ 59.391086][ T6581] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 59.391197][ T6581] Cannot create hsr debugfs directory [ 61.150672][ T45] bridge_slave_1: left allmulticast mode [ 61.150782][ T45] bridge_slave_1: left promiscuous mode [ 61.151233][ T45] bridge0: port 2(bridge_slave_1) entered disabled state [ 61.174732][ T45] bridge_slave_0: left allmulticast mode [ 61.174797][ T45] bridge_slave_0: left promiscuous mode [ 61.174941][ T45] bridge0: port 1(bridge_slave_0) entered disabled state [ 61.245151][ T55] Bluetooth: hci0: command tx timeout [ 62.887303][ T45] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 62.928552][ T45] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 62.986475][ T45] bond0 (unregistering): Released all slaves [ 63.125401][ T45] hsr_slave_0: left promiscuous mode [ 63.126014][ T45] hsr_slave_1: left promiscuous mode [ 63.126461][ T45] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 63.126509][ T45] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 63.127166][ T45] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 63.127210][ T45] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 63.161131][ T45] veth1_macvtap: left promiscuous mode [ 63.174830][ T45] veth0_macvtap: left promiscuous mode [ 63.175225][ T45] veth1_vlan: left promiscuous mode [ 63.175372][ T45] veth0_vlan: left promiscuous mode [ 63.314924][ T55] Bluetooth: hci0: command tx timeout [ 64.756845][ T2386] ieee802154 phy0 wpan0: encryption failed: -22 [ 64.758125][ T2386] ieee802154 phy1 wpan1: encryption failed: -22 [ 64.988558][ T45] team0 (unregistering): Port device team_slave_1 removed [ 65.176752][ T45] team0 (unregistering): Port device team_slave_0 removed [ 65.394907][ T55] Bluetooth: hci0: command tx timeout syzkaller build log: go env (err=) GO111MODULE='auto' GOARCH='amd64' GOBIN='' GOCACHE='/syzkaller/.cache/go-build' GOENV='/syzkaller/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/syzkaller/jobs-2/linux/gopath' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.22.7' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build535957128=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at f3558dbf03 nothing to commit, working tree clean tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env bin/syz-sysgen go fmt ./sys/... >/dev/null touch .descriptions GOOS=linux GOARCH=arm64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=f3558dbf032eab2b77c1cb11b9ce2baffe7838d3 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250103-110009'" "-tags=syz_target syz_os_linux syz_arch_arm64 " -o ./bin/linux_arm64/syz-execprog github.com/google/syzkaller/tools/syz-execprog mkdir -p ./bin/linux_arm64 aarch64-linux-gnu-g++ -o ./bin/linux_arm64/syz-executor executor/executor.cc \ -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -fpermissive -w -DGOOS_linux=1 -DGOARCH_arm64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"f3558dbf032eab2b77c1cb11b9ce2baffe7838d3\" /usr/lib/gcc-cross/aarch64-linux-gnu/12/../../../../aarch64-linux-gnu/bin/ld: /tmp/ccVlU35A.o: in function `Connection::Connect(char const*, char const*)': executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0xd8): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking