In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Check device memory pointer before usage
Add a NULL check before accessing device memory to prevent a crash if dev->dm allocation in mlx5initonce() fails.
[
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"13879226337807587806053302109111369838",
"196917668422270840134005161357925640652",
"177258699006285662275569909336567653218",
"34312307911950975084177207174002245677",
"185349478513080901298818591360330214564",
"307394941343227124128276783382819714491",
"73158702816355456798303325064820293761",
"157653302047276665530241300337976847111"
]
},
"id": "CVE-2025-38645-0d86b1c9",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da899a1fd7c40e2e4302af1db7d0b8540fb22283",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"60025159601880190572771821092572847928",
"149697409445316990491422935977685466055",
"329015042456259146682839954518102457913",
"177015833629269431864300939849984408264",
"148384770363555628912969597552659104989"
]
},
"id": "CVE-2025-38645-1b199938",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebb225fe6c9103293807b8edabcbad59f9589bc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"268697465573325201491704048357091664147",
"53105478734814269863597208102445974972",
"289553583470627690526116625808804433914",
"132247520294617023167049532843251430796"
]
},
"id": "CVE-2025-38645-3ba3382a",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebb225fe6c9103293807b8edabcbad59f9589bc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"116318487262581666932407975754208199368",
"149697409445316990491422935977685466055",
"329015042456259146682839954518102457913",
"177015833629269431864300939849984408264",
"148384770363555628912969597552659104989"
]
},
"id": "CVE-2025-38645-56a81b92",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9053a69abfb5680c2a95292b96df5d204bc0776f",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c",
"function": "mlx5_dm_create"
},
"digest": {
"function_hash": "173337461786334291509133093616852256078",
"length": 1130.0
},
"id": "CVE-2025-38645-6ce723e1",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9053a69abfb5680c2a95292b96df5d204bc0776f",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c",
"function": "mlx5_init_once"
},
"digest": {
"function_hash": "189816327942718882476008803533796155385",
"length": 3088.0
},
"id": "CVE-2025-38645-708ebd6c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebb225fe6c9103293807b8edabcbad59f9589bc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"268697465573325201491704048357091664147",
"53105478734814269863597208102445974972",
"289553583470627690526116625808804433914",
"132247520294617023167049532843251430796"
]
},
"id": "CVE-2025-38645-72d7b647",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4249f1307932f1b6bbb8b7eba60d82f0b7e44430",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"13879226337807587806053302109111369838",
"196917668422270840134005161357925640652",
"177258699006285662275569909336567653218",
"34312307911950975084177207174002245677",
"185349478513080901298818591360330214564",
"307394941343227124128276783382819714491",
"73158702816355456798303325064820293761",
"157653302047276665530241300337976847111"
]
},
"id": "CVE-2025-38645-832a121f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebb225fe6c9103293807b8edabcbad59f9589bc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"60025159601880190572771821092572847928",
"149697409445316990491422935977685466055",
"329015042456259146682839954518102457913",
"177015833629269431864300939849984408264",
"148384770363555628912969597552659104989"
]
},
"id": "CVE-2025-38645-85e38d39",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da899a1fd7c40e2e4302af1db7d0b8540fb22283",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c",
"function": "handle_alloc_dm_memic"
},
"digest": {
"function_hash": "122155892773620992066887277405481421010",
"length": 1540.0
},
"id": "CVE-2025-38645-86c22e09",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebb225fe6c9103293807b8edabcbad59f9589bc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"60025159601880190572771821092572847928",
"149697409445316990491422935977685466055",
"329015042456259146682839954518102457913",
"177015833629269431864300939849984408264",
"148384770363555628912969597552659104989"
]
},
"id": "CVE-2025-38645-8f2cd407",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4249f1307932f1b6bbb8b7eba60d82f0b7e44430",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c",
"function": "mlx5_init_once"
},
"digest": {
"function_hash": "97025931103010394553201754444541538942",
"length": 3134.0
},
"id": "CVE-2025-38645-94012535",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4249f1307932f1b6bbb8b7eba60d82f0b7e44430",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"13879226337807587806053302109111369838",
"196917668422270840134005161357925640652",
"177258699006285662275569909336567653218",
"34312307911950975084177207174002245677",
"181889667060847377832411603486781574037",
"307394941343227124128276783382819714491",
"73158702816355456798303325064820293761",
"157653302047276665530241300337976847111"
]
},
"id": "CVE-2025-38645-9402292b",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9053a69abfb5680c2a95292b96df5d204bc0776f",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c",
"function": "mlx5_init_once"
},
"digest": {
"function_hash": "83188835314068132498363400043631351467",
"length": 2945.0
},
"id": "CVE-2025-38645-a443d82c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9053a69abfb5680c2a95292b96df5d204bc0776f",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"268697465573325201491704048357091664147",
"53105478734814269863597208102445974972",
"289553583470627690526116625808804433914",
"132247520294617023167049532843251430796"
]
},
"id": "CVE-2025-38645-a771dc06",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da899a1fd7c40e2e4302af1db7d0b8540fb22283",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c",
"function": "handle_alloc_dm_memic"
},
"digest": {
"function_hash": "122155892773620992066887277405481421010",
"length": 1540.0
},
"id": "CVE-2025-38645-af020ee9",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da899a1fd7c40e2e4302af1db7d0b8540fb22283",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c",
"function": "mlx5_dm_create"
},
"digest": {
"function_hash": "45812212121469849365163688622559796624",
"length": 1952.0
},
"id": "CVE-2025-38645-b3e5a77e",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da899a1fd7c40e2e4302af1db7d0b8540fb22283",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/main.c",
"function": "mlx5_init_once"
},
"digest": {
"function_hash": "311819508316668216968737789883935804333",
"length": 3263.0
},
"id": "CVE-2025-38645-b42595d5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da899a1fd7c40e2e4302af1db7d0b8540fb22283",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c",
"function": "handle_alloc_dm_memic"
},
"digest": {
"function_hash": "122155892773620992066887277405481421010",
"length": 1540.0
},
"id": "CVE-2025-38645-b467cacb",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4249f1307932f1b6bbb8b7eba60d82f0b7e44430",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c",
"function": "mlx5_dm_create"
},
"digest": {
"function_hash": "319638164820127545547857572609050190951",
"length": 1566.0
},
"id": "CVE-2025-38645-c89c2feb",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebb225fe6c9103293807b8edabcbad59f9589bc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"13879226337807587806053302109111369838",
"196917668422270840134005161357925640652",
"177258699006285662275569909336567653218",
"34312307911950975084177207174002245677",
"185349478513080901298818591360330214564",
"307394941343227124128276783382819714491",
"73158702816355456798303325064820293761",
"157653302047276665530241300337976847111"
]
},
"id": "CVE-2025-38645-ce120ab2",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4249f1307932f1b6bbb8b7eba60d82f0b7e44430",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c",
"function": "mlx5_dm_create"
},
"digest": {
"function_hash": "45812212121469849365163688622559796624",
"length": 1952.0
},
"id": "CVE-2025-38645-e297c392",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4249f1307932f1b6bbb8b7eba60d82f0b7e44430",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c",
"function": "handle_alloc_dm_memic"
},
"digest": {
"function_hash": "122155892773620992066887277405481421010",
"length": 1540.0
},
"id": "CVE-2025-38645-e4950654",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9053a69abfb5680c2a95292b96df5d204bc0776f",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/mlx5/dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"268697465573325201491704048357091664147",
"53105478734814269863597208102445974972",
"289553583470627690526116625808804433914",
"132247520294617023167049532843251430796"
]
},
"id": "CVE-2025-38645-f7c5e18b",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9053a69abfb5680c2a95292b96df5d204bc0776f",
"signature_version": "v1"
}
]