Re: [REGRESSION] usb: core: interrupt-IN wBytesPerInterval fixup (727d045d064b) breaks RTL8153 in Lenovo dock

Amin Vakil <[email protected]>
Newsgroups dev.linux.lists.regressions,org.kernel.vger.linux-usb
Message-ID <[email protected]>
On 6/17/26 12:50 AM, Michal Pecio wrote:
> On Tue, 16 Jun 2026 20:22:19 +0330, Amin Vakil wrote:
>> On 6/16/26 8:06 PM, Michal Pecio wrote:
>>> RTL8153 was one of the chips specifically targeted by this fix, but
>>> it affects the CDC configuration which you don't seem to be using.
>>>
>>> I have tried linux-hardened-7.0.12.hardened1-1-x86_64 from Arch repo
>>> as well as my own build of 7.1-rc6, and my RTL8153 (0bda:8153) in a
>>> different kind of USB-C dock still works with a few xHCI controllers.
>>>
>>> So it's some weird problem narrowly specific to your system. Now that
>>> you have built your own kernel, please also revert the suspect patch
>>> to verify if that's really it.
>>
>> Honestly I've tried patching it myself :)
>>
>> by changing
>>
>> (le16_to_cpu(desc->wBytesPerInterval) < usb_endpoint_maxp(&ep->desc) &&
>>
>> to
>>
>> (le16_to_cpu(desc->wBytesPerInterval) == 0 &&
>>
>> in line 187 of drivers/usb/core/config.c to see if that fixes the issue
>> and it did not, but I didn't specifically reverted the commit to see if
>> that fixes the issue.
> 
> This should be enough to prevent overriding wBytesPerInterval on
> RTL8153 (and get rid of the new log message).
> 
> If the message goes away but the device still doesn't work, the problem
> must be somewhere else.
> 
> I would start with userspace - if you haven't already, downgrade to
> some kernel package which worked in the past. See if it still works.
> Or check if 9ddb9c0deca48d2c2a22ebf4d2f35c925a520328 applies to your
> dock and try reverting it if it does.
> 
> Otherwise, no idea, besides git-bisect I guess.

The problem is something with usbguard all the way :)

Disabling usbguard fixed the issue and it's now working on 7.1 
correctly. Sorry for the noise.

The problem was a stale usbguard policy blocking the hub, updating 
usbguard policy with new hash fixed that as well.

Again I'm sorry for the noise and thank you for time.

> Regards,
> Michal
OpenPGP_0x1EFC1864E9D9E56B.asc (application/pgp-keys, 2.4 KB)
-----BEGIN PGP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ZEoBvMvnlO
trki8HKHg+G6hTt0axoC/4fV9fhqUfMcahOLSrt9TwaJT+baIznyzP6eRXjhG/E+
UtCe4qkmevDf1Uu9Q22oaQsC1qU6K2Iy/xp6QbdQfjtohu5HXPBX80MHAYKrRSHk
fUFH4grn6l0fkYvREs7Jdp7Oq0Je5wP6mj7v0sQ9ShjqFH12Zd59EenqNIr5OoYY
+78sXChAfE9n44i0gJHzV8BhCsQG4+k=
=GHsk
-----END PGP PUBLIC KEY BLOCK-----
OpenPGP_signature.asc (application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE-----

wsD5BAABCAAjFiEEhGrABIXlXG/0vJ9THvwYZOnZ5WsFAmoy3jEFAwAAAAAACgkQHvwYZOnZ5WuO
wgwAkzMOTn/mtDzBPIoZpt64RvGC8FrIxm4Vzr+S7USqh2surNsCrBqVOddwEtqr6xec5WlL0NfU
sRfUXrdH/Biz7eGhPC7OAouEL8TrHipzk8aGwRzhcl1DKkb2N87m8J6d9gKCNV+GLTLI7a8TuLMM
e9oxj37/tdfRoHLDfjA4wEwEPyPrVQVqpgKqdEDI8W+A1wkP4weF6yfIaDATyBSyak6GNnA+57CO
uYpEEIZ+lB1OrQT9kdPN/gX/MvoUvnDWluYfjsBoihQu1UboeXfEe0nnrIeb+bhe10beqdFh3UJ/
gg1sENVJA1IshC5Ik9m+2BT3zDvHGZWJzF5qRjOiaj3qGQd/1lY+OTiNA/K7gGF0Jt7P9wNw4WjV
Dnwz4+IdCRLoMHfElj0KAmIUKN9p08VgoDmV+xhLe5gg+KEZVI0y0cuwS2vO4aa16XrwYURf6fJ/
X+PmrF9HWzJ41pwJESiVrtRJCaNpklflfNylpnfQAfniuKZnHRpkLydg0peA
=tT4M
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.