power: supply: Fix null pointer dereference in smb2_probe (Linux Linux)

CVE-2023-52465
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: Fix null pointer dereference in smb2_probe devm_kasprintf and devm_kzalloc return a pointer to dynamically allocated memory which can be NULL upon failure.

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 8648aeb5d7b70e13264ff5f444f22081d37d4670 < e2717302fbc20f148bcda362facee0444b949a3a ; affected 8648aeb5d7b70e13264ff5f444f22081d37d4670 < bd3d2ec447ede9da822addf3960a5f4275e3ae76 ; affected 8648aeb5d7b70e13264ff5f444f22081d37d4670 < 88f04bc3e737155e13caddf0ba8ed19db87f0212
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.14 ≤ 6.6.* ; unaffected 6.7.2 ≤ 6.7.* ; unaffected 6.8 ≤ *

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