Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #93208 > unrolled thread

Bug#1141407: linux-image-amd64: hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2)

Started byRoss Boylan <RossBoylan@stanfordalumni.org>
First post2026-07-04 08:30 +0200
Last post2026-08-15 22:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1141407: linux-image-amd64: hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2) Ross Boylan <RossBoylan@stanfordalumni.org> - 2026-07-04 08:30 +0200
    Bug#1141407: linux-image-amd64: hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2) Ben Hutchings <ben@decadent.org.uk> - 2026-08-15 22:40 +0200

#93208 — Bug#1141407: linux-image-amd64: hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2)

FromRoss Boylan <RossBoylan@stanfordalumni.org>
Date2026-07-04 08:30 +0200
SubjectBug#1141407: linux-image-amd64: hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2)
Message-ID<Nd22Z-2EH1-1@gated-at.bofh.it>
Package: linux-image-amd64
Version: 5.10.259-1
Severity: normal
X-Debbugs-Cc: RossBoylan@stanfordalumni.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

This is a problem encountered with the latest security update of the
kernel for bullseye, aka oldoldstable.  I'm not sure exactly where or
how to report it.

Immediately after upgrading the kernel with the latest security fixes,
[UPGRADE] linux-image-amd64:amd64 5.10.257-1 -> 5.10.259-1
in aptitude.log, the logs started filling with more than one complaint
a second like

Jul  3 13:17:31 barley kernel: [  102.564459] hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2)
Jul  3 13:17:31 barley kernel: [  102.567155] hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 vs 2)
Jul  3 13:17:37 barley kernel: [  107.883143] hid_report_raw_event: 27 callbacks suppressed
Jul  3 13:17:37 barley kernel: [  107.883171] hid-generic 0003:051D:0002.0002: Event data for report 22 was too short (4 v 2)

According to Google AI, 0003:051D is an APC UPS connected via USB; I
do have one connected that way.  I don't know that the
hid_report_raw_event messages are for the same device, though that
seems likely.

I did not get these errors with any previous version of the kernel.

Significance
============

If there actually is a problem communicating with the UPS this would
affect system reliability.  The KDE battery tool show the UPS is not
present (that is, the device is listed and the status is not present),
so there may be an actual issue.

The huge number of messages makes it hard to see anything else in the
logs.  They may degrade performance or add extra disk fragmentation.

logcheck email reports are now huge; like the regular logs, it is hard
to pick out anything from the noise.


Workarounds
===========
I added the following patterns to /etc/logcheck/ignore.d.server/local:

^\w{3} [ :0-9]{11} barley kernel: \[[[:blank:]]*[0-9.]+[[:blank:]]*\] hid-generic 0003:051D:0002.0002: Event data for report 22 was too short \(4 vs 2\)[[:blank:]]*$
^\w{3} [ :0-9]{11} barley kernel: \[[[:blank:]]*[0-9.]+[[:blank:]]*\] hid_report_raw_event: [0-9]+ callbacks? suppressed[[:blank:]]*$

This fixes the size and interpretability of the logcheck emails,
without addressing the fact that the underlying logs are still filling
and I may not have communication with the UPS.

Another alternative would be to boot the previous kernel; this seems a
bit risky given that it has known vulnerabilities.  It might be
worthwhile at least to verify that this is not a hardware failure that
just happened to coincide with the restart of the new kernel.

Finally, I should upgrade the whole system, but that's too big a
project for now.

- -- System Information:
Debian Release: 11.11
  APT prefers oldoldstable-security
  APT policy: (500, 'oldoldstable-security'), (500, 'oldoldstable-proposed-updates-debug'), (500, 'oldoldstable-debug'), (500, 'oldoldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-45-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-5.10.0-45-amd64  5.10.259-1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQFSBAEBCgA8FiEEreS674/HIyV9gBfdnAYPmOsbK2AFAmpIof8eHHJvc3Nib3ls
YW5Ac3RhbmZvcmRhbHVtbmkub3JnAAoJEJwGD5jrGytgoEYH/A5uCUtP0PfSS4hR
xqGuZjs2Z4By9HZd5t4cNoTpWJCOBOPPFEM7iLTi+uqEifG/vEOpXRrR/Bd3RBnY
gTU64WvRwKN1MIlKeDu3mLb835z010fmyHEk+z6Q2AayBFqIDg67bmEDGebz9Gh5
eE2hA0x5YIkH858yQVJfw31AEKZ371vvB92Kk6Rn2n+zz1/Ppc52x9gHL0U9tzm6
8ZFltjgNm9q9ceKH9Zr7QGlhfJslBZJ9u+TKLQps0yX/dEo4pYTIolIY30AXStPL
neHzNUonRu0HWmSQEEEfb7wKsWlekr9w/zP/wU1ZIcEW5BGZRiJMhqpLFfTWsRSw
/FFW5yA=
=JFo+
-----END PGP SIGNATURE-----

[toc] | [next] | [standalone]


#93740

FromBen Hutchings <ben@decadent.org.uk>
Date2026-08-15 22:40 +0200
Message-ID<NstkB-b9jH-5@gated-at.bofh.it>
In reply to#93208

[Multipart message — attachments visible in raw view] — view raw

This was fixed in the linux-input tree by:

commit d0ff08d946c83b51359a8063c41e9f5af067e628
Author: Matteo Croce <teknoraver@meta.com>
Date:   Sat May 23 12:55:45 2026 +0200
 
    HID: core: demote warning to debug level

but unfortunately that was lost in merge commit:

commit aa776949fb77462ee712eee28bc54a9ce95c5b40
Merge: 6df6b1f2c496 12b7731995ca
Author: Jiri Kosina <jikos@kernel.org>
Date:   Tue Jun 16 21:47:16 2026 +0200
 
    Merge branch 'for-7.2/wiimote' into for-linus

(WTF?)

TIL I can use "git log --remerge-diff" to show all merge conflicts that
were resolved, whereas I previously used "git log --cc" which hides this
kind of mismerge.  But it is much slower.

Ben.

-- 
Ben Hutchings
Anthony's Law of Force: Don't force it, get a larger hammer.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web