{"id":"CVE-2025-38645","aliases":["CVE-2025-38645"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: Check device memory pointer before usage","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Check device memory pointer before usage\n\nAdd a NULL check before accessing device memory to prevent a crash if\ndev->dm allocation in mlx5_init_once() fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Check device memory pointer before usage\n\nAdd a NULL check before accessing device memory to prevent a crash if\ndev->dm allocation in mlx5_init_once() fails.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5: Verificar el puntero de memoria del dispositivo antes del uso. Agregar una verificación NULL antes de acceder a la memoria del dispositivo para evitar un bloqueo si falla la asignación dev-&gt;dm en mlx5_init_once().","source":"nvd"}],"published":"2025-08-22T16:00:50.665Z","modified":"2026-11-05T22:17:22.310Z","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-476"],"affected":[{"ranges":[{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"9053a69abfb5680c2a95292b96df5d204bc0776f","status":"affected"},{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"eebb225fe6c9103293807b8edabcbad59f9589bc","status":"affected"},{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"62d7cf455c887941ed6f105cd430ba04ee0b6c9f","status":"affected"},{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"4249f1307932f1b6bbb8b7eba60d82f0b7e44430","status":"affected"},{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"3046b011d368162b1b9ca9453eee0fea930e0a93","status":"affected"},{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"da899a1fd7c40e2e4302af1db7d0b8540fb22283","status":"affected"},{"type":"git","introduced":"c9b9dcb430b3cd0ad2b04c360c4e528d73430481","fixed":"70f238c902b8c0461ae6fbb8d1a0bbddc4350eea","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.148","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.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","introduced":"5.4","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.148"},{"status":"affected","introduced":"6.2","fixed":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9053a69abfb5680c2a95292b96df5d204bc0776f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eebb225fe6c9103293807b8edabcbad59f9589bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/62d7cf455c887941ed6f105cd430ba04ee0b6c9f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4249f1307932f1b6bbb8b7eba60d82f0b7e44430","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3046b011d368162b1b9ca9453eee0fea930e0a93","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da899a1fd7c40e2e4302af1db7d0b8540fb22283","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70f238c902b8c0461ae6fbb8d1a0bbddc4350eea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:05:52.690Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38645","url":"https://www.cve.org/CVERecord?id=CVE-2025-38645","licence":"CVE Terms of Use","modified":"2026-11-05T21:12:50.628Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38645","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38645","licence":"Public domain","modified":"2026-11-05T22:17:22.310Z"}],"updatedAt":"2026-11-25T22:59:03.539Z","epss":{"score":0.00265,"percentile":0.11353,"date":"2026-11-30T12:00:22.000Z"}}