lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACT4Y+bQaAB5Z0J2=GV7MepYs6gRopMw-qGRSv7ufMe9xQ5Z6w@mail.gmail.com>
Date:   Mon, 20 Feb 2023 08:51:28 +0100
From:   Dmitry Vyukov <dvyukov@...gle.com>
To:     hdanton@...a.com
Cc:     linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com,
        syzbot <syzbot+f61594de72d6705aea03@...kaller.appspotmail.com>
Subject: Re: [syzbot] [bridge?] [netfilter?] KASAN: vmalloc-out-of-bounds Read
 in __ebt_unregister_table

Hi Hillf,

I see that Florian also tested a fix for this:
https://syzkaller.appspot.com/bug?extid=f61594de72d6705aea03
It looks like Florian figured out something about this bug.


On Mon, 20 Feb 2023 at 08:40, syzbot
<syzbot+f61594de72d6705aea03@...kaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot tried to test the proposed patch but the build/boot failed:
>
> BUG: program execution failed: executor NUM: exit status NUM
>
> executing program
> 2023/02/20 07:39:21 SYZFATAL: BUG: program execution failed: executor 0: exit status 67
> SYZFAIL: ebtable checkpoint: getsockopt(EBT_SO_GET_INIT_INFO) failed
> table=broute (errno 22: Invalid argument)
> loop exited with status 67
>
> SYZFAIL: ebtable checkpoint: getsockopt(EBT_SO_GET_INIT_INFO) failed
> table=broute (errno 22: Invalid argument)
> loop exited with status 67
>
>
> forked to background, child pid 4644
> no interfaces have a carri[   21.644085][ T4645] 8021q: adding VLAN 0 to HW filter on device bond0
> er
> [   21.654665][ T4645] eql: remember to turn off Van-Jacobson compression on your slave devices
> Starting sshd: OK
>
> syzkaller
> Warning: Permanently added '10.128.1.147' (ECDSA) to the list of known hosts.
> 2023/02/20 07:39:16 fuzzer started
> 2023/02/20 07:39:16 connecting to host at 10.128.0.169:38103
> 2023/02/20 07:39:16 checking machine...
> 2023/02/20 07:39:16 checking revisions...
> 2023/02/20 07:39:16 testing simple program...
> syzkaller login: [   41.158159][ T5072] cgroup: Unknown subsys name 'net'
> [   41.280558][ T5072] cgroup: Unknown subsys name 'rlimit'
> [   41.458767][   T47] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
> [   41.466801][   T47] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
> [   41.474302][   T47] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
> [   41.482242][   T47] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
> [   41.489962][   T47] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
> [   41.497314][   T47] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
> [   41.575513][ T5074] chnl_net:caif_netlink_parms(): no params data found
> [   41.605498][ T5074] bridge0: port 1(bridge_slave_0) entered blocking state
> [   41.612704][ T5074] bridge0: port 1(bridge_slave_0) entered disabled state
> [   41.621073][ T5074] device bridge_slave_0 entered promiscuous mode
> [   41.629011][ T5074] bridge0: port 2(bridge_slave_1) entered blocking state
> [   41.636311][ T5074] bridge0: port 2(bridge_slave_1) entered disabled state
> [   41.644219][ T5074] device bridge_slave_1 entered promiscuous mode
> [   41.660216][ T5074] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
> [   41.670509][ T5074] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
> [   41.687969][ T5074] team0: Port device team_slave_0 added
> [   41.694592][ T5074] team0: Port device team_slave_1 added
> [   41.707841][ T5074] batman_adv: batadv0: Adding interface: batadv_slave_0
> [   41.714774][ T5074] 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.
> [   41.740979][ T5074] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
> [   41.753328][ T5074] batman_adv: batadv0: Adding interface: batadv_slave_1
> [   41.760417][ T5074] 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.
> [   41.786578][ T5074] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
> [   41.808751][ T5074] device hsr_slave_0 entered promiscuous mode
> [   41.815328][ T5074] device hsr_slave_1 entered promiscuous mode
> [   41.868811][ T5074] netdevsim netdevsim0 netdevsim0: renamed from eth0
> [   41.878202][ T5074] netdevsim netdevsim0 netdevsim1: renamed from eth1
> [   41.886794][ T5074] netdevsim netdevsim0 netdevsim2: renamed from eth2
> [   41.894950][ T5074] netdevsim netdevsim0 netdevsim3: renamed from eth3
> [   41.910541][ T5074] bridge0: port 2(bridge_slave_1) entered blocking state
> [   41.917682][ T5074] bridge0: port 2(bridge_slave_1) entered forwarding state
> [   41.925140][ T5074] bridge0: port 1(bridge_slave_0) entered blocking state
> [   41.932231][ T5074] bridge0: port 1(bridge_slave_0) entered forwarding state
> [   41.961982][ T5074] 8021q: adding VLAN 0 to HW filter on device bond0
> [   41.975137][ T5074] 8021q: adding VLAN 0 to HW filter on device team0
> [   41.982463][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
> [   41.991359][ T5085] bridge0: port 1(bridge_slave_0) entered disabled state
> [   41.999460][ T5085] bridge0: port 2(bridge_slave_1) entered disabled state
> [   42.007256][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
> [   42.019018][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready
> [   42.027409][   T22] bridge0: port 1(bridge_slave_0) entered blocking state
> [   42.034725][   T22] bridge0: port 1(bridge_slave_0) entered forwarding state
> [   42.057701][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready
> [   42.066041][   T22] bridge0: port 2(bridge_slave_1) entered blocking state
> [   42.073143][   T22] bridge0: port 2(bridge_slave_1) entered forwarding state
> [   42.081105][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready
> [   42.089690][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready
> [   42.097954][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready
> [   42.105963][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready
> [   42.114939][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready
> [   42.124330][ T5074] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready
> [   42.210712][ T5074] 8021q: adding VLAN 0 to HW filter on device batadv0
> [   42.218113][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready
> [   42.225438][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready
> [   42.239448][   T22] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready
> [   42.253747][ T5074] device veth0_vlan entered promiscuous mode
> [   42.260990][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready
> [   42.269189][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready
> [   42.277611][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready
> [   42.287989][ T5074] device veth1_vlan entered promiscuous mode
> [   42.301815][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready
> [   42.309984][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready
> [   42.318401][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready
> [   42.329281][ T5074] device veth0_macvtap entered promiscuous mode
> [   42.338518][ T5074] device veth1_macvtap entered promiscuous mode
> [   42.350723][ T5074] batman_adv: batadv0: Interface activated: batadv_slave_0
> [   42.358825][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready
> [   42.368262][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready
> [   42.378872][ T5074] batman_adv: batadv0: Interface activated: batadv_slave_1
> [   42.386287][ T5086] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
> [   42.396632][ T5074] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
> [   42.405419][ T5074] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
> [   42.414360][ T5074] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
> [   42.423211][ T5074] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
> [   42.463113][   T55] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
> [   42.471160][   T55] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
> [   42.482258][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> [   42.491386][   T55] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
> [   42.499597][   T55] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
> [   42.507812][ T5085] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
> executing program
> 2023/02/20 07:39:21 SYZFATAL: BUG: program execution failed: executor 0: exit status 67
> SYZFAIL: ebtable checkpoint: getsockopt(EBT_SO_GET_INIT_INFO) failed
> table=broute (errno 22: Invalid argument)
> loop exited with status 67
>
> SYZFAIL: ebtable checkpoint: getsockopt(EBT_SO_GET_INIT_INFO) failed
> table=broute (errno 22: Invalid argument)
> loop exited with status 67
> [   46.245969][ T3557] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
>
>
> syzkaller build log:
> go env (err=<nil>)
> 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/linux/gopath/pkg/mod"
> GONOPROXY=""
> GONOSUMDB=""
> GOOS="linux"
> GOPATH="/syzkaller/jobs/linux/gopath"
> GOPRIVATE=""
> GOPROXY="https://proxy.golang.org,direct"
> GOROOT="/usr/local/go"
> GOSUMDB="sum.golang.org"
> GOTMPDIR=""
> GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
> GOVCS=""
> GOVERSION="go1.17"
> GCCGO="gccgo"
> AR="ar"
> CC="gcc"
> CXX="g++"
> CGO_ENABLED="1"
> GOMOD="/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod"
> CGO_CFLAGS="-g -O2"
> CGO_CPPFLAGS=""
> CGO_CXXFLAGS="-g -O2"
> CGO_FFLAGS="-g -O2"
> CGO_LDFLAGS="-g -O2"
> PKG_CONFIG="pkg-config"
> GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2682014572=/tmp/go-build -gno-record-gcc-switches"
>
> git status (err=<nil>)
> HEAD detached at 851bc19a3
> 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:32: run command via tools/syz-env for best compatibility, see:
> Makefile:33: 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
> bin/syz-sysgen
> touch .descriptions
> GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=851bc19a3c4615f6653414b6deec9b9e84c8ca58 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230216-173454'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
> GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=851bc19a3c4615f6653414b6deec9b9e84c8ca58 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230216-173454'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
> GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=851bc19a3c4615f6653414b6deec9b9e84c8ca58 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230216-173454'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
> mkdir -p ./bin/linux_amd64
> gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \
>         -m64 -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 -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
>         -DHOSTGOOS_linux=1 -DGIT_REVISION=\"851bc19a3c4615f6653414b6deec9b9e84c8ca58\"
>
>
>
> Tested on:
>
> commit:         3ac88fa4 Merge tag 'net-6.2-final' of git://git.kernel..
> git tree:       https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> kernel config:  https://syzkaller.appspot.com/x/.config?x=fe56f7d193926860
> dashboard link: https://syzkaller.appspot.com/bug?extid=f61594de72d6705aea03
> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> patch:          https://syzkaller.appspot.com/x/patch.diff?x=17c96c30c80000
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@...glegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/00000000000074a5d005f51cc69c%40google.com.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ