mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [syzbot] [mmc?] WARNING: ODEBUG bug in vub300_disconnect
       [not found] <6aa8a1b2.bfa0a463.33fe0e.0882SMTPIN_ADDED_BROKEN@gmr-mx.google.com>
@ 2026-09-15  2:55 ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2026-09-15  2:55 UTC (permalink / raw)
  To: jchuang26, linux-kernel, syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

SYZFAIL: failed to recv rpc

SYZFAIL: failed to recv rpc
fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor)
execution of simple program fails: NOTFAIL: arptable checkpoint: getsockopt(ARPT_SO_GET_ENTRIES) failed. table=filter (errno 22: Invalid argument).


Warning: Permanently added '[localhost]:50937' (ED25519) to the list of known hosts.
2026/09/15 02:54:08 parsed 1 programs
2026/09/15 02:54:08 serving rpc on tcp://40509
[   51.018830][ T5747] cgroup: Unknown subsys name 'net'
[   51.127646][ T5747] cgroup: Unknown subsys name 'cpuset'
[   51.131500][ T5747] cgroup: Unknown subsys name 'rlimit'
Setting up swapspace version 1, size = 127995904 bytes
[   52.520450][ T5747] Adding 124996k swap on ./swap-file.  Priority:0 extents:1 across:124996k 
[   55.451428][ T5757] soft_limit_in_bytes is deprecated and will be removed. Writing any value to this file has no effect. Please report your usecase to linux-mm@kvack.org if you depend on this functionality.
[   55.490979][   T46] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[   55.490999][   T46] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[   55.492341][ T5757] ebtables: xtables 32bit compat interface no longer supported in namespaces and will be removed soon.
[   55.510392][ T5757] arp_tables: xtables 32bit compat interface no longer supported in namespaces and will be removed soon.
[   55.641838][   T46] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[   55.641860][   T46] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[   56.829529][   T66] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[   56.830575][   T66] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[   56.831401][   T66] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[   56.832139][   T66] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[   56.832528][   T66] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[   56.932617][ T5802] ip_tables: xtables 32bit compat interface no longer supported in namespaces and will be removed soon.
[   56.932896][ T5802] ip6_tables: xtables 32bit compat interface no longer supported in namespaces and will be removed soon.
[   57.032911][ T5769] bridge0: port 1(bridge_slave_0) entered blocking state
[   57.033003][ T5769] bridge0: port 1(bridge_slave_0) entered disabled state
[   57.033119][ T5769] bridge_slave_0: entered allmulticast mode
[   57.034729][ T5769] bridge_slave_0: entered promiscuous mode
[   57.039314][ T5769] bridge0: port 2(bridge_slave_1) entered blocking state
[   57.039361][ T5769] bridge0: port 2(bridge_slave_1) entered disabled state
[   57.039450][ T5769] bridge_slave_1: entered allmulticast mode
[   57.040442][ T5769] bridge_slave_1: entered promiscuous mode
[   57.119251][ T5769] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[   57.137264][ T5769] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[   57.350160][ T5769] team0: Port device team_slave_0 added
[   57.362939][ T5769] team0: Port device team_slave_1 added
[   57.417359][ T5769] batman_adv: batadv0: Adding interface: batadv_slave_0
[   57.417377][ T5769] 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 1532 would solve the problem.
[   57.417396][ T5769] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[   57.430308][ T5769] batman_adv: batadv0: Adding interface: batadv_slave_1
[   57.430327][ T5769] 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 1532 would solve the problem.
[   57.430354][ T5769] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[   57.605499][ T5769] hsr_slave_0: entered promiscuous mode
[   57.606694][ T5769] hsr_slave_1: entered promiscuous mode
[   57.976208][ T5769] netdevsim netdevsim5 netdevsim0: renamed from eth0
[   57.987128][ T5769] 8021q: adding VLAN 0 to HW filter on device netdevsim0
[   57.988702][ T5769] netdevsim netdevsim5 netdevsim1: renamed from eth1
[   57.992159][ T5769] 8021q: adding VLAN 0 to HW filter on device netdevsim1
[   57.993845][ T5769] netdevsim netdevsim5 netdevsim2: renamed from eth2
[   58.000578][ T5769] 8021q: adding VLAN 0 to HW filter on device netdevsim2
[   58.004100][ T5769] netdevsim netdevsim5 netdevsim3: renamed from eth3
[   58.012316][ T5769] 8021q: adding VLAN 0 to HW filter on device netdevsim3
[   58.103684][ T5769] 8021q: adding VLAN 0 to HW filter on device bond0
[   58.119294][ T5769] 8021q: adding VLAN 0 to HW filter on device team0
[   58.128805][   T37] bridge0: port 1(bridge_slave_0) entered blocking state
[   58.128939][   T37] bridge0: port 1(bridge_slave_0) entered forwarding state
[   58.131296][   T37] bridge0: port 2(bridge_slave_1) entered blocking state
[   58.131377][   T37] bridge0: port 2(bridge_slave_1) entered forwarding state
[   58.510343][ T5769] 8021q: adding VLAN 0 to HW filter on device batadv0
[   58.677549][ T5769] veth0_vlan: entered promiscuous mode
[   58.685197][ T5769] veth1_vlan: entered promiscuous mode
[   58.711173][ T5769] veth0_macvtap: entered promiscuous mode
[   58.715695][ T5769] veth1_macvtap: entered promiscuous mode
[   58.730261][ T5769] batman_adv: batadv0: Interface activated: batadv_slave_0
[   58.738604][ T5769] batman_adv: batadv0: Interface activated: batadv_slave_1
[   58.775395][   T13] netdevsim netdevsim5 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[   58.776413][   T13] netdevsim netdevsim5 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[   58.776445][   T13] netdevsim netdevsim5 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[   58.776473][   T13] netdevsim netdevsim5 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[   58.837077][ T5784] netdevsim netdevsim5 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
SYZFAIL: failed to recv rpc
fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor)
execution of simple program fails: NOTFAIL: arptable checkpoint: getsockopt(ARPT_SO_GET_ENTRIES) failed. table=filter (errno 22: Invalid argument).
[   59.005630][ T5784] netdevsim netdevsim5 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   59.117565][ T5784] netdevsim netdevsim5 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   59.176795][ T5784] netdevsim netdevsim5 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   60.017438][ T5784] bridge_slave_1: left allmulticast mode
[   60.017469][ T5784] bridge_slave_1: left promiscuous mode
[   60.018373][ T5784] bridge0: port 2(bridge_slave_1) entered disabled state
[   60.023532][ T5784] bridge_slave_0: left allmulticast mode
[   60.023546][ T5784] bridge_slave_0: left promiscuous mode
[   60.023645][ T5784] bridge0: port 1(bridge_slave_0) entered disabled state
[   60.151598][ T5784] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[   60.156955][ T5784] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[   60.158031][ T5784] bond0 (unregistering): Released all slaves
[   60.230072][ T5784] hsr_slave_0: left promiscuous mode
[   60.230565][ T5784] hsr_slave_1: left promiscuous mode
[   60.230997][ T5784] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[   60.231012][ T5784] batman_adv: batadv0: Removing interface: batadv_slave_0
[   60.231870][ T5784] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[   60.231879][ T5784] batman_adv: batadv0: Removing interface: batadv_slave_1
[   60.237922][ T5784] veth1_macvtap: left promiscuous mode
[   60.238016][ T5784] veth0_macvtap: left promiscuous mode
[   60.238146][ T5784] veth1_vlan: left promiscuous mode
[   60.238231][ T5784] veth0_vlan: left promiscuous mode
[   60.377488][ T5784] team0 (unregistering): Port device team_slave_1 removed
[   60.388544][ T5784] team0 (unregistering): Port device team_slave_0 removed
[   60.447040][ T5451] 8021q: adding VLAN 0 to HW filter on device eth2
[   60.654287][ T5451] 8021q: adding VLAN 0 to HW filter on device eth4
[   60.861929][ T5451] 8021q: adding VLAN 0 to HW filter on device eth3
[   61.026589][ T5451] 8021q: adding VLAN 0 to HW filter on device eth5


syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1170068323=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod'
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'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.26.0'
GOWORK=''
PKG_CONFIG='pkg-config'

git status (err=<nil>)
HEAD detached at 1fe56c0af80
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}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=1fe56c0af80df10ab9f07819d9fa709dc9971ae1 -X github.com/google/syzkaller/prog.gitRevisionDate=20260910-094642"  ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=1fe56c0af80df10ab9f07819d9fa709dc9971ae1 -X github.com/google/syzkaller/prog.gitRevisionDate=20260910-094642"  ./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
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=1fe56c0af80df10ab9f07819d9fa709dc9971ae1 -X github.com/google/syzkaller/prog.gitRevisionDate=20260910-094642"  -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_386
x86_64-linux-gnu-g++ -o ./bin/linux_386/syz-executor executor/executor.cc \
	-m32 -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   -DGOOS_linux=1 -DGOARCH_386=1 \
	-DHOSTGOOS_linux=1 -DGIT_REVISION=\"1fe56c0af80df10ab9f07819d9fa709dc9971ae1\"
/usr/bin/ld: /tmp/ccbm6IKO.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x145): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null
[INFO] Unsupported architecture '386', skipping check.



Tested on:

commit:         58785836 Merge tag 'nfsd-7.3-1' of git://git.kernel.or..
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=85bc5cc2fc7394d9
dashboard link: https://syzkaller.appspot.com/bug?extid=f4a0159ce6802a0a4774
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
userspace arch: i386
patch:          https://syzkaller.appspot.com/x/patch.diff?x=14978df9580000


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [syzbot] [mmc?] WARNING: ODEBUG bug in vub300_disconnect
       [not found] <6aa7e4d0.62481f88.1223bb.56dcSMTPIN_ADDED_BROKEN@gmr-mx.google.com>
@ 2026-09-14 12:37 ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2026-09-14 12:37 UTC (permalink / raw)
  To: jchuang26, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
KASAN: slab-use-after-free Read in mmc_host_classdev_release

==================================================================
BUG: KASAN: slab-use-after-free in mmc_host_classdev_release+0xfb/0x120 drivers/mmc/core/host.c:70
Read of size 8 at addr ffff888029c334c8 by task kworker/u32:4/5855

CPU: 2 UID: 0 PID: 5855 Comm: kworker/u32:4 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: kvub300d vub300_deadwork_thread
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x13d/0x4b0 mm/kasan/report.c:482
 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
 mmc_host_classdev_release+0xfb/0x120 drivers/mmc/core/host.c:70
 device_release+0xd2/0x270 drivers/base/core.c:2640
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1f7/0x640 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3884
 vub300_delete drivers/mmc/host/vub300.c:379 [inline]
 kref_put include/linux/kref.h:65 [inline]
 vub300_deadwork_thread+0x22c/0x550 drivers/mmc/host/vub300.c:739
 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396
 process_scheduled_works kernel/workqueue.c:3479 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
 kthread+0x373/0x450 kernel/kthread.c:436
 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 1026:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kasan_kmalloc include/linux/kasan.h:263 [inline]
 __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5563
 _kmalloc_noprof include/linux/slab.h:991 [inline]
 _kzalloc_noprof include/linux/slab.h:1312 [inline]
 usb_alloc_dev+0x55/0x1090 drivers/usb/core/usb.c:651
 hub_port_connect drivers/usb/core/hub.c:5483 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5720 [inline]
 port_event drivers/usb/core/hub.c:5884 [inline]
 hub_event+0x2b93/0x4420 drivers/usb/core/hub.c:5966
 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396
 process_scheduled_works kernel/workqueue.c:3479 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
 kthread+0x373/0x450 kernel/kthread.c:436
 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Freed by task 5855:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2748 [inline]
 slab_free mm/slub.c:6499 [inline]
 kfree+0x22b/0x6d0 mm/slub.c:6792
 device_release+0xd2/0x270 drivers/base/core.c:2640
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1f7/0x640 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3884
 usb_put_dev+0x23/0x30 drivers/usb/core/usb.c:790
 vub300_delete drivers/mmc/host/vub300.c:378 [inline]
 kref_put include/linux/kref.h:65 [inline]
 vub300_deadwork_thread+0x224/0x550 drivers/mmc/host/vub300.c:739
 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396
 process_scheduled_works kernel/workqueue.c:3479 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
 kthread+0x373/0x450 kernel/kthread.c:436
 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

The buggy address belongs to the object at ffff888029c33000
 which belongs to the cache kmalloc-2k of size 2048
The buggy address is located 1224 bytes inside of
 freed 2048-byte region [ffff888029c33000, ffff888029c33800)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888029c31000 pfn:0x29c30
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801c042f00 ffffea0000965a10 ffffea0000854a10
raw: ffff888029c31000 0000000000080006 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801c042f00 ffffea0000965a10 ffffea0000854a10
head: ffff888029c31000 0000000000080006 00000000f5000000 0000000000000000
head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5136, tgid 5136 (klogd), ts 52095697133
 set_page_owner include/linux/page_owner.h:33 [inline]
 post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
 prep_new_page mm/page_alloc.c:1879 [inline]
 get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
 __alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
 alloc_slab_page mm/slub.c:3347 [inline]
 allocate_slab mm/slub.c:3462 [inline]
 new_slab+0xa9/0x6e0 mm/slub.c:3513
 refill_objects+0xe3/0x410 mm/slub.c:7410
 refill_sheaf mm/slub.c:2885 [inline]
 __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
 alloc_from_pcs mm/slub.c:4850 [inline]
 slab_alloc_node mm/slub.c:4984 [inline]
 __kmalloc_cache_noprof+0x4f4/0x6d0 mm/slub.c:5559
 _kmalloc_noprof include/linux/slab.h:991 [inline]
 syslog_print+0xf8/0x620 kernel/printk/printk.c:1585
 do_syslog+0x5bd/0x6d0 kernel/printk/printk.c:1763
 __do_sys_syslog kernel/printk/printk.c:1855 [inline]
 __se_sys_syslog kernel/printk/printk.c:1853 [inline]
 __x64_sys_syslog+0x74/0xb0 kernel/printk/printk.c:1853
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x121/0x770 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5737 tgid 5737 ts 44841793649 stack trace:
 reset_page_owner include/linux/page_owner.h:26 [inline]
 __free_pages_prepare mm/page_alloc.c:1418 [inline]
 __free_frozen_pages+0x79f/0x10f0 mm/page_alloc.c:2962
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4683 [inline]
 slab_alloc_node mm/slub.c:4996 [inline]
 __do_kmalloc_node mm/slub.c:5413 [inline]
 __kmalloc_noprof+0x2cc/0x840 mm/slub.c:5439
 _kmalloc_noprof include/linux/slab.h:995 [inline]
 tomoyo_add_entry security/tomoyo/common.c:2166 [inline]
 tomoyo_supervisor+0x65d/0x1340 security/tomoyo/common.c:2238
 tomoyo_audit_env_log security/tomoyo/environ.c:37 [inline]
 tomoyo_env_perm+0x191/0x200 security/tomoyo/environ.c:64
 tomoyo_environ security/tomoyo/domain.c:673 [inline]
 tomoyo_find_next_domain+0x13d7/0x2010 security/tomoyo/domain.c:889
 tomoyo_bprm_check_security security/tomoyo/tomoyo.c:102 [inline]
 tomoyo_bprm_check_security+0x12d/0x1d0 security/tomoyo/tomoyo.c:92
 security_bprm_check+0x87/0x1e0 security/security.c:820
 search_binary_handler fs/exec.c:1755 [inline]
 exec_binprm fs/exec.c:1797 [inline]
 bprm_execve fs/exec.c:1853 [inline]
 bprm_execve+0x80b/0x1940 fs/exec.c:1829
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1951
 __do_sys_execve fs/exec.c:2024 [inline]
 __se_sys_execve fs/exec.c:2018 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:2018
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x121/0x770 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888029c33380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888029c33400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888029c33480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                              ^
 ffff888029c33500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888029c33580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================


Tested on:

commit:         50d05c7c Merge tag 'landlock-7.3-rc3' of git://git.ker..
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=174c2115580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=85bc5cc2fc7394d9
dashboard link: https://syzkaller.appspot.com/bug?extid=f4a0159ce6802a0a4774
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
userspace arch: i386
patch:          https://syzkaller.appspot.com/x/patch.diff?x=15aeb5f9580000


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [syzbot] [mmc?] WARNING: ODEBUG bug in vub300_disconnect
  2026-08-25  1:37 [syzbot] [kernel?] " syzbot
@ 2026-09-11  1:36 ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2026-09-11  1:36 UTC (permalink / raw)
  To: cjb, dakr, driver-core, gregkh, johan, lgs201920130244,
	linux-kernel, linux-mmc, rafael, runyu.xiao, syzkaller-bugs,
	tony.olech, ulf.hansson, ulfh, yogeshgaur.83

syzbot has found a reproducer for the following issue on:

HEAD commit:    50d05c7c76c9 Merge tag 'landlock-7.3-rc3' of git://git.ker..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=142f5615580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=85bc5cc2fc7394d9
dashboard link: https://syzkaller.appspot.com/bug?extid=f4a0159ce6802a0a4774
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
userspace arch: i386
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=122f5615580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-50d05c7c.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/303a0ade8f9e/vmlinux-50d05c7c.xz
kernel image: https://storage.googleapis.com/syzbot-assets/70b8ca71442b/bzImage-50d05c7c.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f4a0159ce6802a0a4774@syzkaller.appspotmail.com

------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff888014529270 object type: timer_list hint: vub300_inactivity_timer_expired+0x0/0x550 drivers/mmc/host/vub300.c:1447
WARNING: lib/debugobjects.c:629 at debug_print_object+0x198/0x2b0 lib/debugobjects.c:629, CPU#1: kworker/1:4/6022
Modules linked in:
CPU: 1 UID: 0 PID: 6022 Comm: kworker/1:4 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:debug_print_object+0x1a5/0x2b0 lib/debugobjects.c:629
Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 4f 48 8d 3d 88 ce 1d 0c 41 56 48 8b 14 ed 40 3e 62 8c 4c 89 e6 <67> 48 0f b9 3a 58 83 05 e2 00 13 0c 01 48 83 c4 18 5b 5d 41 5c 41
RSP: 0000:ffffc900039d73c8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffc900039d74b0 RCX: 0000000000000000
RDX: ffffffff8c623d80 RSI: ffffffff8c623920 RDI: ffffffff91505580
RBP: 0000000000000003 R08: ffff888014529270 R09: ffffffff8bf31160
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8c623920
R13: ffffffff8bf311a0 R14: ffffffff88c79960 R15: ffffc900039d74c8
FS:  0000000000000000(0000) GS:ffff888096a60000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000361bf60 CR3: 000000004fa35000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:1171 [inline]
 debug_check_no_obj_freed+0x4da/0x630 lib/debugobjects.c:1201
 slab_free_hook mm/slub.c:2679 [inline]
 slab_free mm/slub.c:6499 [inline]
 kfree+0x3d6/0x6d0 mm/slub.c:6792
 device_release+0xd2/0x270 drivers/base/core.c:2640
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1f7/0x640 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3884
 vub300_delete drivers/mmc/host/vub300.c:379 [inline]
 kref_put.constprop.0.isra.0+0x159/0x1d0 include/linux/kref.h:65
 vub300_disconnect+0x136/0x170 drivers/mmc/host/vub300.c:2388
 usb_unbind_interface+0x1dd/0x9e0 drivers/usb/core/driver.c:461
 device_remove drivers/base/dd.c:618 [inline]
 device_remove+0x12a/0x180 drivers/base/dd.c:610
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3965
 usb_disable_device+0x367/0x810 drivers/usb/core/message.c:1478
 usb_disconnect+0x2e2/0x9a0 drivers/usb/core/hub.c:2350
 hub_port_connect drivers/usb/core/hub.c:5420 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5720 [inline]
 port_event drivers/usb/core/hub.c:5884 [inline]
 hub_event+0x1bb1/0x4420 drivers/usb/core/hub.c:5966
 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396
 process_scheduled_works kernel/workqueue.c:3479 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
 kthread+0x373/0x450 kernel/kthread.c:436
 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	b8 00 00 00 00       	mov    $0x0,%eax
   5:	00 fc                	add    %bh,%ah
   7:	ff                   	lcall  (bad)
   8:	df 48 89             	fisttps -0x77(%rax)
   b:	fa                   	cli
   c:	48 c1 ea 03          	shr    $0x3,%rdx
  10:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
  14:	75 4f                	jne    0x65
  16:	48 8d 3d 88 ce 1d 0c 	lea    0xc1dce88(%rip),%rdi        # 0xc1dcea5
  1d:	41 56                	push   %r14
  1f:	48 8b 14 ed 40 3e 62 	mov    -0x739dc1c0(,%rbp,8),%rdx
  26:	8c
  27:	4c 89 e6             	mov    %r12,%rsi
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	58                   	pop    %rax
  30:	83 05 e2 00 13 0c 01 	addl   $0x1,0xc1300e2(%rip)        # 0xc130119
  37:	48 83 c4 18          	add    $0x18,%rsp
  3b:	5b                   	pop    %rbx
  3c:	5d                   	pop    %rbp
  3d:	41 5c                	pop    %r12
  3f:	41                   	rex.B


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-15  2:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <6aa8a1b2.bfa0a463.33fe0e.0882SMTPIN_ADDED_BROKEN@gmr-mx.google.com>
2026-09-15  2:55 ` [syzbot] [mmc?] WARNING: ODEBUG bug in vub300_disconnect syzbot
     [not found] <6aa7e4d0.62481f88.1223bb.56dcSMTPIN_ADDED_BROKEN@gmr-mx.google.com>
2026-09-14 12:37 ` syzbot
2026-08-25  1:37 [syzbot] [kernel?] " syzbot
2026-09-11  1:36 ` [syzbot] [mmc?] " syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®