net: usb: lan78xx: Limit packet length to skb->len (Linux Linux)

CVE-2023-53068
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: usb: lan78xx: Limit packet length to skb->len Packet length retrieved from descriptor may be larger than the actual socket buffer length. In such case the cloned skb passed up the network stack will leak kernel memory contents. Additionally prevent integer underflow when size is less than ETH_FCS_LEN.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

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 55d7de9de6c30adce8d675c7ce513e283829c2ff < 83de34967473ed31d276381373713cc2869a42e5 ; affected 55d7de9de6c30adce8d675c7ce513e283829c2ff < 44b9ed73369fc5ec85dd2ee487e986301792a82d ; affected 55d7de9de6c30adce8d675c7ce513e283829c2ff < 7f247f5a2c18b3f21206cdd51193df4f38e1b9f5
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 6.1.22 ≤ 6.1.* ; unaffected 6.2.9 ≤ 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