CVE-2022-49845

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

State
Published
Severity
5.5 Medium
Published
May 1, 2025
Updated
May 11, 2026
Reserved
May 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
LinuxLinux
  • 9d71dd0c70099914fcd063135da3c580865e924c to before d0513b095e1ef1469718564dec3fb3348556d0a8Affected
  • 9d71dd0c70099914fcd063135da3c580865e924c to before f8e0edeaa0f2b860bdbbf0aafb4492533043d650Affected
  • 9d71dd0c70099914fcd063135da3c580865e924c to before 69e86c6268d59ceddd0abe9ae8f1f5296f316c3cAffected
  • 9d71dd0c70099914fcd063135da3c580865e924c to before 2719f82ad5d8199cf5f346ea8bb3998ad5323b72Affected
  • 9d71dd0c70099914fcd063135da3c580865e924c to before 3eb3d283e8579a22b81dd2ac3987b77465b2a22fAffected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.4.225 through 5.4.*Not affected
  • 5.10.155 through 5.10.*Not affected
  • 5.15.79 through 5.15.*Not affected
  • 6.0.9 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.