{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49954",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-06-18T10:57:27.382Z",
        "datePublished": "2025-06-18T11:00:16.928Z",
        "dateUpdated": "2026-05-11T19:09:53.509Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:09:53.509Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag\n\nsyzbot is reporting hung task at __input_unregister_device() [1], for\niforce_close() waiting at wait_event_interruptible() with dev->mutex held\nis blocking input_disconnect_device() from __input_unregister_device().\n\nIt seems that the cause is simply that commit c2b27ef672992a20 (\"Input:\niforce - wait for command completion when closing the device\") forgot to\ncall wake_up() after clear_bit().\n\nFix this problem by introducing a helper that calls clear_bit() followed\nby wake_up_all()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/input/joystick/iforce/iforce-serio.c",
                        "drivers/input/joystick/iforce/iforce-usb.c",
                        "drivers/input/joystick/iforce/iforce.h"
                    ],
                    "versions": [
                        {
                            "version": "c2b27ef672992a206e5b221b8676972dd840ffa5",
                            "lessThan": "d186c65599bff0222da37b9215784ddfe39f9e1b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c2b27ef672992a206e5b221b8676972dd840ffa5",
                            "lessThan": "b271090eea3899399e2adcf79c9c95367d472b03",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c2b27ef672992a206e5b221b8676972dd840ffa5",
                            "lessThan": "df1b53bc799d58f79701c465505a206c72ad4ab8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c2b27ef672992a206e5b221b8676972dd840ffa5",
                            "lessThan": "b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c2b27ef672992a206e5b221b8676972dd840ffa5",
                            "lessThan": "98e01215708b6d416345465c09dce2bd4868c67a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/input/joystick/iforce/iforce-serio.c",
                        "drivers/input/joystick/iforce/iforce-usb.c",
                        "drivers/input/joystick/iforce/iforce.h"
                    ],
                    "versions": [
                        {
                            "version": "2.6.33",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.33",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.213",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.142",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.66",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19.8",
                            "lessThanOrEqual": "5.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.4.213"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.10.142"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.15.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "5.19.8"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.33",
                                    "versionEndExcluding": "6.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03"
                },
                {
                    "url": "https://git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a"
                }
            ],
            "title": "Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}