Linux bluetooth development
 help / color / mirror / Atom feed
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 12:36:51 +0000	[thread overview]
Message-ID: <bug-221696-62941-lgDWNpUW8i@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 #7 from Matt Whitlock (kernel@mattwhitlock.name) ---
(In reply to Matt Whitlock from comment #5)
> I'll check the "upstream commit" d019930b0049fc2648a6b279893d8ad330596e81,
> and if that's bad, then I'll bisect to find where the fix happened.

Well that bisection took an absurd amount of time and yielded a nonsensical
result.

I told git-bisect that d019930b0049fc2648a6b279893d8ad330596e81 (which indeed
exhibits the bug) was "old" and that torvalds/master
(4a50a141f05a8d1737661b19ee22ff8455b94409) was "new", and this is how it went:

# 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
# new: [cc0f7c3f97bc6e888bf4be28a9da9dbd3735d2b4] Merge tag 'soc-drivers-6.11'
of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect new cc0f7c3f97bc6e888bf4be28a9da9dbd3735d2b4
# new: [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 new cdf471c348c1200ca243775b4b8d6eaa6d7f3979
# new: [3e7819886281e077e82006fe4804b0d6b0f5643b] Merge tag
'for-6.11/block-20240710' of git://git.kernel.dk/linux
git bisect new 3e7819886281e077e82006fe4804b0d6b0f5643b
# new: [3a56e241732975c2c1247047ddbfc0ac6f6a4905] Merge tag
'for-6.11/io_uring-20240714' of git://git.kernel.dk/linux
git bisect new 3a56e241732975c2c1247047ddbfc0ac6f6a4905
# new: [7d156879ffd6c48428c2f46d5c2b4b80d9c9ee79] Merge tag
'vfs-6.11.module.description' of
git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
git bisect new 7d156879ffd6c48428c2f46d5c2b4b80d9c9ee79
# new: [2ffd45da0b06b26f30480584de7c660d84b2d7dc] Merge tag
'drm-fixes-2024-07-12' of https://gitlab.freedesktop.org/drm/kernel
git bisect new 2ffd45da0b06b26f30480584de7c660d84b2d7dc
# new: [a5819099f601c1af5b86b1f5921a56859e45b19a] Merge branch
'runtime-constants'
git bisect new a5819099f601c1af5b86b1f5921a56859e45b19a
# new: [35ce46324556ba2dbc66a88013870d8bec8a99ef] Merge tag
'x86_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect new 35ce46324556ba2dbc66a88013870d8bec8a99ef
# new: [119736c7af442ab398dbb806865988c98ef60d46] i2c: testunit: avoid
re-issued work after read message
git bisect new 119736c7af442ab398dbb806865988c98ef60d46
# new: [0830f975e021608c527887ed2d9e122e76b9e280] MAINTAINERS: VIRTIO I2C loses
a maintainer, gains a reviewer
git bisect new 0830f975e021608c527887ed2d9e122e76b9e280
# new: [ca8e83a13ace8d63ede6501a8c313fce625c141f] MAINTAINERS: delete entries
for Thor Thayer
git bisect new ca8e83a13ace8d63ede6501a8c313fce625c141f
# first 'new' commit: [ca8e83a13ace8d63ede6501a8c313fce625c141f] MAINTAINERS:
delete entries for Thor Thayer

That "first 'new' commit," which is supposed to be the first commit that no
longer exhibits the bug, is just some housekeeping on the MAINTAINERS file.
There is no way that it could have fixed the bug. Moreover, given that there is
only one "old" commit in the entire bisection log, then the "first 'new'
commit" logically should be a direct child of that "old" commit, but it isn't.
Not even close.

So I'm genuinely flabbergasted as to how git-bisect utterly failed to do
anything logical here.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2026-07-02 12:36 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 [this message]
2026-07-02 14:18 ` bugzilla-daemon
2026-07-02 14:52 ` bugzilla-daemon
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-lgDWNpUW8i@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