# CVE-2024-56629: HID: wacom: fix when get product name maybe null pointer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-12-27T14:51:31.333Z
- **Modified:** 2026-06-17T08:12:35.447Z

## Who should check

- Anyone running Linux \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< d031eef3cc2e3bf524509e38fb898e5335c85c96; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 5912a921289edb34d40aeab32ea6d52d41e75fed; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 2cd323c55bd3f356bf23ae1b4c20100abcdc29d6; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< a7f0509556fa2f9789639dbcee9eed46e471ccef; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< e689bc6697a7fcebd4a945ab0b1e1112c76024d8; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 59548215b76be98cf3422eea9a67d6ea578aca3d
- Anyone running Linux 4.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: wacom: fix when get product name maybe null pointer

Due to incorrect dev-\>product reporting by certain devices, null
pointer dereferences occur when dev-\>product is empty, leading to
potential system crashes.

This issue was found on EXCELSIOR DL37-D05 device with
Loongson-LS3A6000-7A2000-DL37 motherboard.

Kernel logs:
\[   56.470885\] usb 4-3: new full-speed USB device number 4 using ohci-pci
\[   56.671638\] usb 4-3: string descriptor 0 read error: -22
\[   56.671644\] usb 4-3: New USB device found, idVendor=056a, idProduct=0374, bcdDevice= 1.07
\[   56.671647\] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
\[   56.678839\] hid-generic 0003:056A:0374.0004: hiddev0,hidraw3: USB HID v1.10 Device \[HID 056a:0374\] on usb-0000:00:05.0-3/input0
\[   56.697719\] CPU 2 Unable to handle kernel paging request at virtual address 0000000000000000, era == 90000000066e35c8, ra == ffff800004f98a80
\[   56.697732\] Oops\[\#1\]:
\[   56.697734\] CPU: 2 PID: 2742 Comm: (udev-worker) Tainted: G           OE      6.6.0-loong64-desktop \#25.00.2000.015
\[   56.697737\] Hardware name: Inspur CE520L2/C09901N000000000, BIOS 2.09.00 10/11/2024
\[   56.697739\] pc 90000000066e35c8 ra ffff800004f98a80 tp 9000000125478000 sp 900000012547b8a0
\[   56.697741\] a0 0000000000000000 a1 ffff800004818b28 a2 0000000000000000 a3 0000000000000000
\[   56.697743\] a4 900000012547b8f0 a5 0000000000000000 a6 0000000000000000 a7 0000000000000000
\[   56.697745\] t0 ffff800004818b2d t1 0000000000000000 t2 0000000000000003 t3 0000000000000005
\[   56.697747\] t4 0000000000000000 t5 0000000000000000 t6 0000000000000000 t7 0000000000000000
\[   56.697748\] t8 0000000000000000 u0 0000000000000000 s9 0000000000000000 s0 900000011aa48028
\[   56.697750\] s1 0000000000000000 s2 0000000000000000 s3 ffff800004818e80 s4 ffff800004810000
\[   56.697751\] s5 90000001000b98d0 s6 ffff800004811f88 s7 ffff800005470440 s8 0000000000000000
\[   56.697753\]    ra: ffff800004f98a80 wacom\_update\_name+0xe0/0x300 \[wacom\]
\[   56.697802\]   ERA: 90000000066e35c8 strstr+0x28/0x120
\[   56.697806\]  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
\[   56.697816\]  PRMD: 0000000c (PPLV0 +PIE +PWE)
\[   56.697821\]  EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
\[   56.697827\]  ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
\[   56.697831\] ESTAT: 00010000 \[PIL\] (IS= ECode=1 EsubCode=0)
\[   56.697835\]  BADV: 0000000000000000
\[   56.697836\]  PRID: 0014d000 (Loongson-64bit, Loongson-3A6000)
\[   56.697838\] Modules linked in: wacom(+) bnep bluetooth rfkill qrtr nls\_iso8859\_1 nls\_cp437 snd\_hda\_codec\_conexant snd\_hda\_codec\_generic ledtrig\_audio snd\_hda\_codec\_hdmi snd\_hda\_intel snd\_intel\_dspcfg snd\_hda\_codec snd\_hda\_core snd\_hwdep snd\_pcm snd\_timer snd soundcore input\_leds mousedev led\_class joydev deepin\_netmonitor(OE) fuse nfnetlink dmi\_sysfs ip\_tables x\_tables overlay amdgpu amdxcp drm\_exec gpu\_sched drm\_buddy radeon drm\_suballoc\_helper i2c\_algo\_bit drm\_ttm\_helper r8169 ttm drm\_display\_helper spi\_loongson\_pci xhci\_pci cec xhci\_pci\_renesas spi\_loongson\_core hid\_generic realtek gpio\_loongson\_64bit
\[   56.697887\] Process (udev-worker) (pid: 2742, threadinfo=00000000aee0d8b4, task=00000000a9eff1f3)
\[   56.697890\] Stack : 0000000000000000 ffff800004817e00 0000000000000000 0000251c00000000
\[   56.697896\]         0000000000000000 00000011fffffffd 0000000000000000 0000000000000000
\[   56.697901\]         0000000000000000 1b67a968695184b9 0000000000000000 90000001000b98d0
\[   56.697906\]         90000001000bb8d0 900000011aa48028 0000000000000000 ffff800004f9d74c
\[   56.697911\]         90000001000ba000 ffff800004f9ce58 0000000000000000 ffff800005470440
\[   56.697916\]         ffff800004811f88 90000001000b98d0 9000000100da2aa8 90000001000bb8d0
\[   56.697921\]         0000000000000000 90000001000ba000 900000011aa48028 ffff800004f9d74c
\[   56.697926\]         ffff8000054704e8 90000001000bb8b8 90000001000ba000 0000000000000000
\[   56.697931\]         90000001000bb8d0 
---truncated---

## Affected and fixed versions

- Linux: \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< d031eef3cc2e3bf524509e38fb898e5335c85c96; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 5912a921289edb34d40aeab32ea6d52d41e75fed; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 2cd323c55bd3f356bf23ae1b4c20100abcdc29d6; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< a7f0509556fa2f9789639dbcee9eed46e471ccef; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< e689bc6697a7fcebd4a945ab0b1e1112c76024d8; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 59548215b76be98cf3422eea9a67d6ea578aca3d (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 59548215b76be98cf3422eea9a67d6ea578aca3d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56629. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56629.md
Affected: Linux >= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, < d031eef3cc2e3bf524509e38fb898e5335c85c96; >= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, < 5912a921289edb34d40aeab32ea6d52d41e75fed; >= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, < 2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a; >= 09dc28acaec74d7467c7c9b…
Fixed in: Linux 5912a921289edb34d40aeab32ea6d52d41e75fed, Linux 2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a, Linux 2cd323c55bd3f356bf23ae1b4c20100abcdc29d6, Linux 59548215b76be98cf3422eea9a67d6ea578aca3d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56629 being exploited?

There is no confirmed exploitation: CVE-2024-56629 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56629?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56629?

Linux \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< d031eef3cc2e3bf524509e38fb898e5335c85c96; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 5912a921289edb34d40aeab32ea6d52d41e75fed; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 2cd323c55bd3f356bf23ae1b4c20100abcdc29d6; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< a7f0509556fa2f9789639dbcee9eed46e471ccef; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< e689bc6697a7fcebd4a945ab0b1e1112c76024d8; \>= 09dc28acaec74d7467c7c9b81dc8676e5bc957ce, \< 59548215b76be98cf3422eea9a67d6ea578aca3d; Linux 4.14.

### Is there a fix for CVE-2024-56629?

Yes. Fixed in Linux 5912a921289edb34d40aeab32ea6d52d41e75fed, Linux 2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a, Linux 2cd323c55bd3f356bf23ae1b4c20100abcdc29d6, Linux 59548215b76be98cf3422eea9a67d6ea578aca3d. Upgrade Linux to 59548215b76be98cf3422eea9a67d6ea578aca3d or later.

### How do I check if I'm affected by CVE-2024-56629?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d031eef3cc2e3bf524509e38fb898e5335c85c96>
- patch: <https://git.kernel.org/stable/c/5912a921289edb34d40aeab32ea6d52d41e75fed>
- patch: <https://git.kernel.org/stable/c/2ed3e3a3ac06af8a6391c3d6a7791b7967d7d43a>
- patch: <https://git.kernel.org/stable/c/2cd323c55bd3f356bf23ae1b4c20100abcdc29d6>
- patch: <https://git.kernel.org/stable/c/a7f0509556fa2f9789639dbcee9eed46e471ccef>
- patch: <https://git.kernel.org/stable/c/e689bc6697a7fcebd4a945ab0b1e1112c76024d8>
- patch: <https://git.kernel.org/stable/c/59548215b76be98cf3422eea9a67d6ea578aca3d>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56629>

HTML: <https://flawdb.com/CVE-2024-56629> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56629>
