net/x25: Fix skb leak in x25_lapb_receive_frame() (Linux Linux)

CVE-2022-49809
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/x25: Fix skb leak in x25_lapb_receive_frame() x25_lapb_receive_frame() using skb_copy() to get a private copy of skb, the new skb should be freed in the undersized/fragmented skb error handling path. Otherwise there is a memory leak.

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 cb101ed2c3c7c0224d16953fe77bfb9d6c2cb9df < fda0ba7c84b46d10947c687320804b9de149a921 ; affected cb101ed2c3c7c0224d16953fe77bfb9d6c2cb9df < dfcfbe4f2e4b2c81cff4e79b48502d97fda73118 ; affected cb101ed2c3c7c0224d16953fe77bfb9d6c2cb9df < 0ef17d966445358a55c5f4ccf2c73cca3e39192b ; affected cb101ed2c3c7c0224d16953fe77bfb9d6c2cb9df < e109b41870db995cae25dfaf0cc3922f9028b1a1 ; affected cb101ed2c3c7c0224d16953fe77bfb9d6c2cb9df < 9f00da9c866d506998bf0a3f699ec900730472da ; affected cb101ed2c3c7c0224d16953fe77bfb9d6c2cb9df < c8baf1fc248b2e88642f094fea9509a9bf98c5bb
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 4.9.334 ≤ 4.9.* ; unaffected 4.14.300 ≤ 4.14.* ; unaffected 4.19.267 ≤ 4.19.* ; unaffected 5.4.225 ≤ 5.4.*

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