can: j1939: j1939_send_one(): fix missing CAN header initialization (Linux Linux)

CVE-2022-49845
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: can: j1939: j1939_send_one(): fix missing CAN header initialization The read access to struct canxl_frame::len inside of a j1939 created skbuff revealed a missing initialization of reserved and later filled elements in struct can_frame. This patch initializes the 8 byte CAN header with zero.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9d71dd0c70099914fcd063135da3c580865e924c < d0513b095e1ef1469718564dec3fb3348556d0a8 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < f8e0edeaa0f2b860bdbbf0aafb4492533043d650 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 69e86c6268d59ceddd0abe9ae8f1f5296f316c3c ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 2719f82ad5d8199cf5f346ea8bb3998ad5323b72 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 3eb3d283e8579a22b81dd2ac3987b77465b2a22f
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.225 ≤ 5.4.* ; unaffected 5.10.155 ≤ 5.10.* ; unaffected 5.15.79 ≤ 5.15.* ; unaffected 6.0.9 ≤ 6.0.*

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