iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() (Linux Linux)

CVE-2023-53476
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() This condition needs to match the previous "if (epcp->state == LISTEN) {" exactly to avoid a NULL dereference of either "listen_ep" or "ep". The problem is that "epcp" has been re-assigned so just testing "if (epcp->state == LISTEN) {" a second time is not sufficient.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 116aeb8873712ea559d26b0d9d88147af5c88db5 < 76e0396313c79ecd0df44ee3c18745cfac52b3e6 ; affected 116aeb8873712ea559d26b0d9d88147af5c88db5 < 24278dc380aab6a1aef0a75317f57ad4c2453cf6 ; affected 116aeb8873712ea559d26b0d9d88147af5c88db5 < dd55240e4364d64befcc575b0d33091881524f42 ; affected 116aeb8873712ea559d26b0d9d88147af5c88db5 < 4ca446b127c568b59cb8d9748b6f70499624bb18
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 5.15.99 ≤ 5.15.* ; unaffected 6.1.16 ≤ 6.1.* ; unaffected 6.2.3 ≤ 6.2.* ; unaffected 6.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD