CVE-2025-38092

ksmbd: use list_first_entry_or_null for opinfo_get_list()

HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.33 % · percentile 27 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use list_first_entry_or_null for opinfo_get_list() The list_first_entry() macro never returns NULL. If the list is empty then it returns an invalid pointer. Use list_first_entry_or_null() to check if the list is empty.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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 296cb5457cc6f4a754c4ae29855f8a253d52bcc6 < c78abb646ff823e7d22faad4cc0703d4484da9e8 ; affected d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 < 334da674b25fdb7a1a4d4b89dcd7795144fc7e11 ; affected d73686367ad68534257cd88a36ca3c52cb8b81d8 < cb7e06e9736d73007dc8dab7b353733bb37df86b ; affected 18b4fac5ef17f77fed9417d22210ceafd6525fc7 < 10379171f346e6f61d30d9949500a8de4336444a
Linux · Linuxaffected 6.6.88 < 6.6.93 ; affected 6.12.25 < 6.12.32 ; affected 6.14.4 < 6.14.10

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