{"id":"CVE-2022-49289","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-02-26T07:01:05.757","lastModified":"2026-08-04T10:17:43.170","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nuaccess: fix integer overflow on access_ok()\n\nThree architectures check the end of a user access against the\naddress limit without taking a possible overflow into account.\nPassing a negative length or another overflow in here returns\nsuccess when it should not.\n\nUse the most common correct implementation here, which optimizes\nfor a constant 'size' argument, and turns the common case into a\nsingle comparison."},{"lang":"es","value":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: uaccess: fix entire entiret overflow on access_ok() Tres arquitecturas comprueban el final de un acceso de usuario contra el límite de direcciones sin tener en cuenta un posible desbordamiento. Pasar una longitud negativa u otro desbordamiento aquí devuelve éxito cuando no debería. Utilice la implementación correcta más común aquí, que optimiza para un argumento de \"tamaño\" constante y convierte el caso común en una única comparación."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["arch/csky/include/asm/uaccess.h","arch/hexagon/include/asm/uaccess.h","arch/microblaze/include/asm/uaccess.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7567746e1c0d66ac0ef8a9d8816ca694462c7370","lessThan":"e65d28d4e9bf90a35ba79c06661a572a38391dec","versionType":"git","status":"affected"},{"version":"7567746e1c0d66ac0ef8a9d8816ca694462c7370","lessThan":"99801e2f457824955da4aadaa035913a6dede03a","versionType":"git","status":"affected"},{"version":"7567746e1c0d66ac0ef8a9d8816ca694462c7370","lessThan":"a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8","versionType":"git","status":"affected"},{"version":"7567746e1c0d66ac0ef8a9d8816ca694462c7370","lessThan":"222ca305c9fd39e5ed8104da25c09b2b79a516a8","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["arch/csky/include/asm/uaccess.h","arch/hexagon/include/asm/uaccess.h","arch/microblaze/include/asm/uaccess.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.2","status":"affected"},{"version":"0","lessThan":"3.2","versionType":"semver","status":"unaffected"},{"version":"5.15.32","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"5.16.18","lessThanOrEqual":"5.16.*","versionType":"semver","status":"unaffected"},{"version":"5.17.1","lessThanOrEqual":"5.17.*","versionType":"semver","status":"unaffected"},{"version":"5.18","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-190"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"5.15.32","matchCriteriaId":"00480024-DE11-483F-9FC2-2A54FC54891F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"5.16.18","matchCriteriaId":"C86410A0-E312-4F41-93E9-929EAFB31757"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.17:*:*:*:*:*:*:*","matchCriteriaId":"35799228-BFF6-4426-AD3B-F452EA83320F"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/222ca305c9fd39e5ed8104da25c09b2b79a516a8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/99801e2f457824955da4aadaa035913a6dede03a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e65d28d4e9bf90a35ba79c06661a572a38391dec","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}