CVE-2021-46932

Input: appletouch - initialize work before device registration

State
Published
Severity
Not scored
Published
Feb 27, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4Affected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before d1962f263a176f493400b8f91bfbf2bfedce951eAffected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before 292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99fAffected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before a02e1404e27855089d2b0a0acc4652c2ce65fe46Affected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before 975774ea7528b489930b76a77ffc4d5379b95ff2Affected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before 9f329d0d6c91142cf0ad08d23c72dd195db2633cAffected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before e79ff8c68acb1eddf709d3ac84716868f2a91012Affected
  • 5a6eb676d3bc4d7a6feab200a92437b62ad298da to before 9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0Affected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 4.4.298 through 4.4.*Not affected
  • 4.9.296 through 4.9.*Not affected
  • 4.14.261 through 4.14.*Not affected
  • 4.19.224 through 4.19.*Not affected
  • 5.4.170 through 5.4.*Not affected
  • 5.10.90 through 5.10.*Not affected
  • 5.15.13 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.