{"id":"CVE-2022-49790","published":"2025-05-01T14:09:22Z","modified":"2026-05-11T19:06:50Z","title":"Input: iforce - invert valid length check when fetching device IDs","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.10402,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3","tags":[]},{"url":"https://git.kernel.org/stable/c/24cc679abbf31477d0cc6106ec83c2fbae6b3cdf","tags":[]},{"url":"https://git.kernel.org/stable/c/fdd57c20d4408cac3c3c535c120d244e083406c9","tags":[]},{"url":"https://git.kernel.org/stable/c/6365569d62a75ddf53fb0c2936c16587a365984c","tags":[]},{"url":"https://git.kernel.org/stable/c/b8ebf250997c5fb253582f42bfe98673801ebebd","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.08}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6ac0aec6b0a651d64eef759fddf17d9145b51033, < 5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3",">= 6ac0aec6b0a651d64eef759fddf17d9145b51033, < 24cc679abbf31477d0cc6106ec83c2fbae6b3cdf",">= 6ac0aec6b0a651d64eef759fddf17d9145b51033, < fdd57c20d4408cac3c3c535c120d244e083406c9",">= 6ac0aec6b0a651d64eef759fddf17d9145b51033, < 6365569d62a75ddf53fb0c2936c16587a365984c",">= 6ac0aec6b0a651d64eef759fddf17d9145b51033, < b8ebf250997c5fb253582f42bfe98673801ebebd"]},{"vendor":"Linux","product":"Linux","versions":["5.3"]}],"euvd":{"id":"EUVD-2025-12986","exploited":false,"provenance":"source"}}