{"id":"CVE-2022-49199","aliases":["CVE-2022-49199"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()\n\nThis code checks \"index\" for an upper bound but it does not check for\nnegatives.  Change the type to unsigned to prevent underflows.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()\n\nThis code checks \"index\" for an upper bound but it does not check for\nnegatives.  Change the type to unsigned to prevent underflows.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/nldev: evitar desbordamientos por debajo de la capacidad en nldev_stat_set_counter_dynamic_doit() Este código comprueba el \"índice\" en busca de un límite superior, pero no comprueba los valores negativos. Cambie el tipo a unsigned para evitar desbordamientos por debajo de la capacidad.","source":"nvd"}],"published":"2025-02-26T01:55:42.120Z","modified":"2026-06-17T05:17:21.737Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-191"],"affected":[{"ranges":[{"type":"git","introduced":"3c3c1f1416392382faa0238e76a70d7810aab2ef","fixed":"f6dd8669b8299a3a536cd92a7069152a7704da1d","status":"affected"},{"type":"git","introduced":"3c3c1f1416392382faa0238e76a70d7810aab2ef","fixed":"2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771","status":"affected"},{"type":"git","introduced":"3c3c1f1416392382faa0238e76a70d7810aab2ef","fixed":"87e0eacb176f9500c2063d140c0a1d7fa51ab8a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"5.16.19","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.2","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"5.16.19"},{"status":"affected","introduced":"5.17","fixed":"5.17.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f6dd8669b8299a3a536cd92a7069152a7704da1d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87e0eacb176f9500c2063d140c0a1d7fa51ab8a5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49199","url":"https://www.cve.org/CVERecord?id=CVE-2022-49199","licence":"CVE Terms of Use","modified":"2026-05-11T18:55:03.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49199","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49199","licence":"Public domain","modified":"2026-06-17T05:17:21.737Z"}],"updatedAt":"2026-11-25T22:58:20.276Z","epss":{"score":0.00265,"percentile":0.19704,"date":"2026-12-02T12:00:21.000Z"}}