CVE-2024-26855
JSON

5.5medium

net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink() The function ice_bridge_setlink() may encounter a NULL pointer dereference if nlmsg_find_attr() returns NULL and br_spec is dereferenced subsequently in nla_for_each_nested(). To address this issue, add a check to ensure that br_spec is not NULL before proceeding with the nested attribute iteration.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before d9fefc51133107e59d192d773be86c1150cfeebb, from b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before 37fe99016b12d32100ce670216816dba6c48b309, from b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before 8d95465d9a424200485792858c5b3be54658ce19, from b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before afdd29726a6de4ba27cd15590661424c888dc596, from b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before 1a770927dc1d642b22417c3e668c871689fc58b3, from b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before 0e296067ae0d74a10b4933601f9aa9f0ec8f157f, from b1edc14a3fbfe0154a2aecb8bb9775c3012cb6e2 before 06e456a05d669ca30b224b8ed962421770c1496c, 4.20
Not affected: before 4.20, from 5.4.272 up to 5.4.*, from 5.10.213 up to 5.10.*, from 5.15.152 up to 5.15.*, from 6.1.82 up to 6.1.*, from 6.6.22 up to 6.6.*
CVE List
linux linux_kernelfrom 4.20 before 5.4.272, from 5.5 before 5.10.213, from 5.11 before 5.15.152, from 5.16 before 6.1.82, from 6.2 before 6.6.22, from 6.7 before 6.7.10, 6.8NVD
debian debian_linux10.0NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink() The function ice_bridge_setlink() may encounter a NULL pointer dereference if nlmsg_find_attr() returns NULL and br_spec is dereferenced subsequently in nla_for_each_nested(). To address this issue, add a check to ensure that br_spec is not NULL before proceeding with the nested attribute iteration.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: ice: corrige una posible desreferencia de puntero NULL en ice_bridge_setlink() La función ice_bridge_setlink() puede encontrar una desreferencia de puntero NULL si nlmsg_find_attr() devuelve NULL y br_spec se desreferencia posteriormente en nla_for_each_nested( ). Para solucionar este problema, agregue una verificación para garantizar que br_spec no sea NULL antes de continuar con la iteración del atributo anidado.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26855 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-26855 changed 2026-10-15Public domain