Input: appletouch - initialize work before device registration (Linux Linux)

CVE-2021-46932
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-665 — Improper Initialization

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5a6eb676d3bc4d7a6feab200a92437b62ad298da < d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4 ; affected 5a6eb676d3bc4d7a6feab200a92437b62ad298da < d1962f263a176f493400b8f91bfbf2bfedce951e ; affected 5a6eb676d3bc4d7a6feab200a92437b62ad298da < 292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f ; affected 5a6eb676d3bc4d7a6feab200a92437b62ad298da < a02e1404e27855089d2b0a0acc4652c2ce65fe46 ; affected 5a6eb676d3bc4d7a6feab200a92437b62ad298da < 975774ea7528b489930b76a77ffc4d5379b95ff2 ; affected 5a6eb676d3bc4d7a6feab200a92437b62ad298da < 9f329d0d6c91142cf0ad08d23c72dd195db2633c
Linux · Linuxaffected 2.6.23 ; unaffected 0 < 2.6.23 ; unaffected 4.4.298 ≤ 4.4.* ; unaffected 4.9.296 ≤ 4.9.* ; unaffected 4.14.261 ≤ 4.14.* ; unaffected 4.19.224 ≤ 4.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD