CVEvulnerability

CVE-2021-46932

5.5 MEDIUM Published 2024-02-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-02-27
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-665

Description

In the Linux kernel, the following vulnerability has been resolved: Input: appletouch - initialize work before device registration Syzbot has reported warning in __flush_work(). This warning is caused by work->func == NULL, which means missing work initialization. This may happen, since input_dev->close() calls cancel_work_sync(&dev->work), but dev->work initalization happens _after_ input_register_device() call. So this patch moves dev->work initialization before registering input device

Affected configurations

• linux linux kernel (>= 2.6.23 < 4.4.298) • linux linux kernel (>= 4.5.0 < 4.9.296) • linux linux kernel (>= 4.10.0 < 4.14.261) • linux linux kernel (>= 4.15.0 < 4.19.224) • linux linux kernel (>= 4.20.0 < 5.4.170) • linux linux kernel (>= 5.5.0 < 5.10.90) • linux linux kernel (>= 5.11.0 < 5.15.13)

Related

Weakness · CWE (1)

  • CWE-665 Improper Initialization weakness

References