{"id":"CVE-2022-48938","aliases":["CVE-2022-48938"],"related":[],"kind":"vulnerability","state":"published","title":"CDC-NCM: avoid overflow in sanity checking","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nCDC-NCM: avoid overflow in sanity checking\n\nA broken device may give an extreme offset like 0xFFF0\nand a reasonable length for a fragment. In the sanity\ncheck as formulated now, this will create an integer\noverflow, defeating the sanity check. Both offset\nand offset + len need to be checked in such a manner\nthat no overflow can occur.\nAnd those quantities should be unsigned.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nCDC-NCM: avoid overflow in sanity checking\n\nA broken device may give an extreme offset like 0xFFF0\nand a reasonable length for a fragment. In the sanity\ncheck as formulated now, this will create an integer\noverflow, defeating the sanity check. Both offset\nand offset + len need to be checked in such a manner\nthat no overflow can occur.\nAnd those quantities should be unsigned.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: CDC-NCM: evitar desbordamiento en la comprobación de cordura Un dispositivo roto puede dar un desplazamiento extremo como 0xFFF0 y una longitud razonable para un fragmento. En la verificación de cordura tal como está formulada ahora, esto creará un desbordamiento de enteros, anulando la verificación de cordura. Tanto el desplazamiento como el desplazamiento + len deben comprobarse de tal manera que no pueda producirse un desbordamiento. Y esas cantidades deberían estar sin firmar.","source":"nvd"}],"published":"2024-08-22T03:31:33.381Z","modified":"2026-06-17T05:16:39.763Z","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-190"],"affected":[{"ranges":[{"type":"git","introduced":"4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6","fixed":"a612395c7631918e0e10ea48b9ce5ab4340f26a6","status":"affected"},{"type":"git","introduced":"a270ca35a9499b58366d696d3290eaa4697a42db","fixed":"9957fbf34f52a4d8945d1bf39aae400ef9a11246","status":"affected"},{"type":"git","introduced":"0fa81b304a7973a499f844176ca031109487dd31","fixed":"69560efa001397ebb8dc1c3e6a3ce00302bb9f7f","status":"affected"},{"type":"git","introduced":"0fa81b304a7973a499f844176ca031109487dd31","fixed":"49909c9f8458cacb5b241106cba65aba5a6d8f4c","status":"affected"},{"type":"git","introduced":"0fa81b304a7973a499f844176ca031109487dd31","fixed":"7b737e47b87589031f0d4657f6d7b0b770474925","status":"affected"},{"type":"git","introduced":"0fa81b304a7973a499f844176ca031109487dd31","fixed":"8d2b1a1ec9f559d30b724877da4ce592edc41fdc","status":"affected"},{"type":"git","version":"8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7","status":"affected"},{"type":"semver","introduced":"4.19.285","fixed":"4.19.323","status":"affected"},{"type":"semver","introduced":"5.4.245","fixed":"5.4.285","status":"affected"},{"type":"semver","introduced":"4.14.317","fixed":"4.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"4.19.323","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.103","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.26","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.12","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","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","fixed":"5.10.103"},{"status":"affected","introduced":"5.11","fixed":"5.15.26"},{"status":"affected","introduced":"5.16","fixed":"5.16.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a612395c7631918e0e10ea48b9ce5ab4340f26a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9957fbf34f52a4d8945d1bf39aae400ef9a11246","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69560efa001397ebb8dc1c3e6a3ce00302bb9f7f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49909c9f8458cacb5b241106cba65aba5a6d8f4c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b737e47b87589031f0d4657f6d7b0b770474925","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d2b1a1ec9f559d30b724877da4ce592edc41fdc","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:32:27.711Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48938","url":"https://www.cve.org/CVERecord?id=CVE-2022-48938","licence":"CVE Terms of Use","modified":"2026-05-23T15:21:07.103Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48938","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48938","licence":"Public domain","modified":"2026-06-17T05:16:39.763Z"}],"updatedAt":"2026-11-25T22:58:19.973Z","epss":{"score":0.00215,"percentile":0.12573,"date":"2026-12-02T12:00:21.000Z"}}