CVE-2021-46932 (GCVE-0-2021-46932)
Vulnerability from cvelistv5 – Published: 2024-02-27 09:44 – Updated: 2025-05-04 07:00
VLAI?
Title
Input: appletouch - initialize work before device registration
Summary
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
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
5a6eb676d3bc4d7a6feab200a92437b62ad298da , < d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4
(git)
Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < d1962f263a176f493400b8f91bfbf2bfedce951e (git) Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < 292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f (git) Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < a02e1404e27855089d2b0a0acc4652c2ce65fe46 (git) Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < 975774ea7528b489930b76a77ffc4d5379b95ff2 (git) Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < 9f329d0d6c91142cf0ad08d23c72dd195db2633c (git) Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < e79ff8c68acb1eddf709d3ac84716868f2a91012 (git) Affected: 5a6eb676d3bc4d7a6feab200a92437b62ad298da , < 9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0 (git) |
|||||||
|
|||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-46932",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-02-27T16:12:57.763250Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-07-05T17:22:01.591Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:17:42.851Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/d1962f263a176f493400b8f91bfbf2bfedce951e"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/a02e1404e27855089d2b0a0acc4652c2ce65fe46"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/975774ea7528b489930b76a77ffc4d5379b95ff2"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9f329d0d6c91142cf0ad08d23c72dd195db2633c"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/e79ff8c68acb1eddf709d3ac84716868f2a91012"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/input/mouse/appletouch.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "d1962f263a176f493400b8f91bfbf2bfedce951e",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "a02e1404e27855089d2b0a0acc4652c2ce65fe46",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "975774ea7528b489930b76a77ffc4d5379b95ff2",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "9f329d0d6c91142cf0ad08d23c72dd195db2633c",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "e79ff8c68acb1eddf709d3ac84716868f2a91012",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
},
{
"lessThan": "9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0",
"status": "affected",
"version": "5a6eb676d3bc4d7a6feab200a92437b62ad298da",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/input/mouse/appletouch.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.23"
},
{
"lessThan": "2.6.23",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"version": "4.4.298",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.296",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.261",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.224",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.170",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.90",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.16",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.4.298",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.296",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.261",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.224",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.170",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.90",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.13",
"versionStartIncluding": "2.6.23",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.16",
"versionStartIncluding": "2.6.23",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: appletouch - initialize work before device registration\n\nSyzbot has reported warning in __flush_work(). This warning is caused by\nwork-\u003efunc == NULL, which means missing work initialization.\n\nThis may happen, since input_dev-\u003eclose() calls\ncancel_work_sync(\u0026dev-\u003ework), but dev-\u003ework initalization happens _after_\ninput_register_device() call.\n\nSo this patch moves dev-\u003ework initialization before registering input\ndevice"
}
],
"providerMetadata": {
"dateUpdated": "2025-05-04T07:00:36.105Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4"
},
{
"url": "https://git.kernel.org/stable/c/d1962f263a176f493400b8f91bfbf2bfedce951e"
},
{
"url": "https://git.kernel.org/stable/c/292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f"
},
{
"url": "https://git.kernel.org/stable/c/a02e1404e27855089d2b0a0acc4652c2ce65fe46"
},
{
"url": "https://git.kernel.org/stable/c/975774ea7528b489930b76a77ffc4d5379b95ff2"
},
{
"url": "https://git.kernel.org/stable/c/9f329d0d6c91142cf0ad08d23c72dd195db2633c"
},
{
"url": "https://git.kernel.org/stable/c/e79ff8c68acb1eddf709d3ac84716868f2a91012"
},
{
"url": "https://git.kernel.org/stable/c/9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0"
}
],
"title": "Input: appletouch - initialize work before device registration",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-46932",
"datePublished": "2024-02-27T09:44:00.108Z",
"dateReserved": "2024-02-25T13:45:52.720Z",
"dateUpdated": "2025-05-04T07:00:36.105Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d1962f263a176f493400b8f91bfbf2bfedce951e\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a02e1404e27855089d2b0a0acc4652c2ce65fe46\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/975774ea7528b489930b76a77ffc4d5379b95ff2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9f329d0d6c91142cf0ad08d23c72dd195db2633c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/e79ff8c68acb1eddf709d3ac84716868f2a91012\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:17:42.851Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-46932\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-02-27T16:12:57.763250Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-05T15:20:40.973Z\"}}], \"cna\": {\"title\": \"Input: appletouch - initialize work before device registration\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"d1962f263a176f493400b8f91bfbf2bfedce951e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"a02e1404e27855089d2b0a0acc4652c2ce65fe46\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"975774ea7528b489930b76a77ffc4d5379b95ff2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"9f329d0d6c91142cf0ad08d23c72dd195db2633c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"e79ff8c68acb1eddf709d3ac84716868f2a91012\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5a6eb676d3bc4d7a6feab200a92437b62ad298da\", \"lessThan\": \"9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/input/mouse/appletouch.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.6.23\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"2.6.23\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.298\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.296\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.261\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.224\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.170\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.90\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.13\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/input/mouse/appletouch.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d2cb2bf39a6d17ef4bdc0e59c1a35cf5751ad8f4\"}, {\"url\": \"https://git.kernel.org/stable/c/d1962f263a176f493400b8f91bfbf2bfedce951e\"}, {\"url\": \"https://git.kernel.org/stable/c/292d2ac61fb0d9276a0f7b7ce4f50426f2a1c99f\"}, {\"url\": \"https://git.kernel.org/stable/c/a02e1404e27855089d2b0a0acc4652c2ce65fe46\"}, {\"url\": \"https://git.kernel.org/stable/c/975774ea7528b489930b76a77ffc4d5379b95ff2\"}, {\"url\": \"https://git.kernel.org/stable/c/9f329d0d6c91142cf0ad08d23c72dd195db2633c\"}, {\"url\": \"https://git.kernel.org/stable/c/e79ff8c68acb1eddf709d3ac84716868f2a91012\"}, {\"url\": \"https://git.kernel.org/stable/c/9f3ccdc3f6ef10084ceb3a47df0961bec6196fd0\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nInput: appletouch - initialize work before device registration\\n\\nSyzbot has reported warning in __flush_work(). This warning is caused by\\nwork-\u003efunc == NULL, which means missing work initialization.\\n\\nThis may happen, since input_dev-\u003eclose() calls\\ncancel_work_sync(\u0026dev-\u003ework), but dev-\u003ework initalization happens _after_\\ninput_register_device() call.\\n\\nSo this patch moves dev-\u003ework initialization before registering input\\ndevice\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.4.298\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.296\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.261\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.224\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.170\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.90\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.13\", \"versionStartIncluding\": \"2.6.23\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16\", \"versionStartIncluding\": \"2.6.23\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:00:36.105Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-46932\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:00:36.105Z\", \"dateReserved\": \"2024-02-25T13:45:52.720Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-27T09:44:00.108Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…