CVE-2022-48632

i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()

State
Published
Severity
7.8 High
Published
Apr 28, 2024
Updated
Aug 5, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()

memcpy() is called in a loop while 'operation->length' upper bound is not checked and 'data_idx' also increments.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b5b5b32081cd206baa6e58cca7f112d9723785d6 to before 48ee0a864d1af02eea98fc825cc230d61517a71eAffected
  • b5b5b32081cd206baa6e58cca7f112d9723785d6 to before dc2a0c587006f29b724069740c48654b9dcaebd2Affected
  • b5b5b32081cd206baa6e58cca7f112d9723785d6 to before 3b5ab5fbe69ebbee5692c72b05071a43fc0655d8Affected
  • b5b5b32081cd206baa6e58cca7f112d9723785d6 to before de24aceb07d426b6f1c59f33889d6a964770547bAffected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.146 through 5.10.*Not affected
  • 5.15.71 through 5.15.*Not affected
  • 5.19.12 through 5.19.*Not affected
  • 6.0 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.