From: bugzilla-daemon@kernel.org
To: linux-bluetooth@vger.kernel.org
Subject: [Bug 221696] btmtk: regression in 6.6.142: NULL pointer dereference in btmtk_usb_hci_wmt_sync during resume from S4
Date: Thu, 02 Jul 2026 14:52:38 +0000 [thread overview]
Message-ID: <bug-221696-62941-98Fx1WnSl8@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-221696-62941@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=221696
--- Comment #9 from Matt Whitlock (kernel@mattwhitlock.name) ---
Okay, got a result that makes some sense now.
# status: waiting for both 'good' and 'bad' commits
# old: [d019930b0049fc2648a6b279893d8ad330596e81] Bluetooth: btmtk: move
btusb_mtk_hci_wmt_sync to btmtk.c
git bisect old d019930b0049fc2648a6b279893d8ad330596e81
# status: waiting for 'new' commit, 1 'old' commit known
# new: [4a50a141f05a8d1737661b19ee22ff8455b94409] Merge tag
'bootconfig-fixes-v7.2-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
git bisect new 4a50a141f05a8d1737661b19ee22ff8455b94409
# new: [115e74a29b530d121891238e9551c4bcdf7b04b5] Merge tag 'soc-dt-6.17' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect new 115e74a29b530d121891238e9551c4bcdf7b04b5
# new: [b394eabd539d01db10e27b57ac2497cbd1d32c6d] Merge tag
'chrome-platform-v6.14' of
git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
git bisect new b394eabd539d01db10e27b57ac2497cbd1d32c6d
# new: [f8ffbc365f703d74ecca8ca787318d05bbee2bf7] Merge tag
'pull-stable-struct_fd' of
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect new f8ffbc365f703d74ecca8ca787318d05bbee2bf7
# new: [c85e1497dd10879f447d6a12f97762c581093e9b] Merge tag 'i3c/for-6.11' of
git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux
git bisect new c85e1497dd10879f447d6a12f97762c581093e9b
# new: [b3ce7a30847a54a7f96a35e609303d8afecd460b] Merge tag
'drm-next-2024-07-18' of https://gitlab.freedesktop.org/drm/kernel
git bisect new b3ce7a30847a54a7f96a35e609303d8afecd460b
# new: [e2f710f97f3544df08ebe608c8157536e0ffb494] Merge tag 'ata-6.11-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
git bisect new e2f710f97f3544df08ebe608c8157536e0ffb494
# old: [cc0f7c3f97bc6e888bf4be28a9da9dbd3735d2b4] Merge tag 'soc-drivers-6.11'
of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect old cc0f7c3f97bc6e888bf4be28a9da9dbd3735d2b4
# old: [cdf471c348c1200ca243775b4b8d6eaa6d7f3979] Merge tag
'tag-chrome-platform-firmware-for-v6.11' of
git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
git bisect old cdf471c348c1200ca243775b4b8d6eaa6d7f3979
# old: [3e7819886281e077e82006fe4804b0d6b0f5643b] Merge tag
'for-6.11/block-20240710' of git://git.kernel.dk/linux
git bisect old 3e7819886281e077e82006fe4804b0d6b0f5643b
# old: [3a56e241732975c2c1247047ddbfc0ac6f6a4905] Merge tag
'for-6.11/io_uring-20240714' of git://git.kernel.dk/linux
git bisect old 3a56e241732975c2c1247047ddbfc0ac6f6a4905
# old: [7d156879ffd6c48428c2f46d5c2b4b80d9c9ee79] Merge tag
'vfs-6.11.module.description' of
git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
git bisect old 7d156879ffd6c48428c2f46d5c2b4b80d9c9ee79
# old: [2ffd45da0b06b26f30480584de7c660d84b2d7dc] Merge tag
'drm-fixes-2024-07-12' of https://gitlab.freedesktop.org/drm/kernel
git bisect old 2ffd45da0b06b26f30480584de7c660d84b2d7dc
# old: [a5819099f601c1af5b86b1f5921a56859e45b19a] Merge branch
'runtime-constants'
git bisect old a5819099f601c1af5b86b1f5921a56859e45b19a
# old: [35ce46324556ba2dbc66a88013870d8bec8a99ef] Merge tag
'x86_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect old 35ce46324556ba2dbc66a88013870d8bec8a99ef
# old: [119736c7af442ab398dbb806865988c98ef60d46] i2c: testunit: avoid
re-issued work after read message
git bisect old 119736c7af442ab398dbb806865988c98ef60d46
# old: [0830f975e021608c527887ed2d9e122e76b9e280] MAINTAINERS: VIRTIO I2C loses
a maintainer, gains a reviewer
git bisect old 0830f975e021608c527887ed2d9e122e76b9e280
# old: [ca8e83a13ace8d63ede6501a8c313fce625c141f] MAINTAINERS: delete entries
for Thor Thayer
git bisect old ca8e83a13ace8d63ede6501a8c313fce625c141f
# old: [a5db8e4544a4dc7143f30a1438686a4d5fa6d775] Merge tag 'soc-arm-6.11' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect old a5db8e4544a4dc7143f30a1438686a4d5fa6d775
# old: [0434dbe32053d07d658165be681505120c6b1abc] Merge tag
'linux_kselftest-next-6.11-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
git bisect old 0434dbe32053d07d658165be681505120c6b1abc
# new: [6706415bf9f3dcb425f4b60a08a3a6f1d94ec0e0] Merge tag
'gfs2-v6.10-rc1-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
git bisect new 6706415bf9f3dcb425f4b60a08a3a6f1d94ec0e0
# new: [af58de31bebe737235f0238843f2054996998bd5] Merge branch
'eth-fbnic-add-network-driver-for-meta-platforms-host-network-interface'
git bisect new af58de31bebe737235f0238843f2054996998bd5
# old: [30b3560050486275c6207c8c90c0d53a7cc73ac1] Merge branch
'net-make-timestamping-selectable'
git bisect old 30b3560050486275c6207c8c90c0d53a7cc73ac1
# new: [03afeb613bfe6b0c28e8b843959f716a3d2c42df] flow_dissector: set
encapsulated control flags from tun_flags
git bisect new 03afeb613bfe6b0c28e8b843959f716a3d2c42df
# new: [921ad2879aa7733620585e4904ba673c6c916dab] Bluetooth: hci_qca: use the
power sequencer for wcn7850 and wcn6855
git bisect new 921ad2879aa7733620585e4904ba673c6c916dab
# new: [d4f6acfcb0b0962e2a59165108e212a976d1f078] Bluetooth: btnxpuart: Add
support for IW615 chipset
git bisect new d4f6acfcb0b0962e2a59165108e212a976d1f078
# new: [ceac1cb0259de682d78f5c784ef8e0b13022e9d9] Bluetooth: btusb: mediatek:
add ISO data transmission functions
git bisect new ceac1cb0259de682d78f5c784ef8e0b13022e9d9
# new: [6dc22ab9f085ae165e4ce89d61fb426f94e8a969] Bluetooth: btmtk: move
btusb_recv_acl_mtk to btmtk.c
git bisect new 6dc22ab9f085ae165e4ce89d61fb426f94e8a969
# new: [5c5e8c52e3cafaa6f71efd44a42a674271e5b3ad] Bluetooth: btmtk: move
btusb_mtk_[setup, shutdown] to btmtk.c
git bisect new 5c5e8c52e3cafaa6f71efd44a42a674271e5b3ad
# first 'new' commit: [5c5e8c52e3cafaa6f71efd44a42a674271e5b3ad] Bluetooth:
btmtk: move btusb_mtk_[setup, shutdown] to btmtk.c
5c5e8c52e3cafaa6f71efd44a42a674271e5b3ad is the first 'new' commit
commit 5c5e8c52e3cafaa6f71efd44a42a674271e5b3ad
Author: Chris Lu <chris.lu@mediatek.com>
Date: Thu Jul 4 14:01:14 2024 +0800
Bluetooth: btmtk: move btusb_mtk_[setup, shutdown] to btmtk.c
Move btusb_mtk_[setup, shutdown] and related function from
btusb.c to btmtk.c which holds vendor specific stuff and
would make btusb.c clean.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btmtk.c | 454
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
drivers/bluetooth/btmtk.h | 23 ++++-
drivers/bluetooth/btusb.c | 452
+++----------------------------------------------------------------------------------------------
3 files changed, 484 insertions(+), 445 deletions(-)
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are the assignee for the bug.
next prev parent reply other threads:[~2026-07-02 14:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-27 10:13 [Bug 221696] New: btmtk: regression in 6.6.142: NULL pointer dereference in btmtk_usb_hci_wmt_sync during resume from S4 bugzilla-daemon
2026-07-01 6:42 ` [Bug 221696] " bugzilla-daemon
2026-07-02 6:46 ` bugzilla-daemon
2026-07-02 6:53 ` bugzilla-daemon
2026-07-02 8:41 ` bugzilla-daemon
2026-07-02 9:13 ` bugzilla-daemon
2026-07-02 9:25 ` bugzilla-daemon
2026-07-02 12:36 ` bugzilla-daemon
2026-07-02 14:18 ` bugzilla-daemon
2026-07-02 14:52 ` bugzilla-daemon [this message]
2026-07-06 7:07 ` bugzilla-daemon
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=bug-221696-62941-98Fx1WnSl8@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox