bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2019-3819

4.4medium

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

A flaw was found in the Linux kernel in the function hid_debug_events_read() in drivers/hid/hid-debug.c file which may enter an infinite loop with certain parameters passed from a userspace. A local privileged user ("root") can cause a system lock up and a denial of service. Versions from v4.18 and newer are vulnerable.

Published 2019-01-25NVD

CVSS 3.1Local · high privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

References 10
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

CVE-2019-3819 was fixed upstream in Linux 5.0-rc3 by commit 13054abbaa4f ("HID: debug: fix the ring buffer implementation"), which replaced the hand-rolled head/tail ring buffer in hid_debug_events_read() (the source of the infinite loop) with a kfifo and kfifo_to_user().

Our kernel is 6.18.60, far past the fix, and the source in the build tree contains the fixed kfifo-based implementation: hid_debug_events_read() calls kfifo_to_user() and the hid_debug_list struct uses DECLARE_KFIFO_PTR. NVD's CPE match on "6.18.60" is simply an unbounded-range artefact; the vulnerable code is not present.

(For context only: CONFIG_HID=y and CONFIG_DEBUG_FS=y so hid-debug.o is built, and reading it would require root plus a mounted debugfs and an attached HID device, i.e. a root shell outside the product's management interfaces — but this is moot since the code is fixed.)

Evidence 6

…/ is output/build/linux-6.18.60/

  1. Fixed implementation: waits on kfifo_is_empty(&list->hid_debug_fifo) and copies with kfifo_to_user(); no head/tail ring-buffer loop that could spin forever.

    …/drivers/hid/hid-debug.c:3706-3764 (hid_debug_events_read)

  2. HID_DEBUG_FIFOSIZE 512 and DECLARE_KFIFO_PTR(hid_debug_fifo, char) in struct hid_debug_list — the data structure introduced by the upstream fix commit 13054abbaa4f.

    …/include/linux/hid-debug.h:17,31

  3. kfifo_alloc(&list->hid_debug_fifo, HID_DEBUG_FIFOSIZE, GFP_KERNEL) in the open path, confirming the kfifo rewrite is present.

    …/drivers/hid/hid-debug.c:3688

  4. VERSION=6 PATCHLEVEL=18 SUBLEVEL=60 — kernel 6.18.60, well after the 5.0-rc3 fix.

    …/Makefile:2-4

  5. CONFIG_HID_SUPPORT=y, CONFIG_HID=y, CONFIG_USB_HID=y, CONFIG_DEBUG_FS=y — hid-debug.o is compiled (drivers/hid/Makefile:6), but it is the fixed code.

    …/.config:3311-3312,3455,4756

  6. 139 patches applied, none touching drivers/hid or hid-debug; the fix comes from upstream mainline, not a local patch.

    …/.applied_patches_list

Version and patches

Affected: v4.18 through v5.0-rc2. Fixed: v5.0-rc3 (commit 13054abbaa4f, "HID: debug: fix the ring buffer implementation"), backported to 4.19/4.20 stable. Our package is linux 6.18.60, which includes the fix in mainline. None of the 139 Buildroot/Infix patches touch drivers/hid.

Recommendation

No action; document as N/A (fixed upstream since 5.0-rc3, present in 6.18.60). Consider adding CVE-2019-3819 to the linux package IGNORE_CVES list to suppress the recurring NVD match.

Open questions

None.

Members of Kernel Kit decide. Sign in if you are one.