{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49790","id":"CVE-2022-49790","title":"Input: iforce - invert valid length check when fetching device IDs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: iforce - invert valid length check when fetching device IDs\n\nsyzbot is reporting uninitialized value at iforce_init_device() [1], for\ncommit 6ac0aec6b0a6 (\"Input: iforce - allow callers supply data buffer\nwhen fetching device IDs\") is checking that valid length is shorter than\nbytes to read. Since iforce_get_id_packet() st","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: iforce - invert valid length check when fetching device IDs\n\nsyzbot is reporting uninitialized value at iforce_init_device() [1], for\ncommit 6ac0aec6b0a6 (\"Input: iforce - allow callers supply data buffer\nwhen fetching device IDs\") is checking that valid length is shorter than\nbytes to read. Since iforce_get_id_packet() stores valid length when\nreturning 0, the caller needs to check that valid length is longer than or\nequals to bytes to read.","published":"2025-05-01T14:09:22.158Z","updated":"2026-10-28T02:30:21.409856329Z","reserved":"2025-05-01T14:05:17.224Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6ac0aec6b0a651d64eef759fddf17d9145b51033","lessThan":"5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3","status":"affected","versionType":"git"},{"version":"6ac0aec6b0a651d64eef759fddf17d9145b51033","lessThan":"24cc679abbf31477d0cc6106ec83c2fbae6b3cdf","status":"affected","versionType":"git"},{"version":"6ac0aec6b0a651d64eef759fddf17d9145b51033","lessThan":"fdd57c20d4408cac3c3c535c120d244e083406c9","status":"affected","versionType":"git"},{"version":"6ac0aec6b0a651d64eef759fddf17d9145b51033","lessThan":"6365569d62a75ddf53fb0c2936c16587a365984c","status":"affected","versionType":"git"},{"version":"6ac0aec6b0a651d64eef759fddf17d9145b51033","lessThan":"b8ebf250997c5fb253582f42bfe98673801ebebd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.3","status":"unaffected","versionType":"semver"},{"version":"5.4.225","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.156","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.80","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.10","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/24cc679abbf31477d0cc6106ec83c2fbae6b3cdf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fdd57c20d4408cac3c3c535c120d244e083406c9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6365569d62a75ddf53fb0c2936c16587a365984c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b8ebf250997c5fb253582f42bfe98673801ebebd","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49790.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49790","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00202,"epssPercentile":0.10187,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49790","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49790","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49790","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49790","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}