Skip to contentSkip to conversation

bluetooth 2026-05-14

GIT PULL Applied Luiz Augusto von Dentz 7 participants 18 messages May 14 – Jun 11

Subsystems (5)
lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:

net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

----------------------------------------------------------------
bluetooth pull request for net:

- af_bluetooth: serialize accept_q access
- L2CAP: ecred_reconfigure: send packed pdu, not stack pointer
- btmtk: accept too short WMT FUNC_CTRL events
- hci_qca: Convert timeout from jiffies to ms

----------------------------------------------------------------
Jiexun Wang (1):
Bluetooth: serialize accept_q access

Michael Bommarito (1):
Bluetooth: L2CAP: ecred_reconfigure: send packed pdu, not stack pointer

Pauli Virtanen (1):
Bluetooth: btmtk: accept too short WMT FUNC_CTRL events

Shuai Zhang (1):
Bluetooth: hci_qca: Convert timeout from jiffies to ms

 drivers/bluetooth/btmtk.c         |  4 +-
 drivers/bluetooth/hci_qca.c       | 33 +++++++--------
 include/net/bluetooth/bluetooth.h |  1 +
 net/bluetooth/af_bluetooth.c      | 87 +++++++++++++++++++++++++++++----------
 net/bluetooth/l2cap_core.c        |  2 +-
 5 files changed, 85 insertions(+), 42 deletions(-)
#1 lore raw

[+Linus +Greg]

Quoted 11 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:

net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Another reason: Greg a few hours ago backported the culprit for the regression to v7.0.7, v6.18.30, and v6.12.88, which led to a bunch of other reports coming in[3]. Greg could, of course, revert it, but usually he prefers to just merge the fix. But of course the fix must first hit mainline (or at least -next) -- and that might only happen next Thursday, as there usually is only one net PR per week. Luiz even wanted to "expedite a PR to have it fixed asap"[4], but that didn't work out afaics, hence this mail.

Ciao, Thorsten

[1] btmtk: accept too short WMT FUNC_CTRL events – also available here:
https://lore.kernel.org/all/770d36b07311bf88210c187923f243fb9f126f04.1777058551.git.pav@iki.fi/

[2]
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
https://bugzilla.kernel.org/show_bug.cgi?id=221511
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
(+ one more report in a Fedora kernel chatroom)

[3]
https://bugzilla.kernel.org/show_bug.cgi?id=221521
https://lore.kernel.org/lkml/[email protected]/
+ a four more people in
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6b173ffc2a#comment-4646633

[4]
https://lore.kernel.org/all/CABBYNZ+FfhYtU2=J-V4pjKf_vKV=Y5LhVhxS_epKe-qaUUt8_g@mail.gmail.com/

Quoted 28 lines

----------------------------------------------------------------
bluetooth pull request for net:

- af_bluetooth: serialize accept_q access
- L2CAP: ecred_reconfigure: send packed pdu, not stack pointer
- btmtk: accept too short WMT FUNC_CTRL events
- hci_qca: Convert timeout from jiffies to ms

----------------------------------------------------------------
Jiexun Wang (1):
Bluetooth: serialize accept_q access

Michael Bommarito (1):
Bluetooth: L2CAP: ecred_reconfigure: send packed pdu, not stack pointer

Pauli Virtanen (1):
Bluetooth: btmtk: accept too short WMT FUNC_CTRL events

Shuai Zhang (1):
Bluetooth: hci_qca: Convert timeout from jiffies to ms

 drivers/bluetooth/btmtk.c         |  4 +-
 drivers/bluetooth/hci_qca.c       | 33 +++++++--------
 include/net/bluetooth/bluetooth.h |  1 +
 net/bluetooth/af_bluetooth.c      | 87 +++++++++++++++++++++++++++++----------
 net/bluetooth/l2cap_core.c        |  2 +-
 5 files changed, 85 insertions(+), 42 deletions(-)
#2 lore raw
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Ciao, Thorsten

P.S.: Side note, in case anyone cares: this regression meanwhile was reported at least 14 times by now (only counting upstream reports, there are many more in various downstreams).

Quoted 61 lines

Another reason: Greg a few hours ago backported the culprit for the regression to v7.0.7, v6.18.30, and v6.12.88, which led to a bunch of other reports coming in[3]. Greg could, of course, revert it, but usually he prefers to just merge the fix. But of course the fix must first hit mainline (or at least -next) -- and that might only happen next Thursday, as there usually is only one net PR per week. Luiz even wanted to "expedite a PR to have it fixed asap"[4], but that didn't work out afaics, hence this mail.

Ciao, Thorsten

[1] btmtk: accept too short WMT FUNC_CTRL events – also available here:
https://lore.kernel.org/all/770d36b07311bf88210c187923f243fb9f126f04.1777058551.git.pav@iki.fi/

[2]
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
https://bugzilla.kernel.org/show_bug.cgi?id=221511
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
(+ one more report in a Fedora kernel chatroom)

[3]
https://bugzilla.kernel.org/show_bug.cgi?id=221521
https://lore.kernel.org/lkml/[email protected]/
+ a four more people in
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6b173ffc2a#comment-4646633

[4]
https://lore.kernel.org/all/CABBYNZ+FfhYtU2=J-V4pjKf_vKV=Y5LhVhxS_epKe-qaUUt8_g@mail.gmail.com/

Quoted 28 lines

----------------------------------------------------------------
bluetooth pull request for net:

- af_bluetooth: serialize accept_q access
- L2CAP: ecred_reconfigure: send packed pdu, not stack pointer
- btmtk: accept too short WMT FUNC_CTRL events
- hci_qca: Convert timeout from jiffies to ms

----------------------------------------------------------------
Jiexun Wang (1):
Bluetooth: serialize accept_q access

Michael Bommarito (1):
Bluetooth: L2CAP: ecred_reconfigure: send packed pdu, not stack pointer

Pauli Virtanen (1):
Bluetooth: btmtk: accept too short WMT FUNC_CTRL events

Shuai Zhang (1):
Bluetooth: hci_qca: Convert timeout from jiffies to ms

 drivers/bluetooth/btmtk.c         |  4 +-
 drivers/bluetooth/hci_qca.c       | 33 +++++++--------
 include/net/bluetooth/bluetooth.h |  1 +
 net/bluetooth/af_bluetooth.c      | 87 +++++++++++++++++++++++++++++----------
 net/bluetooth/l2cap_core.c        |  2 +-
 5 files changed, 85 insertions(+), 42 deletions(-)
maintainer
#3 lore raw
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access") 162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Or just one?

confused,

greg k-h

#4 lore raw
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

thx!

Ciao, Thorsten

maintainer
#5 lore raw
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

I'll go queue this up now, thanks.

greg k-h

author maintainer
#6 lore raw

Hi Greg,

Quoted 49 lines · Greg KH
Quoted 47 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 4 lines
Quoted 1 line
Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

I will try making the Bluetooth CI run the verify-fixes.sh to detect this sort of issue early on.

Quoted 3 lines

I'll go queue this up now, thanks.

greg k-h

Signature · 1 line
Luiz Augusto von Dentz
maintainer
#7 lore raw
Quoted 54 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 51 lines · Greg KH
Quoted 48 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Quoted 7 lines
Quoted 2 lines

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

thanks,

greg k-h

author maintainer
#8 lore raw

Hi Greg,

Quoted 59 lines · Greg KH
Quoted 57 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 53 lines · Greg KH
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Quoted 8 lines
Quoted 4 lines

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

I don't have that in any of our tree either, this is actually 634a4408c061 on all trees in the chain:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634a4408c061

Or actually that was the hash before it got rebased on bluetooth-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=041e88fb0c08

But I didn't send the PR from that three so perhaps somebody else sent it to stable with the wrong fixes tag?

Quoted 3 lines

thanks,

greg k-h

Signature · 1 line
Luiz Augusto von Dentz
#9 lore raw
Quoted 81 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 59 lines · Greg KH
Quoted 57 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 53 lines · Greg KH
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Quoted 8 lines
Quoted 4 lines

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

I don't have that in any of our tree either, this is actually 634a4408c061 on all trees in the chain:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634a4408c061

Quoted 6 lines

Or actually that was the hash before it got rebased on bluetooth-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=041e88fb0c08

But I didn't send the PR from that three so perhaps somebody else sent it to stable with the wrong fixes tag?

I believe the confusion comes from "Bluetooth: btmtk: accept too short WMT FUNC_CTRL events" itself currently having different commit hashes in bluetooth (e3ac0d9f1a20) and bluetooth-next (162b1adeb057). The former correctly refers to "Bluetooth: btmtk: validate WMT event SKB length before struct access" as 634a4408c061 in the Fixes tag and was merged into net yesterday heading for 7.1-rc5. The latter still refers to it as 041e88fb0c08. Both are now in next-20260519 but only the latter was in next-20260518 which was the latest at the time of Thorsten's message.

Greg, this means picking e3ac0d9f1a20 instead of 162b1adeb057 should result in a valid Fixes tag.

Regards,
August Wikerfors

maintainer
#10 lore raw
Quoted 97 lines · August Wikerfors
Quoted 81 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 59 lines · Greg KH
Quoted 57 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 53 lines · Greg KH
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Quoted 8 lines
Quoted 4 lines

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

I don't have that in any of our tree either, this is actually 634a4408c061 on all trees in the chain:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634a4408c061

Quoted 6 lines

Or actually that was the hash before it got rebased on bluetooth-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=041e88fb0c08

But I didn't send the PR from that three so perhaps somebody else sent it to stable with the wrong fixes tag?

I believe the confusion comes from "Bluetooth: btmtk: accept too short WMT FUNC_CTRL events" itself currently having different commit hashes in bluetooth (e3ac0d9f1a20) and bluetooth-next (162b1adeb057). The former correctly refers to "Bluetooth: btmtk: validate WMT event SKB length before struct access" as 634a4408c061 in the Fixes tag and was merged into net yesterday heading for 7.1-rc5. The latter still refers to it as 041e88fb0c08. Both are now in next-20260519 but only the latter was in next-20260518 which was the latest at the time of Thorsten's message.

Quoted 2 lines

Greg, this means picking e3ac0d9f1a20 instead of 162b1adeb057 should result in a valid Fixes tag.

Ok, now done. Be careful of duplicate commits in different branches that are marked for backporting with different ids. It can cause massive confusion (i.e. don't be like the drm tree...)

thanks,

greg k-h

author maintainer
#11 lore raw

Hi Greg,

Quoted 99 lines · Greg KH
Quoted 97 lines · August Wikerfors
Quoted 81 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 59 lines · Greg KH
Quoted 57 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 53 lines · Greg KH
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Quoted 8 lines
Quoted 4 lines

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

I don't have that in any of our tree either, this is actually 634a4408c061 on all trees in the chain:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634a4408c061

Quoted 6 lines

Or actually that was the hash before it got rebased on bluetooth-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=041e88fb0c08

But I didn't send the PR from that three so perhaps somebody else sent it to stable with the wrong fixes tag?

I believe the confusion comes from "Bluetooth: btmtk: accept too short WMT FUNC_CTRL events" itself currently having different commit hashes in bluetooth (e3ac0d9f1a20) and bluetooth-next (162b1adeb057). The former correctly refers to "Bluetooth: btmtk: validate WMT event SKB length before struct access" as 634a4408c061 in the Fixes tag and was merged into net yesterday heading for 7.1-rc5. The latter still refers to it as 041e88fb0c08. Both are now in next-20260519 but only the latter was in next-20260518 which was the latest at the time of Thorsten's message.

Quoted 6 lines
Quoted 2 lines

Greg, this means picking e3ac0d9f1a20 instead of 162b1adeb057 should result in a valid Fixes tag.

Ok, now done. Be careful of duplicate commits in different branches that are marked for backporting with different ids. It can cause massive confusion (i.e. don't be like the drm tree...)

Noted. I guess I need to dig into how other trees do to avoid that. The problem seem related to using 2 trees: bluetooth->net (fixes only, rebased on each RC) versus bluetooth-next->net-next (development, rebased once per release).

Quoted 3 lines

thanks,

greg k-h

Signature · 1 line
Luiz Augusto von Dentz
maintainer
#12 lore raw
Quoted 105 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 102 lines · Greg KH
Quoted 99 lines · August Wikerfors
Quoted 81 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 59 lines · Greg KH
Quoted 57 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 53 lines · Greg KH
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Quoted 8 lines
Quoted 4 lines

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

I don't have that in any of our tree either, this is actually 634a4408c061 on all trees in the chain:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634a4408c061

Quoted 6 lines

Or actually that was the hash before it got rebased on bluetooth-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=041e88fb0c08

But I didn't send the PR from that three so perhaps somebody else sent it to stable with the wrong fixes tag?

I believe the confusion comes from "Bluetooth: btmtk: accept too short WMT FUNC_CTRL events" itself currently having different commit hashes in bluetooth (e3ac0d9f1a20) and bluetooth-next (162b1adeb057). The former correctly refers to "Bluetooth: btmtk: validate WMT event SKB length before struct access" as 634a4408c061 in the Fixes tag and was merged into net yesterday heading for 7.1-rc5. The latter still refers to it as 041e88fb0c08. Both are now in next-20260519 but only the latter was in next-20260518 which was the latest at the time of Thorsten's message.

Greg, this means picking e3ac0d9f1a20 instead of 162b1adeb057 should result in a valid Fixes tag.

Quoted 8 lines
Quoted 3 lines

Ok, now done. Be careful of duplicate commits in different branches that are marked for backporting with different ids. It can cause massive confusion (i.e. don't be like the drm tree...)

Noted. I guess I need to dig into how other trees do to avoid that. The problem seem related to using 2 trees: bluetooth->net (fixes only, rebased on each RC) versus bluetooth-next->net-next (development, rebased once per release).

Just never rebase any public tree please.

author maintainer
#13 lore raw

Hi Greg,

Quoted 111 lines · Greg KH
Quoted 109 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 105 lines · Greg KH
Quoted 97 lines · August Wikerfors
Quoted 81 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 59 lines · Greg KH
Quoted 57 lines · Luiz Augusto von Dentz

Hi Greg,

Quoted 53 lines · Greg KH
Quoted 39 lines · Thorsten Leemhuis
Quoted 32 lines · Greg KH
Quoted 25 lines · Thorsten Leemhuis
Quoted 16 lines · Thorsten Leemhuis
Quoted 10 lines · Luiz Augusto von Dentz

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:
net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

for you to fetch changes up to 375ba7484132662a4a8c7547d088fb6275c00282:

Bluetooth: hci_qca: Convert timeout from jiffies to ms (2026-05-14 09:58:08 -0400)

It seems this PR sadly came too late for this week's net PR to mainline that was merged yesterday.

Quoted 7 lines

TWIMC, from my point of view, it would be great if we somehow could still get the changes from this PR or at least the btmtk fix it contains[1] to mainline this week before -rc4, as it is fixing a regression known since 2026-04-24 that at least five people encountered with mainline since -rc3 due to 634a4408c0615c ("Bluetooth: btmtk:
validate WMT event SKB length before struct access") [006b9943b982 in -next].

Quoted 5 lines

Greg, Sasha, that [1] fix I was talking about now reached -next as 162b1adeb057d2 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events") and will likely hit mainline on Thursday or so with the weekly -net PR to -mainline. If that's good enough for you, I'd say it would be good to pick this up for the next round of stable kernels.

Quoted 3 lines

That "Fixes:" tag is referring to something that is also not in any tree, but that commit does have a cc: stable in it. So do we need both of these:

Valid question, as yes, there is a slight mixup here:

Quoted 9 lines
Quoted 1 line

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

That is already in v7.0.7, v6.18.30, v6.12.88, as 041e88fb0c08 is the -next commit-id for mainline commit-id 634a4408c0615c ("Bluetooth:
btmtk: validate WMT event SKB length before struct access") -- the one that is causing the regression that I want to get fixed. So we now only need:

Quoted 1 line

162b1adeb057 ("Bluetooth: btmtk: accept too short WMT FUNC_CTRL events")

Ok, but that "Fixes:" tag pointing to an invalid commit is going to be a nightmare to track over time, ugh.

Quoted 8 lines
Quoted 4 lines

Hmm, did we get the wrong hash or something? Usually, that would show up in the verify-fixes.sh, but perhaps it didn't capture it this time for some reason, perhaps I'm running an outdated version or something similar.

Something went wrong if we ended up with a patch in the stable trees, yet this fix is referring to it as a different git sha. Don't know where the disconnect happend :(

041e88fb0c08 ("Bluetooth: btmtk: validate WMT event SKB length before struct access")

I don't have that in any of our tree either, this is actually 634a4408c061 on all trees in the chain:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=634a4408c061
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=634a4408c061

Quoted 6 lines

Or actually that was the hash before it got rebased on bluetooth-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=041e88fb0c08

But I didn't send the PR from that three so perhaps somebody else sent it to stable with the wrong fixes tag?

I believe the confusion comes from "Bluetooth: btmtk: accept too short WMT FUNC_CTRL events" itself currently having different commit hashes in bluetooth (e3ac0d9f1a20) and bluetooth-next (162b1adeb057). The former correctly refers to "Bluetooth: btmtk: validate WMT event SKB length before struct access" as 634a4408c061 in the Fixes tag and was merged into net yesterday heading for 7.1-rc5. The latter still refers to it as 041e88fb0c08. Both are now in next-20260519 but only the latter was in next-20260518 which was the latest at the time of Thorsten's message.

Quoted 2 lines

Greg, this means picking e3ac0d9f1a20 instead of 162b1adeb057 should result in a valid Fixes tag.

Ok, now done. Be careful of duplicate commits in different branches that are marked for backporting with different ids. It can cause massive confusion (i.e. don't be like the drm tree...)

Quoted 6 lines
Quoted 4 lines

Noted. I guess I need to dig into how other trees do to avoid that. The problem seem related to using 2 trees: bluetooth->net (fixes only, rebased on each RC) versus bluetooth-next->net-next (development, rebased once per release).

Just never rebase any public tree please.

I guess the alternative is to do merges, right? While I understand this will not be changing the sha-ids I don't think it changes the fact that fixes applied on the bluetooth-next cannot be merged into bluetooth. Is there a way to retain the IDs across trees? The alternative, I guess, would be to apply fixes to bluetooth tree and then merge them back to bluetooth-next to preserve the IDs. This would make the CI job slightly harder, as it would need to detect if a Fixes tag exists; if so, it would probably need to go through the Bluetooth tree first.

Signature · 1 line
Luiz Augusto von Dentz
#14 lore raw
Quoted 5 lines · Luiz Augusto von Dentz
Quoted 3 lines

Just never rebase any public tree please.

I guess the alternative is to do merges, right?

No. Back-merges are bad too, unless they have a really damn solid reason for them, and some "keep up with other peoples work" is not that.

The primary model should be that you care about your own work, and make sure that that is as stable as possible. Do *NOT* try to chase other people's work. Not with merges, not with rebases.

Then when your branch is all done and ready, you ask upstream (in your case typically the networking tree) to pull it.

Some people at that point *jump* to the point where upstream merged from them.

Or another fairly common model is to have just started another branch for future work. Keeping independent development branches for different features is also a good thing to strive for, because it makes it easier for different people to work on different branches without messing with each other, but it also means that one feature being delayed (due to unexpected problems or whatever) doesn't affect other branches. And if done well, it also means that you wouldn't even care about the whole "point where upstream merged", because your other work simply isn't dependent on things like that.

So there are many ways to deal with them, but rebasing and merging are typically the worst ones that should be avoided unless active problems happen.

Sometimes you have to rebase because of a mistake. Sometimes you need to do back-merges. But you should damn well have *reasons* for both that aren't "that's just how we work".

Back-merges in particular need to not just be "merge upstream". They need a commit message that explains *why* you're merging upstream (and not merge some random point, the same way you shouldn't start development at some random point of questionable stability).

Rebasing is "invisible" except for the mess it leaves with random commit ids (and the problems it can cause for anybody who happened to use an older version). So you can't explain it, but it should then be explained to upstream why you ask them to pull recent changes that clearly cannot have been tested in that form.

Linus

#15 lore raw
Quoted 8 lines · Linus Torvalds
Quoted 2 lines · Luiz Augusto von Dentz
Quoted 1 line

Just never rebase any public tree please.

I guess the alternative is to do merges, right?

No. Back-merges are bad too, unless they have a really damn solid reason for them, and some "keep up with other peoples work" is not that.

Quoted 7 lines

The primary model should be that you care about your own work, and make sure that that is as stable as possible. Do *NOT* try to chase other people's work. Not with merges, not with rebases. [...] [...]
Sometimes you have to rebase because of a mistake. Sometimes you need to do back-merges. But you should damn well have *reasons* for both that aren't "that's just how we work".

Speaking of mistakes, one happens occasionally that you afaics did not cover here. And it's one where I'd be interested in your opinion (and maybe Greg's from the stable perspective, too):

How to deal with cases where one fix was merged to a public -next branch for merging in the next cycle (and thus was mixed up with many non-fixes) but then turns out should be mainlined this cycle?

I notice such situations a few times per month. I just had exactly that case for a patch fixing a 7.0 regression. And the answer I got was round about "sorry, the fix is already in our -next tree, we thus can't merge it this cycle"[1]. And that seemed wrong to me, which is why I argued for cherry-picking in that case, but it seems I was not convincing.

And yes, I understand that cherry-picking causes pain (especially for the stable team) and thus is best avoided -- but mistakes like that will always happen, so it might be best to know what to do in that case.

Quoted 1 line

[...]

Ciao, Thorsten

[1] it's for a regression introduced in the 7.0 cycle:
https://lore.kernel.org/all/[email protected]/
-- the tree in question afaics is not even in -next, as I can't see the fix there

#16 lore raw
In reply to Luiz Augusto von Dentz
This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Thu, 14 May 2026 13:23:40 -0400 you wrote:

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:

net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

[...]

Here is the summary with links:
- [GIT,PULL] bluetooth 2026-05-14

    https://git.kernel.org/netdev/net/c/23f3b04f157c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
#17 lore raw
In reply to Luiz Augusto von Dentz
This pull request was applied to bluetooth/bluetooth-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This pull request was applied to bluetooth/bluetooth-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Thu, 14 May 2026 13:23:40 -0400 you wrote:

The following changes since commit c78bdba7b9666020c0832150a4fc4c0aebc7c6ac:

net: phy: DP83TC811: add reading of abilities (2026-05-14 15:17:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git tags/for-net-2026-05-14

[...]

Here is the summary with links:
- [GIT,PULL] bluetooth 2026-05-14

    https://git.kernel.org/bluetooth/bluetooth-next/c/23f3b04f157c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html